From ab02a5cbcb6d4255a7ee816ec442a4ca8440d752 Mon Sep 17 00:00:00 2001 From: tkellner Date: Fri, 28 Jun 2013 21:56:12 +0000 Subject: 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 --- .../java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui') 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(); } -- cgit v1.2.3