Author: pwang
Date: 2012-08-02 13:44:09 -0700 (Thu, 02 Aug 2012)
New Revision: 30078
Modified:
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/CyActivator.java
Log:
Fixed bug#1282
Modified:
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/CyActivator.java
===================================================================
---
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/CyActivator.java
2012-08-02 20:43:07 UTC (rev 30077)
+++
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/CyActivator.java
2012-08-02 20:44:09 UTC (rev 30078)
@@ -84,6 +84,7 @@
import org.cytoscape.view.vizmap.gui.editor.ValueEditor;
import org.cytoscape.view.vizmap.gui.editor.VisualPropertyEditor;
import org.cytoscape.view.vizmap.mappings.ValueTranslator;
+import org.cytoscape.work.ServiceProperties;
import org.cytoscape.work.TaskFactory;
import org.cytoscape.work.swing.DialogTaskManager;
import org.cytoscape.work.undo.UndoSupport;
@@ -392,6 +393,15 @@
registerService(bc, selectNodesAndEdges, TaskFactory.class,
selectNodesEdgesProps);
//
+ ShowGraphicsDetailsTaskFactory showGraphicsDetailsTaskFactory =
new ShowGraphicsDetailsTaskFactory(applicationManagerServiceRef,dingGraphLOD,
dingGraphLODAll);
+ Properties showGraphicsDetailsTaskFactoryProps = new
Properties();
+ showGraphicsDetailsTaskFactoryProps.setProperty(MENU_GRAVITY,
"10.0");
+
showGraphicsDetailsTaskFactoryProps.setProperty(ENABLE_FOR,"networkAndView");
+ showGraphicsDetailsTaskFactoryProps.setProperty(TITLE,
"Show/Hide Graphics Details");
+
showGraphicsDetailsTaskFactoryProps.setProperty(IN_NETWORK_PANEL_CONTEXT_MENU,"true");
+ registerService(bc, showGraphicsDetailsTaskFactory,
NetworkViewTaskFactory.class, showGraphicsDetailsTaskFactoryProps);
+
+ //
registerServiceListener(bc, vtfListener,
"addNodeViewTaskFactory", "removeNodeViewTaskFactory",
NodeViewTaskFactory.class);
registerServiceListener(bc, vtfListener,
"addEdgeViewTaskFactory", "removeEdgeViewTaskFactory",
--
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.