Author: scooter
Date: 2012-05-22 09:57:28 -0700 (Tue, 22 May 2012)
New Revision: 29308

Modified:
   
core3/impl/trunk/core-task-impl/src/main/java/org/cytoscape/task/internal/CyActivator.java
Log:
We don't want Group menus in the tool bar


Modified: 
core3/impl/trunk/core-task-impl/src/main/java/org/cytoscape/task/internal/CyActivator.java
===================================================================
--- 
core3/impl/trunk/core-task-impl/src/main/java/org/cytoscape/task/internal/CyActivator.java
  2012-05-22 16:56:46 UTC (rev 29307)
+++ 
core3/impl/trunk/core-task-impl/src/main/java/org/cytoscape/task/internal/CyActivator.java
  2012-05-22 16:57:28 UTC (rev 29308)
@@ -6,6 +6,7 @@
 import static org.cytoscape.work.ServiceProperties.COMMAND_NAMESPACE;
 import static org.cytoscape.work.ServiceProperties.ENABLE_FOR;
 import static org.cytoscape.work.ServiceProperties.ID;
+import static org.cytoscape.work.ServiceProperties.IN_MENU_BAR;
 import static 
org.cytoscape.work.ServiceProperties.IN_NETWORK_PANEL_CONTEXT_MENU;
 import static org.cytoscape.work.ServiceProperties.IN_TOOL_BAR;
 import static org.cytoscape.work.ServiceProperties.LARGE_ICON_URL;
@@ -921,6 +922,8 @@
                groupNodesTaskFactoryProps.setProperty(PREFERRED_MENU,"Groups");
                groupNodesTaskFactoryProps.setProperty(TITLE,"Group Selected 
Nodes");
                groupNodesTaskFactoryProps.setProperty(TOOLTIP,"Group Selected 
Nodes Together");
+               groupNodesTaskFactoryProps.setProperty(IN_TOOL_BAR,"false");
+               groupNodesTaskFactoryProps.setProperty(IN_MENU_BAR,"false");
                groupNodesTaskFactoryProps.setProperty(PREFERRED_ACTION, "NEW");
                groupNodesTaskFactoryProps.setProperty(COMMAND, 
"group-selected-nodes");
                groupNodesTaskFactoryProps.setProperty(COMMAND_NAMESPACE, 
"network-view");
@@ -933,6 +936,8 @@
                
unGroupNodesTaskFactoryProps.setProperty(PREFERRED_MENU,"Groups");
                unGroupNodesTaskFactoryProps.setProperty(TITLE,"Ungroup 
Selected Nodes");
                unGroupNodesTaskFactoryProps.setProperty(TOOLTIP,"Ungroup 
Selected Nodes");
+               unGroupNodesTaskFactoryProps.setProperty(IN_TOOL_BAR,"false");
+               unGroupNodesTaskFactoryProps.setProperty(IN_MENU_BAR,"false");
                unGroupNodesTaskFactoryProps.setProperty(PREFERRED_ACTION, 
"NEW");
                unGroupNodesTaskFactoryProps.setProperty(COMMAND, 
"ungroup-selected-nodes");
                groupNodesTaskFactoryProps.setProperty(COMMAND_NAMESPACE, 
"network-view");

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