Class SaveToolConfigDialog
java.lang.Object
docking.DialogComponentProvider
ghidra.framework.plugintool.dialog.SaveToolConfigDialog
- All Implemented Interfaces:
ActionContextProvider
,StatusListener
,TaskListener
,EventListener
,ListSelectionListener
Shows the modal dialog to save tool configuration to the current
name or to a new name.
-
Field Summary
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected JPanel
Define the Main panel for the dialog here.protected void
Invoked when the 'Cancel' button is clickedboolean
void
Display the "Save Tool Configuration As..." dialog; blocks until user hits the "Cancel" button.void
Listener for the icon list.Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, close, closeDialog, dialogClosed, dialogShown, dismissCallback, dispose, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocation, getId, getInitialLocation, getLocationOnScreen, getParent, getPreferredSize, getRememberLocation, getRememberSize, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, okCallback, removeAction, removeButton, removeWorkPanel, repack, setAccessibleDescription, setApplyEnabled, setApplyToolTip, setBackground, setCancelButtonText, setCancelEnabled, setCancelToolTip, setCursor, setDefaultButton, setDefaultSize, setDialogSize, setDismissToolTip, setFocusComponent, setGlassPane, setHelpLocation, setInitialLocation, setMinimumSize, setMinimumSize, setOkButtonText, setOkEnabled, setOkToolTip, setPreferredSize, setRememberLocation, setRememberSize, setResizable, setStatusJustification, setStatusText, setStatusText, setStatusText, setTitle, setTransient, setUseSharedLocation, showProgressBar, showTaskMonitorComponent, stopProgressTimer, taskCancelled, taskCompleted, toFront, toString, waitForCurrentTask
-
Constructor Details
-
SaveToolConfigDialog
-
-
Method Details
-
buildMainPanel
Define the Main panel for the dialog here.- Returns:
- JPanel the completed Main Panel
-
show
Display the "Save Tool Configuration As..." dialog; blocks until user hits the "Cancel" button.- Parameters:
name
- original name for the tool
-
valueChanged
Listener for the icon list.- Specified by:
valueChanged
in interfaceListSelectionListener
-
cancelCallback
protected void cancelCallback()Invoked when the 'Cancel' button is clicked- Overrides:
cancelCallback
in classDialogComponentProvider
-
didCancel
public boolean didCancel()
-