Class IndexBrowserRightPanel

    • Constructor Detail

      • IndexBrowserRightPanel

        public IndexBrowserRightPanel()
        Default constructor.
    • Method Detail

      • displayVoid

        public void displayVoid()
        Displays a panel informing that no item is selected.
      • displayMultiple

        public void displayMultiple()
        Displays a panel informing that multiple items are selected.
      • addIndexSelectionListener

        public void addIndexSelectionListener​(IndexSelectionListener listener)
        Adds an index selection listener.
        Parameters:
        listener - the index selection listener.
      • removeIndexSelectionListener

        public void removeIndexSelectionListener​(IndexSelectionListener listener)
        Removes an index selection listener.
        Parameters:
        listener - the index selection listener.
      • updateStandardIndex

        public void updateStandardIndex​(IndexDescriptor index)
        Updates the contents of the panel with an standard index.
        Parameters:
        index - the index to be used to update the contents of the panel.
      • updateVLVIndex

        public void updateVLVIndex​(VLVIndexDescriptor index)
        Updates the contents of the panel with a VLV index.
        Parameters:
        index - the index to be used to update the contents of the panel.
      • updateBackendIndexes

        public void updateBackendIndexes​(String backendName)
        Updates the contents of the panel with the indexes on the provided backend. A table with all the indexes of the backend will be displayed.
        Parameters:
        backendName - the name of the backend.
      • updateBackendVLVIndexes

        public void updateBackendVLVIndexes​(String backendName)
        Updates the contents of the panel with the VLV indexes on the provided backend. A table with all the VLV indexes of the backend will be displayed.
        Parameters:
        backendName - the name of the backend.
      • 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 index selection listener when the user changes the selection.
        Returns:
        true if there are unsaved changes (and so the selection of the index 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 cancelled 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 cancelled the selection in the tree.