Class SuperiorObjectClassesEditor

    • Constructor Detail

      • SuperiorObjectClassesEditor

        public SuperiorObjectClassesEditor()
        Default constructor for this panel.
    • Method Detail

      • setObjectClassesToExclude

        public void setObjectClassesToExclude​(Set<ObjectClass> toExclude)
        Sets the list of object classes that this panel should not display (mainly used to not display the object class for which we are editing the superior object classes).
        Parameters:
        toExclude - the list of object classes to exclude.
      • getObjectClassToExclude

        public Set<ObjectClass> getObjectClassToExclude()
        Returns the list of object classes that this panel will not display.
        Returns:
        the list of object classes that this panel will not display.
      • setSelectedSuperiors

        public void setSelectedSuperiors​(Set<ObjectClass> objectClasses)
        Sets the list of superior object classes that must be displayed by this panel.
        Parameters:
        objectClasses - the list of superior object classes to be displayed.
      • getSelectedSuperiors

        public Set<ObjectClass> getSelectedSuperiors()
        Returns the list of superior object classes displayed by this panel.
        Returns:
        the list of superior object classes displayed by this panel.
      • setSchema

        public void setSchema​(Schema schema)
        Sets the schema to be used by this panel. This method assumes that it is being called from the event thread.
        Parameters:
        schema - the schema to be used by this panel.
      • addParentObjectClassesChangedListener

        public void addParentObjectClassesChangedListener​(SuperiorObjectClassesChangedListener listener)
        Adds a listener that will receive events when a change is made in the displayed superior object classes.
        Parameters:
        listener - the listener to be added.