ptolemy.vergil.basic
Class ParameterizedNodeController

java.lang.Object
  extended bydiva.graph.BasicNodeController
      extended byptolemy.vergil.basic.LocatableNodeController
          extended byptolemy.vergil.basic.NamedObjController
              extended byptolemy.vergil.basic.ParameterizedNodeController
All Implemented Interfaces:
NodeController
Direct Known Subclasses:
IconController, RelationController

public class ParameterizedNodeController
extends NamedObjController

This class provides interaction with nodes that represent Ptolemy II components with parameters. It provides a context menu item labeled "Configure" for editing those parameters, and binds double click to invoke the dialog that edits those parameters.

Since:
Ptolemy II 2.0
Version:
$Id: ParameterizedNodeController.java,v 1.16.2.1 2004/06/18 00:49:28 cxh Exp $
Author:
Steve Neuendorffer and Edward A. Lee
Accepted Rating:
Red (johnr)
Proposed Rating:
Red (eal)

Nested Class Summary
 
Nested classes inherited from class ptolemy.vergil.basic.NamedObjController
NamedObjController.GetDocumentationAction
 
Field Summary
protected static ConfigureAction _configureAction
          The configure action, which handles edit parameters requests.
protected  MenuCreator _menuCreator
          The menu creator.
protected  PtolemyMenuFactory _menuFactory
          The factory belonging to the menu creator.
 
Fields inherited from class ptolemy.vergil.basic.NamedObjController
_configuration
 
Fields inherited from class ptolemy.vergil.basic.LocatableNodeController
CLASS_ELEMENT_HIGHLIGHT_COLOR
 
Constructor Summary
ParameterizedNodeController(GraphController controller)
          Create an attribute controller associated with the specified graph controller.
 
Methods inherited from class ptolemy.vergil.basic.NamedObjController
setConfiguration
 
Methods inherited from class ptolemy.vergil.basic.LocatableNodeController
_drawChildren, _hide, _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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_menuFactory

protected PtolemyMenuFactory _menuFactory
The factory belonging to the menu creator.


_menuCreator

protected MenuCreator _menuCreator
The menu creator.


_configureAction

protected static ConfigureAction _configureAction
The configure action, which handles edit parameters requests.

Constructor Detail

ParameterizedNodeController

public ParameterizedNodeController(GraphController controller)
Create an attribute controller associated with the specified graph controller.

Parameters:
controller - The associated graph controller.