Class HierarchicalStateController

  • All Implemented Interfaces:
    NodeController
    Direct Known Subclasses:
    StateMatcherController

    public class HierarchicalStateController
    extends StateController
    This class provides interaction with nodes that represent hierarchical states in an FSM graph. Hierarchical states are those with refinements, and what this adds to the base class is the ability to add a new refinement or remove a refinement via a context menu command. The base class provides a double click binding to edit the parameters of the state, and context menu commands to edit parameters ("Configure"), rename, look inside, and get documentation.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (johnr)
    Pt.ProposedRating:
    Red (eal)
    • Constructor Detail

      • HierarchicalStateController

        public HierarchicalStateController​(GraphController controller)
        Create a state controller associated with the specified graph controller.
        Parameters:
        controller - The associated graph controller.
      • HierarchicalStateController

        public HierarchicalStateController​(GraphController controller,
                                           AttributeController.Access access)
        Create a state controller associated with the specified graph controller.
        Parameters:
        controller - The associated graph controller.
        access - The access level.
    • Method Detail

      • getRefinementClasses

        protected java.util.Map 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.
        Returns:
        The map of supported refinement types.