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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JPanelDefine the Main panel for the dialog here.protected voidInvoked when the 'Cancel' button is clickedbooleanvoidDisplay the "Save Tool Configuration As..." dialog; blocks until user hits the "Cancel" button.voidListener 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, createSharedActions, 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, isDialogKeyBindingAction, 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:
valueChangedin interfaceListSelectionListener
-
cancelCallback
protected void cancelCallback()Invoked when the 'Cancel' button is clicked- Overrides:
cancelCallbackin classDialogComponentProvider
-
didCancel
public boolean didCancel()
-