ptolemy.vergil.gt
Class StateMatcherController

java.lang.Object
  extended by diva.graph.BasicNodeController
      extended by ptolemy.vergil.basic.LocatableNodeController
          extended by ptolemy.vergil.basic.NamedObjController
              extended by ptolemy.vergil.basic.ParameterizedNodeController
                  extended by ptolemy.vergil.basic.IconController
                      extended by ptolemy.vergil.kernel.AttributeController
                          extended by ptolemy.vergil.modal.StateController
                              extended by ptolemy.vergil.modal.modal.HierarchicalStateController
                                  extended by ptolemy.vergil.gt.StateMatcherController
All Implemented Interfaces:
NodeController

public class StateMatcherController
extends HierarchicalStateController

Since:
Ptolemy II 8.0
Version:
$Id: StateMatcherController.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Thomas Huining Feng
Accepted Rating:
Red (tfeng)
Proposed Rating:
Red (tfeng)

Nested Class Summary
static class StateMatcherController.Factory
           
 
Nested classes/interfaces inherited from class ptolemy.vergil.modal.modal.HierarchicalStateController
HierarchicalStateController.AddRefinementAction, HierarchicalStateController.RemoveRefinementAction
 
Nested classes/interfaces inherited from class ptolemy.vergil.modal.StateController
StateController.LookInsideAction, StateController.StateRenderer
 
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.modal.modal.HierarchicalStateController
_addRefinementAction, _lookInsideAction, _removeRefinementAction
 
Fields inherited from class ptolemy.vergil.modal.StateController
_editIconAction, _removeIconAction
 
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
StateMatcherController(GraphController controller)
           
StateMatcherController(GraphController controller, AttributeController.Access access)
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.lang.String> getRefinementClasses()
          Return a map with the keys as the names of the refinement types, and the values as the names of the classes that implement those refinement types.
 
Methods inherited from class ptolemy.vergil.kernel.AttributeController
_getComponentType, addHotKeys, setConfiguration
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateMatcherController

public StateMatcherController(GraphController controller)
Parameters:
controller -

StateMatcherController

public StateMatcherController(GraphController controller,
                              AttributeController.Access access)
Parameters:
controller -
access -
Method Detail

getRefinementClasses

protected java.util.Map<java.lang.String,java.lang.String> getRefinementClasses()
Return a map with the keys as the names of the refinement types, and the values as the names of the classes that implement those refinement types.

Overrides:
getRefinementClasses in class HierarchicalStateController
Returns:
The map of supported refinement types.