Class CustomObjectClassPanel

    • Constructor Detail

      • CustomObjectClassPanel

        public CustomObjectClassPanel()
        Default constructor of the panel.
    • Method Detail

      • 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.
      • update

        public void update​(ObjectClass oc,
                           Schema schema)
        Updates the contents of the panel with the provided object class.
        Parameters:
        oc - the object class.
        schema - the schema.
      • 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()
        Description copied from class: SchemaElementPanel
        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.
        Overrides:
        mustCheckUnsavedChanges in class SchemaElementPanel
        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()
        Description copied from class: SchemaElementPanel
        Tells whether the user chose to save the changes in the panel, to not save them or simply cancelled the selection in the tree.
        Overrides:
        checkUnsavedChanges in class SchemaElementPanel
        Returns:
        the value telling whether the user chose to save the changes in the panel, to not save them or simply cancelled the selection in the tree.
      • 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