From 4c4d29df4d8253adbbe4f04ceedbf581f28280dc Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 Nov 2005 11:37:27 +0000 Subject: [PATCH] getVersion added for Castor mapping --- src/jalview/gui/AlignFrame.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 8737c59..0cef877 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -61,6 +61,7 @@ public class AlignFrame Stack redoList = new Stack(); private int treeCount = 0; + /** * Creates a new AlignFrame object. * @@ -167,6 +168,15 @@ public class AlignFrame } + /* + Added so Castor Mapping file can obtain Jalview Version + */ + public String getVersion() + { + return jalview.bin.Cache.getProperty("VERSION"); + } + + /** * DOCUMENT ME! * -- 1.7.10.2