diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:27:20 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:27:20 +0000 |
commit | 1dafb1445de6728a339c9265c678fd2484bd7dc4 (patch) | |
tree | 090f99d88e10003bb9efe856303f27c987ab29c4 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigManipulator.java | |
parent | f5776bbea82a2d610f7c088ebb8727288bb55729 (diff) | |
download | pdf-over-1dafb1445de6728a339c9265c678fd2484bd7dc4.tar.gz pdf-over-1dafb1445de6728a339c9265c678fd2484bd7dc4.tar.bz2 pdf-over-1dafb1445de6728a339c9265c678fd2484bd7dc4.zip |
Make main window size configurable
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@331 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigManipulator.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigManipulator.java | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigManipulator.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigManipulator.java index 8784dc02..68922802 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigManipulator.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigManipulator.java @@ -18,11 +18,13 @@ package at.asit.pdfover.gui.workflow; import java.io.IOException; import java.util.Locale; +import org.eclipse.swt.graphics.Point; + import at.asit.pdfover.signator.BKUs; import at.asit.pdfover.signator.SignaturePosition; /** - * + * An interface for setting the configuration */ public interface ConfigManipulator { /** @@ -30,86 +32,92 @@ public interface ConfigManipulator { * @param bku the bku type */ public void setDefaultBKU(BKUs bku); - + /** * Sets the default signature position * * @param signaturePosition the default signature position */ public void setDefaultSignaturePosition(SignaturePosition signaturePosition); - + /** * Sets the signature placeholder transparency * * @param transparency the signature placeholder transparency */ void setPlaceholderTransparency(int transparency); - + /** * Sets the default mobile number * @param number the default mobile number */ public void setDefaultMobileNumber(String number); - + /** * Sets the default password * @param password the default password */ public void setDefaultPassword(String password); - + /** * Sets the default emblem * * @param emblem the default emblem */ public void setDefaultEmblem(String emblem); - + /** * Sets the proxy host * @param host the proxy host */ public void setProxyHost(String host); - + /** * Sets the proxy port * * @param port the proxy port */ public void setProxyPort(int port); - + /** * Sets the configuration file * @param configurationFile */ public void setConfigurationFile(String configurationFile); - + /** * Sets the default output folder * @param outputFolder the default output folder */ public void setDefaultOutputFolder(String outputFolder); - + /** * Sets the signature note text * @param note the signature note text */ public void setSignatureNote(String note); - + /** * Saves the current configuration to the current configuration file * @throws IOException */ public void saveCurrentConfiguration() throws IOException; - + /** - * Sets the locale to be used! + * Sets the locale to be used * @param locale the locale */ public void setLocale(Locale locale); - + /** - * Sets the locale to be used! - * @param locale the locale + * Sets the signature locale to be used + * @param locale the signature locale */ public void setSignLocale(Locale locale); + + /** + * Sets the default main window size + * @param size a Point describing the size + */ + public void setMainWindowSize(Point size); } |