Class AttributeInOntologyController

  • All Implemented Interfaces:
    NodeController
    Direct Known Subclasses:
    ConceptController, OntologyEntityController

    public class AttributeInOntologyController
    extends AttributeWithIconController
    The node controller for icons of attributes in ontology models and ontology solver models. This subclass of AttributeController removes the "Listen To Attribute" context menu action since it has no relevance for attributes inside an ontology model or an ontology solver model.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Charles Shelton
    Pt.AcceptedRating:
    Red (cshelton)
    Pt.ProposedRating:
    Red (cshelton)
    • Constructor Detail

      • AttributeInOntologyController

        public AttributeInOntologyController​(GraphController controller)
        Create an attribute controller associated with the specified graph controller. The attribute controller is given full access.
        Parameters:
        controller - The associated graph controller.
      • AttributeInOntologyController

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