Package ghidra.app.util
Class EditFieldNameDialog
- java.lang.Object
-
- docking.DialogComponentProvider
-
- ghidra.app.util.EditFieldNameDialog
-
- All Implemented Interfaces:
ActionContextProvider
,StatusListener
,TaskListener
public class EditFieldNameDialog extends DialogComponentProvider
-
-
Field Summary
-
Fields inherited from class docking.DialogComponentProvider
applyButton, cancelButton, dismissButton, okButton, rootPanel
-
-
Constructor Summary
Constructors Constructor Description EditFieldNameDialog(java.lang.String title, PluginTool tool)
Construct a new dialog.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
editField(DataTypeComponent dataTypeComponent, Program p)
void
editField(DataTypeComponent dataTypeComponent, Program p, java.awt.Component centeredOverComponent)
protected void
okCallback()
This method gets called when the user clicks on the OK Button.-
Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, close, dialogClosed, dialogShown, dismissCallback, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocatdion, getIntialLocation, getLocationOnScreen, getPreferredSize, getRemberSize, getRememberLocation, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, main, notifyContextChanged, removeAction, removeButton, removeWorkPanel, repack, 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 Detail
-
EditFieldNameDialog
public EditFieldNameDialog(java.lang.String title, PluginTool tool)
Construct a new dialog.- Parameters:
Frame
- parent for the dialog, null value is acceptable if no parentmodel
- object that controls the enablement and settings for labels and does the work of adding or editing labels
-
-
Method Detail
-
okCallback
protected void okCallback()
This method gets called when the user clicks on the OK Button. The base class calls this method.- Overrides:
okCallback
in classDialogComponentProvider
-
editField
public void editField(DataTypeComponent dataTypeComponent, Program p)
-
editField
public void editField(DataTypeComponent dataTypeComponent, Program p, java.awt.Component centeredOverComponent)
-
-