diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2014-01-27 17:59:46 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2014-01-27 17:59:46 +0000 |
commit | 161af59764d0e4df632ace57c6de9d02ae7d3e5d (patch) | |
tree | 62df24fe1f648e77ce79dd74a26210756bfca3fe /pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java | |
parent | 66ebe9d3cf72e89ed308d8100dda8dbb83da7628 (diff) | |
download | mocca-161af59764d0e4df632ace57c6de9d02ae7d3e5d.tar.gz mocca-161af59764d0e4df632ace57c6de9d02ae7d3e5d.tar.bz2 mocca-161af59764d0e4df632ace57c6de9d02ae7d3e5d.zip |
Make application name a constant
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@479 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 | 7 |
1 files changed, 7 insertions, 0 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 d95fd000..a9492f0e 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 @@ -30,6 +30,13 @@ import at.asit.pdfover.gui.workflow.states.mobilebku.MobileBKUs; */ public class Constants { + /** Application name */ + public static final String APP_NAME = "PDF-Over"; //$NON-NLS-1$ + + static { + // Has to be set before (implicitly) initializing Display + Display.setAppName(APP_NAME); + } /** Current display - used for Colors */ private static Display display = Display.getCurrent(); |