Package ptolemy.vergil.basic
Class MoMLModelAttributeController
- java.lang.Object
-
- All Implemented Interfaces:
NodeController
- Direct Known Subclasses:
OntologyDisplayActions.HighlighterController
public class MoMLModelAttributeController extends AttributeController
A controller that provides binding of an attribute and a refinement model.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Dai Bui
- Pt.AcceptedRating:
- Red (mankit)
- Pt.ProposedRating:
- Red (mankit)
-
-
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.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 MoMLModelAttributeController(GraphController controller)
Create a model attribute controller associated with the specified graph controller.MoMLModelAttributeController(GraphController controller, AttributeController.Access access)
Create a model attribute controller associated with the specified graph controller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHotKeys(JGraph jgraph)
Add hot keys to the look inside action in the given JGraph.void
setConfiguration(Configuration configuration)
Set the configuration for MoMLModelAttributeController.-
Methods inherited from class ptolemy.vergil.kernel.AttributeController
_getComponentType, _moveToFirstDescription, _moveToLastDescription, renderDecoratorHighlight, renderHighlight
-
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
-
MoMLModelAttributeController
public MoMLModelAttributeController(GraphController controller)
Create a model attribute controller associated with the specified graph controller.- Parameters:
controller
- The specified graph controller.
-
MoMLModelAttributeController
public MoMLModelAttributeController(GraphController controller, AttributeController.Access access)
Create a model attribute controller associated with the specified graph controller.- Parameters:
controller
- The associated graph controller.access
- The access level.
-
-
Method Detail
-
addHotKeys
public void addHotKeys(JGraph jgraph)
Add hot keys to the look inside action in the given JGraph. It would be better that this method was added higher in the hierarchy.- Overrides:
addHotKeys
in classAttributeController
- Parameters:
jgraph
- The JGraph to which hot keys are to be added.
-
setConfiguration
public void setConfiguration(Configuration configuration)
Set the configuration for MoMLModelAttributeController. This includes setting the configuration for its _lookinsideAction menu object.- Overrides:
setConfiguration
in classAttributeController
- Parameters:
configuration
- The given configuration object to be used to set the configuration.
-
-