Author: mes
Date: 2010-02-12 16:49:52 -0800 (Fri, 12 Feb 2010)
New Revision: 19333
Modified:
cytoscape/trunk/src/cytoscape/CyMain.java
cytoscape/trunk/src/cytoscape/CytoscapeVersion.java
Log:
removed the version number from Mac header and removed deprecated code from
CytoscapeVersion
Modified: cytoscape/trunk/src/cytoscape/CyMain.java
===================================================================
--- cytoscape/trunk/src/cytoscape/CyMain.java 2010-02-12 23:28:52 UTC (rev
19332)
+++ cytoscape/trunk/src/cytoscape/CyMain.java 2010-02-13 00:49:52 UTC (rev
19333)
@@ -107,13 +107,7 @@
*/
public static void main(String[] args) throws Exception {
if (System.getProperty("os.name").startsWith("Mac")) {
- /*
- * By kono 4/2/2007 Fix Application name for Mac.
- */
- final CytoscapeVersion ver = new CytoscapeVersion();
- final String version = ver.getVersion();
- System.setProperty(
-
"com.apple.mrj.application.apple.menu.about.name", version);
+
System.setProperty("com.apple.mrj.application.apple.menu.about.name",
"Cytoscape");
}
CyMain app = new CyMain(args);
Modified: cytoscape/trunk/src/cytoscape/CytoscapeVersion.java
===================================================================
--- cytoscape/trunk/src/cytoscape/CytoscapeVersion.java 2010-02-12 23:28:52 UTC
(rev 19332)
+++ cytoscape/trunk/src/cytoscape/CytoscapeVersion.java 2010-02-13 00:49:52 UTC
(rev 19333)
@@ -44,33 +44,6 @@
}
}
- private String[] briefHistory = {
- "0.1 (2001/12/12) initial version",
- "0.2 (2001/12/18) sped up node selection by name",
- "0.3 (2001/12/20) node synonyms displayed in
NodeProps dialog",
- "0.4 (2001/12/21) edge attribute files supported",
- "0.5 (2001/12/28) edge attributes now can control
edge color",
- "0.6 (2002/01/01) popup dialog 'relocation flash' now
fixed",
- "0.7 (2002/01/04) checkEnviroment centralized, now
checks for java version",
- "0.8 (2002/01/07) active paths dialog bounds checking
fixed",
- "0.9 (2002/01/07) IPBiodataServer.getGoTermName
exception fixed",
- "0.10 (2002/01/22) selected nodes make new window;
active paths bug fixed",
- "0.11 (2002/02/04) automatic running of active paths
from command line\n"
- + " data passed to
ActivePathsFinder via arrays",
- "0.12 (2002/02/19) reorganized directories; gene
common names supported",
- "0.20 (2002/03/28) now uses plugin architecture;
redesign of VizMapping underway",
- "0.8 (2002/06/17) first alpha release",
- "0.9 (2002/11/01) first beta release",
- "0.95 (2002/11/04) added generic annotation",
- "0.97 (2002/12/05) added LGPL to all source",
- "1.0 (2003/03/05) added visual styles UI, attributes
filter.",
- "1.1 (2003/05/12) jar loader; visual styles.",
- "2.0 (2004) now using GINY",
- "2.1 (2005) many speed improvements.",
- "2.2 (2005/11) more bug fixes.",
- "2.3 (2006/06) new (faster) rendering engine.",
- "2.4 (2006/12) various usability improvements." };
-
/**
* Returns the string 'Cytoscape Version ' and the version number Do
not use
* to just get a version.
@@ -119,15 +92,4 @@
public String getFullVersion() {
return version;
}
-
-
- /** @deprecated See cytoscape.org for history. Will be removed 10/2007
*/
- public String getBriefHistory() {
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < briefHistory.length; i++) {
- sb.append(briefHistory[i]);
- sb.append("\n");
- }
- return sb.toString();
- }
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.