graphlab.gui.plugins.main.rightclick
Class RightClickPluginMethods
java.lang.Object
graphlab.gui.plugins.main.rightclick.RightClickPluginMethods
- All Implemented Interfaces:
- PluginMethods
public class RightClickPluginMethods
- extends java.lang.Object
- implements PluginMethods
- Author:
- azin azadi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RightClickPluginMethods
public RightClickPluginMethods()
registerGraphPopupMenu
public static void registerGraphPopupMenu(java.lang.String id,
int index,
AbstractAction n,
boolean forceEnable)
- registers a popup menu that will be shown on each graph that assigned to Graph.name in blackboard (after the assignment)
- Parameters:
id - the string shown on mnuindex - place of itn - this action will be enabled(in it's group) and then the performJob will be called
registerVertexPopupMenu
public static void registerVertexPopupMenu(java.lang.String id,
int index,
AbstractAction n,
boolean forceEnable)
registerEdgePopupMenu
public static void registerEdgePopupMenu(java.lang.String id,
int index,
AbstractAction n,
boolean forceEnable)