Class RenameProgramTreeGroupQuickFix
java.lang.Object
ghidra.features.base.quickfix.QuickFix
ghidra.features.base.replace.RenameQuickFix
ghidra.features.base.replace.items.RenameProgramTreeGroupQuickFix
QuickFix for renaming program tree groups (modules or fragments)
-
Field Summary
Fields inherited from class ghidra.features.base.quickfix.QuickFix
current, original, program, replacement -
Constructor Summary
ConstructorsConstructorDescriptionRenameProgramTreeGroupQuickFix(Program program, Group group, String newName) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the current value of the item.protected voidexecute()Executes the action.Returns the address of the affected program element if applicable or null otherwise.Returns the type of program element being affected (function, label, comment, etc.)getPath()Returns a path (the meaning of the path varies with the item type) associated with the affected program element if applicable or null otherwise.protected booleannavigateSpecial(ServiceProvider services, boolean fromSelectionChange) QuickFix items can override this method if they want to do some special navigation when the table selection changes or the user double clicks (or presses<return>key) to navigate.voidstatusChanged(QuickFixStatus newStatus) Methods inherited from class ghidra.features.base.replace.RenameQuickFix
getActionName, validateReplacementNameMethods inherited from class ghidra.features.base.quickfix.QuickFix
getCurrent, getOriginal, getPreview, getStatus, getStatusMessage, performAction, refresh, setStatus, setStatus
-
Constructor Details
-
RenameProgramTreeGroupQuickFix
Constructor- Parameters:
program- the program containing the program tree group to be renamedgroup- the program tree module or fragment to be renamednewName- the new name for the memory block
-
-
Method Details
-
statusChanged
- Overrides:
statusChangedin classQuickFix
-
getItemType
Description copied from class:QuickFixReturns the type of program element being affected (function, label, comment, etc.)- Specified by:
getItemTypein classQuickFix- Returns:
- the type of program element being affected
-
getPath
Description copied from class:QuickFixReturns a path (the meaning of the path varies with the item type) associated with the affected program element if applicable or null otherwise. -
doGetCurrent
Description copied from class:QuickFixReturns the current value of the item.- Specified by:
doGetCurrentin classQuickFix- Returns:
- the current value of the item
-
execute
protected void execute()Description copied from class:QuickFixExecutes the action. -
getProgramLocation
- Specified by:
getProgramLocationin classQuickFix
-
getAddress
Description copied from class:QuickFixReturns the address of the affected program element if applicable or null otherwise.- Specified by:
getAddressin classQuickFix- Returns:
- the address of the affected program element if applicable or null otherwise
-
getCustomToolTipData
- Overrides:
getCustomToolTipDatain classQuickFix
-