summaryrefslogtreecommitdiff
path: root/pdf-over-gui
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
parent067697f5ffb9464aa4ec5d8d334434bc0f6f285a (diff)
downloadpdf-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')
-rw-r--r--pdf-over-gui/pom.xml2
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java4
2 files changed, 6 insertions, 0 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index 97730adb..6e890114 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -96,6 +96,8 @@
<archive>
<manifest>
<addClasspath>true</addClasspath>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<classpathPrefix />
<mainClass>at.asit.pdfover.gui.Main</mainClass>
</manifest>
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();
}