public abstract class RunnableGraphController extends WithIconGraphController implements ExecutionListener
| Red (johnr) |
| Red (eal) |
WithIconGraphController.NewPortActionBasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction_editIconAction, _portController, _removeIconAction_animated, _animationRenderer, _configureAction, _configureMenuFactory, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction| Constructor and Description |
|---|
RunnableGraphController()
Create a new controller.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_addHotKeys(JGraph jgraph)
Add hot keys to the actions in the given JGraph.
|
protected Manager |
_getManager()
Get the manager for the top-level of the associated model,
if there is one, or create one if there is not.
|
void |
addToMenuAndToolbar(javax.swing.JMenu menu,
javax.swing.JToolBar toolbar)
Add execution commands to the toolbar.
|
void |
executionError(Manager manager,
java.lang.Throwable throwable)
Report that an execution error has occurred.
|
void |
executionFinished(Manager manager)
Report that execution of the model has finished.
|
void |
managerStateChanged(Manager manager)
Report that a manager state has changed.
|
_createControllers, getNewPortLocation, initializeInteraction, setConfiguration_areThereActiveErrorHighlights, _getClearAllErrorHighlightsChangeRequest, _initializeInteraction, clearAllErrorHighlights, clearAnimation, event, getAnimationDelay, getConfiguration, getConfigureMenuFactory, getFrame, getNodeController, highlightError, message, setAnimationDelay, setFigure, setFrame, valueChangedaddEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, drawNode, getEdgeController, getFigure, getGraphModel, getGraphPane, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setGraphModel, setGraphPane, setSelectionModelpublic RunnableGraphController()
public void addToMenuAndToolbar(javax.swing.JMenu menu,
javax.swing.JToolBar toolbar)
addToMenuAndToolbar in class BasicGraphControllermenu - The menu to add to, which is ignored.toolbar - The toolbar to add to, or null if none.public void executionError(Manager manager, java.lang.Throwable throwable)
executionError in interface ExecutionListenermanager - The manager calling this method.throwable - The throwable being reported.public void executionFinished(Manager manager)
executionFinished in interface ExecutionListenermanager - The manager calling this method.public void managerStateChanged(Manager manager)
managerStateChanged in interface ExecutionListenermanager - The manager calling this method.Manager.getState()protected void _addHotKeys(JGraph jgraph)
_addHotKeys in class BasicGraphControllerjgraph - The JGraph to which hot keys are to be added.protected Manager _getManager() throws IllegalActionException
IllegalActionException - If the associated model is
not a CompositeActor, or if the manager cannot be created.