summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:15:21 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:15:21 +0000
commitb0c952a6b07d622a4ff3fc213605357781217370 (patch)
tree688c9dd36563651248eed91453243e221567e883 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
parenteff7792da78754417d26e615f49e610d8c8ab999 (diff)
downloadmocca-b0c952a6b07d622a4ff3fc213605357781217370.tar.gz
mocca-b0c952a6b07d622a4ff3fc213605357781217370.tar.bz2
mocca-b0c952a6b07d622a4ff3fc213605357781217370.zip
Use localized strings for lang selection
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@224 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.java11
1 files changed, 7 insertions, 4 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 46ff7977..e570a773 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
@@ -15,6 +15,8 @@
*/
package at.asit.pdfover.gui;
+import java.util.Locale;
+
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Display;
@@ -24,7 +26,10 @@ import org.eclipse.swt.widgets.Display;
public class Constants {
/** Current display - used for Colors */
- static private Display display = Display.getCurrent();
+ private static Display display = Display.getCurrent();
+
+ /** Supported locales */
+ public static final Locale[] SUPPORTED_LOCALES = { Locale.ENGLISH, Locale.GERMAN };
/** Main window height */
public static final int MAINWINDOW_HEIGHT = 780;
@@ -50,9 +55,7 @@ public class Constants {
/** Main bar inactive text color */
public static final Color MAINBAR_INACTIVE_TEXTCOLOR = new Color(display, 0x40, 0x40, 0x40);
- /**
- * Drag and Drop background color
- */
+ /** Drop background color */
public static final Color DROP_BACK = new Color(display, 0xFF, 0xFF, 0xFF);
/** Drop border color */