Class DuplicateEntryPanel

    • Constructor Detail

      • DuplicateEntryPanel

        public DuplicateEntryPanel()
        Default constructor.
    • Method Detail

      • requiresScroll

        public boolean requiresScroll()
        Description copied from class: StatusGenericPanel
        Tells whether this panel should be contained in a scroll pane or not.
        Overrides:
        requiresScroll in class StatusGenericPanel
        Returns:
        true if this panel should be contained in a scroll pane and false otherwise.
      • setParent

        public void setParent​(BasicNode parentNode,
                              BrowserController controller)
        Description copied from class: AbstractNewEntryPanel
        Sets the parent and the browser controller for this panel.
        Overrides:
        setParent in class AbstractNewEntryPanel
        Parameters:
        parentNode - the selected parent node (or null if no parent node was selected).
        controller - the browser controller.
      • setEntryToDuplicate

        public void setEntryToDuplicate​(BasicNode node,
                                        BrowserController controller)
        Sets the entry to be duplicated.
        Parameters:
        node - the node to be duplicated.
        controller - the browser controller.
      • 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.
      • checkSyntax

        protected void checkSyntax​(ArrayList<org.forgerock.i18n.LocalizableMessage> errors)
        Description copied from class: AbstractNewEntryPanel
        Updates the list of errors by checking the syntax of the entry.
        Specified by:
        checkSyntax in class AbstractNewEntryPanel
        Parameters:
        errors - the list of errors that must be updated.