diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-06-28 21:56:12 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-06-28 21:56:12 +0000 |
commit | ab02a5cbcb6d4255a7ee816ec442a4ca8440d752 (patch) | |
tree | 1320d708afa579bebc191e272b5ee3ade7e8c367 /pdf-over-gui/src/main/java/at | |
parent | 067697f5ffb9464aa4ec5d8d334434bc0f6f285a (diff) | |
download | pdf-over-ab02a5cbcb6d4255a7ee816ec442a4ca8440d752.tar.gz pdf-over-ab02a5cbcb6d4255a7ee816ec442a4ca8440d752.tar.bz2 pdf-over-ab02a5cbcb6d4255a7ee816ec442a4ca8440d752.zip |
Add version number to config screen title
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@462 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 4 |
1 files changed, 4 insertions, 0 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 f9dd9c5e..c4691571 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 @@ -179,6 +179,10 @@ public class ConfigurationComposite extends StateComposite { this.containerComposite.setLayout(this.compositeStack); this.compositeStack.topControl = tabFolder; + String version = getClass().getPackage().getImplementationVersion(); + version = (version == null ? "" : " v" + version); //$NON-NLS-1$ //$NON-NLS-2$ + getShell().setText(Messages.getString("main.title") + version); //$NON-NLS-1$ + this.doLayout(); } |