Author: pwang
Date: 2012-07-09 16:32:24 -0700 (Mon, 09 Jul 2012)
New Revision: 29816
Modified:
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/CyActivator.java
Log:
setMenuGravity
Modified:
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/CyActivator.java
===================================================================
---
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/CyActivator.java
2012-07-09 23:31:37 UTC (rev 29815)
+++
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/CyActivator.java
2012-07-09 23:32:24 UTC (rev 29816)
@@ -303,6 +303,7 @@
helpContentsTaskFactoryProps.setProperty(PREFERRED_MENU,
"Help");
helpContentsTaskFactoryProps.setProperty(LARGE_ICON_URL,
getClass().getResource("/images/ximian/stock_help.png").toString());
helpContentsTaskFactoryProps.setProperty(TITLE, "Contents...");
+ helpContentsTaskFactoryProps.setProperty(MENU_GRAVITY,"1.0");
helpContentsTaskFactoryProps.setProperty(TOOLTIP, "Show Help
Contents...");
helpContentsTaskFactoryProps.setProperty(TOOL_BAR_GRAVITY,
"20.0f");
helpContentsTaskFactoryProps.setProperty(IN_TOOL_BAR, "true");
@@ -310,6 +311,7 @@
Properties helpContactHelpDeskTaskFactoryProps = new
Properties();
helpContactHelpDeskTaskFactoryProps.setProperty(PREFERRED_MENU,
"Help");
+
helpContactHelpDeskTaskFactoryProps.setProperty(MENU_GRAVITY,"7.0");
helpContactHelpDeskTaskFactoryProps.setProperty(TITLE, "Contact
Help Desk...");
registerService(bc, helpContactHelpDeskTaskFactory,
TaskFactory.class,
helpContactHelpDeskTaskFactoryProps);
@@ -317,6 +319,7 @@
Properties helpReportABugTaskFactoryProps = new Properties();
helpReportABugTaskFactoryProps.setProperty(PREFERRED_MENU,
"Help");
helpReportABugTaskFactoryProps.setProperty(TITLE, "Report a
Bug...");
+ helpReportABugTaskFactoryProps.setProperty(MENU_GRAVITY,"8.0");
registerService(bc, helpReportABugTaskFactory,
TaskFactory.class,
helpReportABugTaskFactoryProps);
@@ -324,6 +327,7 @@
Properties helpAboutTaskFactoryProps = new Properties();
helpAboutTaskFactoryProps.setProperty(PREFERRED_MENU, "Help");
helpAboutTaskFactoryProps.setProperty(TITLE, "About...");
+ helpAboutTaskFactoryProps.setProperty(MENU_GRAVITY,"10.0");
registerService(bc, helpAboutTaskFactory, TaskFactory.class,
helpAboutTaskFactoryProps);
Properties arrangeGridTaskFactoryProps = new Properties();
--
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.