public class DataSourceInstanceController extends ActorInstanceController
NOTE: There should be only one instance of this class associated with a given GraphController. This is because this controller listens for changes to the graph and re-renders the ports of any actor instance in the graph when the graph changes. If there is more than one instance, this rendering will be done twice, which can result in bugs like port labels appearing twice.
Modifier and Type | Class and Description |
---|---|
protected class |
DataSourceInstanceController.GetDSDocumentationAction
This is an action that accesses the documentation for a Ptolemy object
associated with a figure.
|
ActorController.ListenToActorAction
AttributeController.Access
IconController.IconRenderer
_convertToClassAction
_access, _editIconAction, _flipPortsHorizontal, _flipPortsVertical, _lookInsideAction, _openInstanceAction, _removeIconAction, _rotatePortsClockwise, _rotatePortsCounterclockwise
_appearanceMenuActionFactory, _listenToAction, _renameAction, FULL, PARTIAL
_configureAction, _configureMenuFactory, _menuCreator, _menuFactory
_configuration
_decoratable, CLASS_ELEMENT_HIGHLIGHT_COLOR
Constructor and Description |
---|
DataSourceInstanceController(diva.graph.GraphController controller)
Create an actor instance controller associated with the specified graph
controller with full access.
|
DataSourceInstanceController(diva.graph.GraphController controller,
AttributeController.Access access)
Create an entity controller associated with the specified graph
controller with the specified access.
|
_getComponentType, addHotKeys, addMenuItemFactory, setConfiguration
_moveToFirstDescription, _moveToLastDescription, renderDecoratorHighlight, renderHighlight
getConfigureMenuFactory
_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution
public DataSourceInstanceController(diva.graph.GraphController controller)
controller
- The associated graph controller.public DataSourceInstanceController(diva.graph.GraphController controller, AttributeController.Access access)
controller
- The associated graph controller.