Author: mes
Date: 2012-01-11 15:21:36 -0800 (Wed, 11 Jan 2012)
New Revision: 27985
Modified:
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/CyActivator.java
Log:
fixes #514 turned off the double click trigger property and changed the
preferred menu
Modified:
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/CyActivator.java
===================================================================
---
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/CyActivator.java
2012-01-11 22:08:59 UTC (rev 27984)
+++
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/CyActivator.java
2012-01-11 23:21:36 UTC (rev 27985)
@@ -97,8 +97,10 @@
Properties sifInterpreterTaskFactoryProps = new Properties();
sifInterpreterTaskFactoryProps.setProperty("enableFor","networkAndView");
-
sifInterpreterTaskFactoryProps.setProperty("preferredAction","OPEN");
-
sifInterpreterTaskFactoryProps.setProperty("preferredMenu","Apps");
+ // Setting preferredAction to OPEN registers this service for
double clicks on
+ // the network canvas, something we don't want right now for
this task!
+
//sifInterpreterTaskFactoryProps.setProperty("preferredAction","OPEN");
+
sifInterpreterTaskFactoryProps.setProperty("preferredMenu","Tools");
sifInterpreterTaskFactoryProps.setProperty("menuGravity","5.0f");
sifInterpreterTaskFactoryProps.setProperty("title","SIF
Interpreter");
registerService(bc,sifInterpreterTaskFactory,NetworkViewTaskFactory.class,
sifInterpreterTaskFactoryProps);
--
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.