ptolemy.vergil.kernel
Class RelationController

java.lang.Object
  extended bydiva.graph.BasicNodeController
      extended byptolemy.vergil.basic.LocatableNodeController
          extended byptolemy.vergil.basic.NamedObjController
              extended byptolemy.vergil.basic.ParameterizedNodeController
                  extended byptolemy.vergil.kernel.RelationController
All Implemented Interfaces:
NodeController

public class RelationController
extends ParameterizedNodeController

This class provides interaction with nodes that represent Ptolemy II relations. It provides a double click binding to edit the parameters of the relation, and a context menu containing a command to edit parameters ("Configure"), and a command to get documentation.

Since:
Ptolemy II 2.0
Version:
$Id: RelationController.java,v 1.15 2004/04/21 16:40:24 neuendor Exp $
Author:
Steve Neuendorffer and Edward A. Lee
Accepted Rating:
Red (johnr)
Proposed Rating:
Red (eal)

Nested Class Summary
 class RelationController.RelationRenderer
          The renderer for relation node.
 
Nested classes inherited from class ptolemy.vergil.basic.NamedObjController
NamedObjController.GetDocumentationAction
 
Field Summary
 
Fields inherited from class ptolemy.vergil.basic.ParameterizedNodeController
_configureAction, _menuCreator, _menuFactory
 
Fields inherited from class ptolemy.vergil.basic.NamedObjController
_configuration
 
Fields inherited from class ptolemy.vergil.basic.LocatableNodeController
CLASS_ELEMENT_HIGHLIGHT_COLOR
 
Constructor Summary
RelationController(GraphController controller)
          Create a relation 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
 

Constructor Detail

RelationController

public RelationController(GraphController controller)
Create a relation controller associated with the specified graph controller.

Parameters:
controller - The associated graph controller.