Package ptolemy.chic

Class ChicController

  • All Implemented Interfaces:
    NodeController

    public class ChicController
    extends AttributeController
    This class provides interaction with nodes that represent ChicInvoker visible attributes. It provides a double click binding and context menu entry to edit the parameters of the node ("Configure"), a command to get documentation ("Get Documentation"), a command to look inside ("Look Inside") and commands for invoking Chic. It can have one of two access levels, FULL or PARTIAL. If the access level is FULL, then the context menu also contains a command to rename the node ("Customize Name") and a command to set the icon of the node ("Set Icon").
    Since:
    Ptolemy II 3.0
    Version:
    $Id$
    Author:
    Eleftherios Matsikoudis
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Field Detail

      • _lookInsideAction

        protected ptolemy.chic.ChicController.LookInsideAction _lookInsideAction
        The action that handles look inside. This is accessed by by ActorViewerController to create a hot key for the editor.
    • Constructor Detail

      • ChicController

        public ChicController​(GraphController controller)
        Create a Chic controller associated with the specified graph controller with full access.
        Parameters:
        controller - The associated graph controller.
      • ChicController

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

      • setConfiguration

        public void setConfiguration​(Configuration configuration)
        Set the configuration. This is used to open documentation files.
        Overrides:
        setConfiguration in class AttributeController
        Parameters:
        configuration - The configuration.