summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:28:04 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:28:04 +0000
commitc2602f46edd68e81cf66fffca3d0dccfdfab4ddc (patch)
treeeaf399ea3fa1844c13f707a70f8950570ddd81f7 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites
parent07c7efdfe42ccde13d777df7a6ba0a5c3e335b4f (diff)
downloadpdf-over-c2602f46edd68e81cf66fffca3d0dccfdfab4ddc.tar.gz
pdf-over-c2602f46edd68e81cf66fffca3d0dccfdfab4ddc.tar.bz2
pdf-over-c2602f46edd68e81cf66fffca3d0dccfdfab4ddc.zip
Configuration overlay added
* Commandline configuration will be stored in an overlay * This overlay won't be shown on the configuration page * This overlay won't be saved * Also slightly reworked CLI Argument creation git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@336 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
index 706ac1f6..88fcfc0d 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
@@ -35,10 +35,10 @@ import at.asit.pdfover.gui.exceptions.InvalidPortException;
import at.asit.pdfover.gui.exceptions.ResumableException;
import at.asit.pdfover.gui.utils.Messages;
import at.asit.pdfover.gui.workflow.ConfigManipulator;
-import at.asit.pdfover.gui.workflow.ConfigProvider;
import at.asit.pdfover.gui.workflow.ConfigurationContainer;
import at.asit.pdfover.gui.workflow.ConfigurationContainerImpl;
import at.asit.pdfover.gui.workflow.PDFSigner;
+import at.asit.pdfover.gui.workflow.PersistentConfigProvider;
import at.asit.pdfover.gui.workflow.states.State;
import at.asit.pdfover.signator.SignaturePosition;
@@ -212,7 +212,7 @@ public class ConfigurationComposite extends StateComposite {
/**
* configuration provider
*/
- ConfigProvider configProvider = null;
+ PersistentConfigProvider configProvider = null;
/**
* simple configuration composite
@@ -271,7 +271,7 @@ public class ConfigurationComposite extends StateComposite {
*
* @param provider
*/
- public void setConfigProvider(ConfigProvider provider) {
+ public void setConfigProvider(PersistentConfigProvider provider) {
this.configProvider = provider;
if (this.configProvider != null) {
@@ -295,28 +295,28 @@ public class ConfigurationComposite extends StateComposite {
this.configurationContainer.setSignLocale(this.configProvider.getSignLocale());
this.configurationContainer.setDefaultBKU(this.configProvider
- .getDefaultBKU());
+ .getDefaultBKUPersistent());
try {
this.configurationContainer.setEmblem(this.configProvider
- .getDefaultEmblem());
+ .getDefaultEmblemPersistent());
} catch (InvalidEmblemFile e) {
log.error("Failed to set emblem!", e); //$NON-NLS-1$
}
try {
this.configurationContainer.setMobileNumber(this.configProvider
- .getDefaultMobileNumber());
+ .getDefaultMobileNumberPersistent());
} catch (InvalidNumberException e) {
log.error("Failed to set mobile phone number!", e); //$NON-NLS-1$
}
this.configurationContainer.setOutputFolder(this.configProvider
- .getDefaultOutputFolder());
+ .getDefaultOutputFolderPersistent());
this.configurationContainer.setProxyHost(this.configProvider
- .getProxyHost());
+ .getProxyHostPersistent());
try {
this.configurationContainer.setProxyPort(this.configProvider
- .getProxyPort());
+ .getProxyPortPersistent());
} catch (InvalidPortException e) {
log.error("Failed to set proxy port!", e); //$NON-NLS-1$
}