GraphLab Project

graphlab.plugins.main.rightclick
Class RightClickPluginMethods

java.lang.Object
  extended by graphlab.plugins.main.rightclick.RightClickPluginMethods
All Implemented Interfaces:
PluginMethods

public class RightClickPluginMethods
extends java.lang.Object
implements PluginMethods

Author:
azin azadi

Constructor Summary
RightClickPluginMethods()
           
 
Method Summary
 void registerEdgePopupMenu(java.lang.String id, int index, AbstractAction n, boolean forceEnable)
           
 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)
 void registerVertexPopupMenu(java.lang.String id, int index, AbstractAction n, boolean forceEnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RightClickPluginMethods

public RightClickPluginMethods()
Method Detail

registerGraphPopupMenu

public 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 mnu
index - place of it
n - this action will be enabled(in it's group) and then the performJob will be called

registerVertexPopupMenu

public void registerVertexPopupMenu(java.lang.String id,
                                    int index,
                                    AbstractAction n,
                                    boolean forceEnable)

registerEdgePopupMenu

public void registerEdgePopupMenu(java.lang.String id,
                                  int index,
                                  AbstractAction n,
                                  boolean forceEnable)

GraphLab Project