Package ghidra.features.base.replace
Class RenameQuickFix
java.lang.Object
ghidra.features.base.quickfix.QuickFix
ghidra.features.base.replace.RenameQuickFix
- Direct Known Subclasses:
RenameCategoryQuickFix
,RenameDataTypeQuickFix
,RenameEnumValueQuickFix
,RenameMemoryBlockQuickFix
,RenameProgramTreeGroupQuickFix
,RenameSymbolQuickFix
Base class for QuickFix objects that rename Ghidra program elements.
-
Field Summary
Fields inherited from class ghidra.features.base.quickfix.QuickFix
current, original, program, replacement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the general name of the action to be performed.protected void
Methods inherited from class ghidra.features.base.quickfix.QuickFix
doGetCurrent, execute, getAddress, getCurrent, getCustomToolTipData, getItemType, getOriginal, getPath, getPreview, getProgramLocation, getStatus, getStatusMessage, navigateSpecial, performAction, refresh, setStatus, setStatus, statusChanged
-
Constructor Details
-
RenameQuickFix
Constructor- Parameters:
program
- the program this applies toname
- the original name of the element to renamenewName
- the new name for the element when this QuickFix is applied.
-
-
Method Details
-
validateReplacementName
protected void validateReplacementName() -
getActionName
Description copied from class:QuickFix
Returns the general name of the action to be performed.- Specified by:
getActionName
in classQuickFix
- Returns:
- the general name of the action to be performed
-