Class OntologyDisplayActions

    • Constructor Detail

      • OntologyDisplayActions

        public OntologyDisplayActions​(NamedObj container,
                                      java.lang.String name)
                               throws IllegalActionException,
                                      NameDuplicationException
        Construct an OntologyDisplayActions object with the specified container and name.
        Parameters:
        container - The container which should be an OntologySolver object.
        name - The name of the OntologyDisplayActions object.
        Throws:
        IllegalActionException - If the OntologyDisplayActions object cannot be created.
        NameDuplicationException - If the name coincides with an attribute already in the container.
    • Method Detail

      • create

        public NamedObjController create​(GraphController controller)
        Return a new node controller. This base class returns an instance of IconController. Derived classes can return some other class to customize the context menu.
        Overrides:
        create in class NodeControllerFactory
        Parameters:
        controller - The associated graph controller.
        Returns:
        A new node controller.