Class RenameProgramTreeGroupQuickFix

java.lang.Object
ghidra.features.base.quickfix.QuickFix
ghidra.features.base.replace.RenameQuickFix
ghidra.features.base.replace.items.RenameProgramTreeGroupQuickFix

public class RenameProgramTreeGroupQuickFix extends RenameQuickFix
QuickFix for renaming program tree groups (modules or fragments)
  • Constructor Details

    • RenameProgramTreeGroupQuickFix

      public RenameProgramTreeGroupQuickFix(Program program, Group group, String newName)
      Constructor
      Parameters:
      program - the program containing the program tree group to be renamed
      group - the program tree module or fragment to be renamed
      newName - the new name for the memory block
  • Method Details

    • statusChanged

      public void statusChanged(QuickFixStatus newStatus)
      Overrides:
      statusChanged in class QuickFix
    • getItemType

      public String getItemType()
      Description copied from class: QuickFix
      Returns the type of program element being affected (function, label, comment, etc.)
      Specified by:
      getItemType in class QuickFix
      Returns:
      the type of program element being affected
    • getPath

      public String getPath()
      Description copied from class: QuickFix
      Returns a path (the meaning of the path varies with the item type) associated with the affected program element if applicable or null otherwise.
      Specified by:
      getPath in class QuickFix
      Returns:
      a path associated with the affected program if applicable or null otherwise
    • doGetCurrent

      protected String doGetCurrent()
      Description copied from class: QuickFix
      Returns the current value of the item.
      Specified by:
      doGetCurrent in class QuickFix
      Returns:
      the current value of the item
    • execute

      protected void execute()
      Description copied from class: QuickFix
      Executes the action.
      Specified by:
      execute in class QuickFix
    • getProgramLocation

      public ProgramLocation getProgramLocation()
      Specified by:
      getProgramLocation in class QuickFix
    • getAddress

      public Address getAddress()
      Description copied from class: QuickFix
      Returns the address of the affected program element if applicable or null otherwise.
      Specified by:
      getAddress in class QuickFix
      Returns:
      the address of the affected program element if applicable or null otherwise
    • getCustomToolTipData

      public Map<String,String> getCustomToolTipData()
      Overrides:
      getCustomToolTipData in class QuickFix