public class ActorEditorGraphController extends ActorViewerGraphController
Red (johnr) |
Red (eal) |
Modifier and Type | Class and Description |
---|---|
protected class |
ActorEditorGraphController.LinkCreator
This class is an interactor that interactively drags edges from
one terminal to another, creating a link to connect them.
|
class |
ActorEditorGraphController.NewRelationAction
An action to create a new relation.
|
protected class |
ActorEditorGraphController.RelationCreator
An interactor for creating relations upon control clicking.
|
ActorViewerGraphController.EntityLayout
WithIconGraphController.NewPortAction
BasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction
Modifier and Type | Field and Description |
---|---|
protected javax.swing.Action |
_newRelationAction
Action for creating a new relation.
|
_addonActorController, _attributeController, _classDefinitionController, _entityController, _entityPortController, _linkController, _relationController
_editIconAction, _portController, _removeIconAction
_animated, _animationRenderer, _configureAction, _configureMenuFactory, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction
Constructor and Description |
---|
ActorEditorGraphController()
Create a new basic controller with default
terminal and edge interactors.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_addHotKeys(JGraph jgraph)
Add hot keys to the actions in the given JGraph.
|
protected void |
_createControllers()
Create the controllers for nodes in this graph.
|
protected void |
_initializeInteraction(NamedObjController controller)
Initialize interactions for the specified controller.
|
void |
addToMenuAndToolbar(javax.swing.JMenu menu,
javax.swing.JToolBar toolbar)
Add commands to the specified menu and toolbar, as appropriate
for this controller.
|
protected void |
initializeInteraction()
Initialize all interaction on the graph pane.
|
void |
setConfiguration(Configuration configuration)
Set the configuration.
|
event, getEdgeController, getEntityController, getNodeController
_getManager, executionError, executionFinished, managerStateChanged
getNewPortLocation
_areThereActiveErrorHighlights, _getClearAllErrorHighlightsChangeRequest, clearAllErrorHighlights, clearAnimation, getAnimationDelay, getConfiguration, getConfigureMenuFactory, getFrame, highlightError, message, setAnimationDelay, setFigure, setFrame, valueChanged
addEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, drawNode, getFigure, getGraphModel, getGraphPane, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setGraphModel, setGraphPane, setSelectionModel
protected javax.swing.Action _newRelationAction
public ActorEditorGraphController()
public void addToMenuAndToolbar(javax.swing.JMenu menu, javax.swing.JToolBar toolbar)
addToMenuAndToolbar
in class RunnableGraphController
menu
- The menu to add to, or null if none.toolbar
- The toolbar to add to, or null if none.public void setConfiguration(Configuration configuration)
setConfiguration
in class ActorViewerGraphController
configuration
- The configuration.BasicGraphController.getConfiguration()
protected void _addHotKeys(JGraph jgraph)
_addHotKeys
in class ActorViewerGraphController
jgraph
- The JGraph to which hot keys are to be added.protected void _createControllers()
_createControllers
in class ActorViewerGraphController
protected void _initializeInteraction(NamedObjController controller)
_initializeInteraction
in class BasicGraphController
controller
- The controller for which to initialize interaction.protected void initializeInteraction()
initializeInteraction
in class ActorViewerGraphController