Author: jm
Date: 2012-12-17 08:23:37 -0800 (Mon, 17 Dec 2012)
New Revision: 31005

Modified:
   
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/CyActivator.java
Log:
References #1641: Re-added "Help > Contents?\226?\128?\166" menu.  Didn't 
bother updating actual manual.  We should do that prior to each release on the 
appropriate release branch.

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-12-15 05:42:59 UTC (rev 31004)
+++ 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/CyActivator.java
       2012-12-17 16:23:37 UTC (rev 31005)
@@ -334,6 +334,16 @@
                        registerService(bc, exitAction, CyAction.class, new 
Properties());
                }
 
+               Properties helpContentsTaskFactoryProps = new Properties();
+               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");
+               registerService(bc, helpContentsTaskFactory, TaskFactory.class, 
helpContentsTaskFactoryProps);
+
                Properties helpContactHelpDeskTaskFactoryProps = new 
Properties();
                helpContactHelpDeskTaskFactoryProps.setProperty(PREFERRED_MENU, 
"Help");
                
helpContactHelpDeskTaskFactoryProps.setProperty(MENU_GRAVITY,"7.0");    

-- 
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.

Reply via email to