Class ChangedFilesDialog

java.lang.Object
docking.DialogComponentProvider
ghidra.framework.main.datatree.ChangedFilesDialog
All Implemented Interfaces:
ActionContextProvider, StatusListener, TaskListener

public class ChangedFilesDialog extends DialogComponentProvider
Dialog to prompt user to save files before adding files to source control or checking in files.
  • Constructor Details

    • ChangedFilesDialog

      public ChangedFilesDialog(PluginTool tool, List<DomainFile> list)
      Constructor
      Parameters:
      tool - tool to execute task and log messages in status window
      list - list of domain files that have changes
  • Method Details

    • setCancelToolTipText

      public void setCancelToolTipText(String toolTip)
      Set the tool tip on the cancel button.
      Parameters:
      toolTip - tool tip to set on the cancel button
    • showDialog

      public boolean showDialog()
      Show ChangedFilesDialog.
      Returns:
      whether the save button was selected; return false if the user canceled
    • 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