summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-06-28 21:56:12 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-06-28 21:56:12 +0000
commitab02a5cbcb6d4255a7ee816ec442a4ca8440d752 (patch)
tree1320d708afa579bebc191e272b5ee3ade7e8c367 /pdf-over-gui/src/main
parent067697f5ffb9464aa4ec5d8d334434bc0f6f285a (diff)
downloadmocca-ab02a5cbcb6d4255a7ee816ec442a4ca8440d752.tar.gz
mocca-ab02a5cbcb6d4255a7ee816ec442a4ca8440d752.tar.bz2
mocca-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')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java4
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();
}