- All Implemented Interfaces:
- Direct Known Subclasses:
public class NamedObjController
- extends LocatableNodeController
This class extends LocatableNodeController with an association
with a configuration. The configuration is central to a Ptolemy GUI,
and is used by derived classes to perform various functions such as
opening models or their documentation. The class also contains an
inner class the specifically supports accessing the documentation for
a Ptolemy II object.
- Ptolemy II 2.0
- $Id: NamedObjController.java 57040 2010-01-27 20:52:32Z cxh $
- Edward A. Lee
- Accepted Rating:
- Proposed Rating:
|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
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected Configuration _configuration
- The configuration.
public NamedObjController(GraphController controller)
- Create a node controller associated with the specified graph
controller - The associated graph controller.
public void addHotKeys(JGraph jgraph)
- Add hot keys to the actions in the given JGraph.
It would be better that this method was added higher in the hierarchy. Now
jgraph - The JGraph to which hot keys are to be added.
public void setConfiguration(Configuration configuration)
- Set the configuration. This is used in derived classes to
to open files (such as documentation). The configuration is
is important because it keeps track of which files are already
open and ensures that there is only one editor operating on the
file at any one time.
configuration - The configuration.