Package ptolemy.vergil.ontologies
Class AttributeInOntologyController
- java.lang.Object
-
- diva.graph.BasicNodeController
-
- ptolemy.vergil.basic.LocatableNodeController
-
- ptolemy.vergil.basic.NamedObjController
-
- ptolemy.vergil.basic.ParameterizedNodeController
-
- ptolemy.vergil.basic.IconController
-
- ptolemy.vergil.kernel.AttributeController
-
- ptolemy.vergil.kernel.AttributeWithIconController
-
- ptolemy.vergil.ontologies.AttributeInOntologyController
-
- All Implemented Interfaces:
NodeController
- Direct Known Subclasses:
ConceptController
,OntologyEntityController
public class AttributeInOntologyController extends AttributeWithIconController
The node controller for icons of attributes in ontology models and ontology solver models. This subclass of AttributeController removes the "Listen To Attribute" context menu action since it has no relevance for attributes inside an ontology model or an ontology solver model.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Charles Shelton
- Pt.AcceptedRating:
- Red (cshelton)
- Pt.ProposedRating:
- Red (cshelton)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.vergil.kernel.AttributeController
AttributeController.Access
-
Nested classes/interfaces inherited from class ptolemy.vergil.basic.IconController
IconController.IconRenderer
-
-
Field Summary
-
Fields inherited from class ptolemy.vergil.kernel.AttributeWithIconController
_editIconAction, _removeIconAction
-
Fields inherited from class ptolemy.vergil.kernel.AttributeController
_appearanceMenuActionFactory, _listenToAction, _renameAction, FULL, PARTIAL
-
Fields inherited from class ptolemy.vergil.basic.ParameterizedNodeController
_configureAction, _configureMenuFactory, _menuCreator, _menuFactory
-
Fields inherited from class ptolemy.vergil.basic.NamedObjController
_configuration
-
Fields inherited from class ptolemy.vergil.basic.LocatableNodeController
_decoratable, CLASS_ELEMENT_HIGHLIGHT_COLOR
-
-
Constructor Summary
Constructors Constructor Description AttributeInOntologyController(GraphController controller)
Create an attribute controller associated with the specified graph controller.AttributeInOntologyController(GraphController controller, AttributeController.Access access)
Create an attribute controller associated with the specified graph controller.
-
Method Summary
-
Methods inherited from class ptolemy.vergil.kernel.AttributeController
_getComponentType, _moveToFirstDescription, _moveToLastDescription, addHotKeys, renderDecoratorHighlight, renderHighlight, setConfiguration
-
Methods inherited from class ptolemy.vergil.basic.ParameterizedNodeController
getConfigureMenuFactory
-
Methods inherited from class ptolemy.vergil.basic.LocatableNodeController
_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution
-
Methods inherited from class diva.graph.BasicNodeController
addNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRenderer
-
-
-
-
Constructor Detail
-
AttributeInOntologyController
public AttributeInOntologyController(GraphController controller)
Create an attribute controller associated with the specified graph controller. The attribute controller is given full access.- Parameters:
controller
- The associated graph controller.
-
AttributeInOntologyController
public AttributeInOntologyController(GraphController controller, AttributeController.Access access)
Create an attribute controller associated with the specified graph controller.- Parameters:
controller
- The associated graph controller.access
- The access level.
-
-