Class UndoActionDialog

    • Constructor Detail

      • UndoActionDialog

        public UndoActionDialog​(java.lang.String title,
                                javax.swing.ImageIcon icon,
                                java.lang.String helpTag,
                                java.lang.String actionString,
                                java.util.List<DomainFile> fileList)
        Constructor
        Parameters:
        fileList - list of DomainFile objects to show in the list
    • Method Detail

      • cancelCallback

        protected void cancelCallback()
        Description copied from class: DialogComponentProvider
        The callback method for when the "Cancel" button is pressed. The default behavior is to call setVisible(false) and dispose() on the dialog.
        Overrides:
        cancelCallback in class DialogComponentProvider
      • showDialog

        public int showDialog​(PluginTool tool)
        Show the dialog; return an ID for the action that the user chose.
        Returns:
        OK, or CANCEL
      • getSelectedDomainFiles

        public DomainFile[] getSelectedDomainFiles()
      • saveCopy

        public boolean saveCopy()