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, buttonPanel, 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, dispose, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocatdion, getId, getIntialLocation, getLocationOnScreen, getParent, getPreferredSize, getRemberSize, getRememberLocation, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, 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:
title
- title for the dialog, null value is acceptable if no titletool
- the plugin tool
-
-
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)
-
-