public class OntologyEntityController extends AttributeInOntologyController
ActorController
to provide the Look Inside and Open Instance actions in
the context menu.AttributeController.Access
IconController.IconRenderer
Modifier and Type | Field and Description |
---|---|
protected LookInsideAction |
_lookInsideAction
The action that handles opening an ontology model.
|
protected ptolemy.vergil.ontologies.OntologyEntityController.OpenInstanceAction |
_openInstanceAction
The action that handles opening an instance of an ontology class.
|
_editIconAction, _removeIconAction
_appearanceMenuActionFactory, _listenToAction, _renameAction, FULL, PARTIAL
_configureAction, _configureMenuFactory, _menuCreator, _menuFactory
_configuration
_decoratable, CLASS_ELEMENT_HIGHLIGHT_COLOR
Constructor and Description |
---|
OntologyEntityController(GraphController controller)
Create an ontology controller associated with the specified graph
controller with full access.
|
OntologyEntityController(GraphController controller,
AttributeController.Access access)
Create an ontology controller associated with the specified graph
controller.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
_getComponentType()
Get the class label of the component which is an Ontology.
|
void |
addHotKeys(JGraph jgraph)
Add hot keys to the actions in the given JGraph.
|
void |
setConfiguration(Configuration configuration)
Set the configuration for OntologyEntityController.
|
_moveToFirstDescription, _moveToLastDescription, renderDecoratorHighlight, renderHighlight
getConfigureMenuFactory
_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution
addNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRenderer
protected LookInsideAction _lookInsideAction
protected ptolemy.vergil.ontologies.OntologyEntityController.OpenInstanceAction _openInstanceAction
public OntologyEntityController(GraphController controller)
controller
- The associated graph controller.public OntologyEntityController(GraphController controller, AttributeController.Access access)
controller
- The associated graph controller.access
- The access level.public void addHotKeys(JGraph jgraph)
addHotKeys
in class AttributeController
jgraph
- The JGraph to which hot keys are to be added.public void setConfiguration(Configuration configuration)
setConfiguration
in class AttributeController
configuration
- The given configuration object to be used to
set the configuration.protected java.lang.String _getComponentType()
_getComponentType
in class AttributeController