Class SaveToolConfigDialog

java.lang.Object
docking.DialogComponentProvider
ghidra.framework.plugintool.dialog.SaveToolConfigDialog
All Implemented Interfaces:
ActionContextProvider, StatusListener, TaskListener, EventListener, ListSelectionListener

public class SaveToolConfigDialog extends DialogComponentProvider implements ListSelectionListener
Shows the modal dialog to save tool configuration to the current name or to a new name.
  • Constructor Details

  • Method Details

    • buildMainPanel

      protected JPanel buildMainPanel()
      Define the Main panel for the dialog here.
      Returns:
      JPanel the completed Main Panel
    • show

      public void show(String name, String newDefaultName)
      Display the "Save Tool Configuration As..." dialog; blocks until user hits the "Cancel" button.
      Parameters:
      name - original name for the tool
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Listener for the icon list.
      Specified by:
      valueChanged in interface ListSelectionListener
    • cancelCallback

      protected void cancelCallback()
      Invoked when the 'Cancel' button is clicked
      Overrides:
      cancelCallback in class DialogComponentProvider
    • didCancel

      public boolean didCancel()