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/Constants.java | |
parent | f5776bbea82a2d610f7c088ebb8727288bb55729 (diff) | |
download | mocca-1dafb1445de6728a339c9265c678fd2484bd7dc4.tar.gz mocca-1dafb1445de6728a339c9265c678fd2484bd7dc4.tar.bz2 mocca-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/Constants.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java index 4819e00a..2ce3171b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java @@ -33,10 +33,10 @@ public class Constants { public static final Locale[] SUPPORTED_LOCALES = { Locale.GERMAN, Locale.ENGLISH }; /** Main window height */ - public static final int MAINWINDOW_HEIGHT = 780; + public static final int DEFAULT_MAINWINDOW_HEIGHT = 780; /** Main window width */ - public static final int MAINWINDOW_WIDTH = 600; + public static final int DEFAULT_MAINWINDOW_WIDTH = 600; /** Main bar height */ public static final int MAINBAR_HEIGHT = 60; @@ -141,4 +141,6 @@ public class Constants { /** The output folder config parameter */ public static final String CFG_OUTPUT_FOLDER = "OUTPUT_FOLDER"; //$NON-NLS-1$ + /** The main window size. (Format: width,height) */ + public static final String CFG_MAINWINDOW_SIZE = "MAINWINDOW_SIZE"; //$NON-NLS-1$ } |