Class AttributeWithIconController

  • All Implemented Interfaces:
    NodeController
    Direct Known Subclasses:
    AttributeInOntologyController, StateController

    public class AttributeWithIconController
    extends AttributeController
    This class provides interaction with nodes that represent that can have custom icons. It adds context menu items to edit the custom icons.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (johnr)
    Pt.ProposedRating:
    Red (eal)
    • Field Detail

      • _editIconAction

        protected ptolemy.vergil.kernel.AttributeWithIconController.EditIconAction _editIconAction
        The edit custom icon action.
      • _removeIconAction

        protected ptolemy.vergil.kernel.AttributeWithIconController.RemoveIconAction _removeIconAction
        The remove custom icon action.
    • Constructor Detail

      • AttributeWithIconController

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

        public AttributeWithIconController​(GraphController controller,
                                           AttributeController.Access access)
        Create a controller associated with the specified graph controller.
        Parameters:
        controller - The associated graph controller.
        access - The access level.