Class SchemaBrowserRightPanel

    • Constructor Detail

      • SchemaBrowserRightPanel

        public SchemaBrowserRightPanel()
        Default constructor.
    • Method Detail

      • displayMessage

        public void displayMessage​(org.forgerock.i18n.LocalizableMessage msg)
        Displays a panel containing a message.
        Overrides:
        displayMessage in class StatusGenericPanel
        Parameters:
        msg - the message.
      • addSchemaElementSelectionListener

        public void addSchemaElementSelectionListener​(SchemaElementSelectionListener listener)
        Adds an schema element selection listener.
        Parameters:
        listener - the schema element selection listener.
      • removeSchemaElementSelectionListener

        public void removeSchemaElementSelectionListener​(SchemaElementSelectionListener listener)
        Removes an schema element selection listener.
        Parameters:
        listener - the schema element selection listener.
      • updateStandardObjectClass

        public void updateStandardObjectClass​(ObjectClass oc,
                                              Schema schema)
        Updates the contents of the panel with the provided standard object class.
        Parameters:
        oc - the object class.
        schema - the schema.
      • updateConfigurationObjectClass

        public void updateConfigurationObjectClass​(ObjectClass oc,
                                                   Schema schema)
        Updates the contents of the panel with the provided configuration object class.
        Parameters:
        oc - the object class.
        schema - the schema.
      • updateCustomObjectClass

        public void updateCustomObjectClass​(ObjectClass oc,
                                            Schema schema)
        Updates the contents of the panel with the provided custom object class.
        Parameters:
        oc - the object class.
        schema - the schema.
      • updateStandardAttribute

        public void updateStandardAttribute​(AttributeType attr,
                                            Schema schema)
        Updates the contents of the panel with the provided standard attribute.
        Parameters:
        attr - the attribute.
        schema - the schema.
      • updateConfigurationAttribute

        public void updateConfigurationAttribute​(AttributeType attr,
                                                 Schema schema)
        Updates the contents of the panel with the provided configuration attribute.
        Parameters:
        attr - the attribute.
        schema - the schema.
      • updateCustomAttribute

        public void updateCustomAttribute​(AttributeType attr,
                                          Schema schema)
        Updates the contents of the panel with the provided custom attribute.
        Parameters:
        attr - the attribute.
        schema - the schema.
      • updateMatchingRule

        public void updateMatchingRule​(MatchingRule matchingRule,
                                       Schema schema)
        Updates the contents of the panel with the provided matching rule.
        Parameters:
        matchingRule - the matching rule.
        schema - the schema.
      • updateAttributeSyntax

        public void updateAttributeSyntax​(Syntax syntax,
                                          Schema schema)
        Updates the contents of the panel with the provided attribute syntax.
        Parameters:
        syntax - the attribute syntax.
        schema - the schema.
      • okClicked

        public void okClicked()
        Description copied from class: StatusGenericPanel
        Notification that the ok button has been clicked, the panel is in charge of doing whatever is required (close the dialog, launch a task, etc.).
        Specified by:
        okClicked in class StatusGenericPanel
      • getTitle

        public org.forgerock.i18n.LocalizableMessage getTitle()
        Description copied from class: StatusGenericPanel
        Returns the title that will be used as title of the dialog.
        Specified by:
        getTitle in class StatusGenericPanel
        Returns:
        the title that will be used as title of the dialog.
      • configurationChanged

        public void configurationChanged​(ConfigurationChangeEvent ev)
        Description copied from interface: ConfigChangeListener
        Method that is called when a change in the configuration occurred.
        Parameters:
        ev - the configuration change event.
      • mustCheckUnsavedChanges

        public boolean mustCheckUnsavedChanges()
        Method used to know if there are unsaved changes or not. It is used by the schema selection listener when the user changes the selection.
        Returns:
        true if there are unsaved changes (and so the selection of the schema should be canceled) and false otherwise.
      • checkUnsavedChanges

        public UnsavedChangesDialog.Result checkUnsavedChanges()
        Tells whether the user chose to save the changes in the panel, to not save them or simply canceled the selection in the tree.
        Returns:
        the value telling whether the user chose to save the changes in the panel, to not save them or simply canceled the selection in the tree.