Author: mes
Date: 2012-06-13 17:30:24 -0700 (Wed, 13 Jun 2012)
New Revision: 29562
Modified:
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/WelcomeScreenAction.java
Log:
Added a hack that allows us to hide the welcome screen at startup from a system
property. Useful for testing.
Modified:
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/WelcomeScreenAction.java
===================================================================
---
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/WelcomeScreenAction.java
2012-06-14 00:22:04 UTC (rev 29561)
+++
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/WelcomeScreenAction.java
2012-06-14 00:30:24 UTC (rev 29562)
@@ -93,6 +93,11 @@
final String tempHideString =
this.cyProps.getProperties().getProperty(TEMP_DO_NOT_DISPLAY_PROP_NAME);
hide = parseBoolean(tempHideString);
}
+
+ if (!hide) {
+ final String systemHideString =
System.getProperty(DO_NOT_DISPLAY_PROP_NAME);
+ hide = parseBoolean(systemHideString);
+ }
// remove this property regardless!
this.cyProps.getProperties().remove(TEMP_DO_NOT_DISPLAY_PROP_NAME);
--
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.