graphlab.plugins.main.core.actions
Class AddTab
java.lang.Object
graphlab.platform.core.AbstractAction
graphlab.plugins.main.core.actions.AddTab
- All Implemented Interfaces:
- Action, Listener
public class AddTab
- extends AbstractAction
- Author:
- azin azadi
Method Summary |
static void |
addTab(BlackBoard blackboard)
creates a graph ans add it as a tab to the current editing graph window |
static void |
addTabNoGUI(boolean isdirected,
BlackBoard blackboard)
creates a graph ans add it as a tab to the current editing graph window |
static void |
displayGraph(GraphModel g,
BlackBoard blackBoard)
displays the givven graph in GraphLab |
void |
performAction(java.lang.String eventName,
java.lang.Object value)
like Action |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddTab
public AddTab(BlackBoard bb)
- constructor
- Parameters:
bb
- the blackboard of the action
performAction
public void performAction(java.lang.String eventName,
java.lang.Object value)
- Description copied from class:
AbstractAction
- like Action
- Specified by:
performAction
in interface Action
- Specified by:
performAction
in class AbstractAction
addTab
public static void addTab(BlackBoard blackboard)
- creates a graph ans add it as a tab to the current editing graph window
addTabNoGUI
public static void addTabNoGUI(boolean isdirected,
BlackBoard blackboard)
- creates a graph ans add it as a tab to the current editing graph window
displayGraph
public static void displayGraph(GraphModel g,
BlackBoard blackBoard)
- displays the givven graph in GraphLab