Class ParameterizedNodeController

  • All Implemented Interfaces:
    NodeController
    Direct Known Subclasses:
    IconController, RelationController

    public class ParameterizedNodeController
    extends NamedObjController
    This class provides interaction with nodes that represent Ptolemy II components with parameters. It provides a context menu item labeled "Configure" for editing those parameters, and binds double click to invoke the dialog that edits those parameters.
    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Steve Neuendorffer and Edward A. Lee
    Pt.AcceptedRating:
    Red (johnr)
    Pt.ProposedRating:
    Red (eal)
    • Field Detail

      • _configureAction

        protected static ConfigureAction _configureAction
        The configure action, which handles edit parameters requests.
      • _configureMenuFactory

        protected MenuActionFactory _configureMenuFactory
        The submenu for configure actions.
      • _menuCreator

        protected MenuCreator _menuCreator
        The menu creator.
      • _menuFactory

        protected PtolemyMenuFactory _menuFactory
        The factory belonging to the menu creator.
    • Constructor Detail

      • ParameterizedNodeController

        public ParameterizedNodeController​(GraphController controller)
        Create an attribute controller associated with the specified graph controller.
        Parameters:
        controller - The associated graph controller.
    • Method Detail

      • getConfigureMenuFactory

        public MenuActionFactory getConfigureMenuFactory()
        Return the configuration menu factory.
        Returns:
        The configuration menu factory.