public class TransitionController extends BasicEdgeController
Red (johnr) |
Red (eal) |
Modifier and Type | Class and Description |
---|---|
protected class |
TransitionController.LinkDropper
An inner class that handles interactive changes to connectivity.
|
static class |
TransitionController.LinkRenderer
Render a link.
|
static class |
TransitionController.LinkTarget
A Link target.
|
BasicEdgeController.EdgeDropper
Modifier and Type | Field and Description |
---|---|
protected Configuration |
_configuration
The configuration.
|
protected static ConfigureAction |
_configureAction
The configure action, which handles edit parameters requests.
|
protected MenuActionFactory |
_configureMenuFactory
The submenu for configure actions.
|
protected ptolemy.vergil.modal.TransitionController.LookInsideAction |
_lookInsideAction
The action that handles look inside.
|
protected MenuActionFactory |
_lookInsideActionFactory
The menu factory for _lookInsideAction. null if the factory has not been
added to the context menu.
|
protected MenuCreator |
_menuCreator
The menu creator.
|
protected PtolemyMenuFactory |
_menuFactory
The factory belonging to the menu creator.
|
Constructor and Description |
---|
TransitionController(GraphController controller)
Create a transition controller associated with the specified graph
controller.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_createEdgeRenderer()
Create an edge renderer specifically for instances of Transition.
|
protected void |
_openInstanceOrModel(Configuration configuration,
NamedObj refinement)
Open the instance or the model.
|
protected void |
_setUpLookInsideAction()
Set up look inside actions, if appropriate.
|
void |
addHotKeys(JGraph jgraph)
Add hot keys to the actions in the given JGraph.
|
void |
setConfiguration(Configuration configuration)
Set the configuration.
|
addEdge, addEdge, clearEdge, drawEdge, getConnectorTarget, getController, getEdgeInteractor, getEdgeRenderer, removeEdge, render, setConnectorTarget, setEdgeInteractor, setEdgeRenderer
protected Configuration _configuration
protected static ConfigureAction _configureAction
protected MenuActionFactory _configureMenuFactory
protected ptolemy.vergil.modal.TransitionController.LookInsideAction _lookInsideAction
protected MenuActionFactory _lookInsideActionFactory
protected MenuCreator _menuCreator
protected PtolemyMenuFactory _menuFactory
public TransitionController(GraphController controller)
controller
- The associated graph controller.public void addHotKeys(JGraph jgraph)
jgraph
- The JGraph to which hot keys are to be added.public void setConfiguration(Configuration configuration)
configuration
- The configuration.protected void _createEdgeRenderer()
protected void _openInstanceOrModel(Configuration configuration, NamedObj refinement) throws IllegalActionException, NameDuplicationException
configuration
- The configuration with which to open the model or instance.refinement
- The model or instance to open.IllegalActionException
- If constructing an effigy or tableau
fails.NameDuplicationException
- If a name conflict occurs (this
should not be thrown).Configuration.openInstance(NamedObj)
,
Configuration.openModel(NamedObj)
protected void _setUpLookInsideAction()