Class ReplaceFirstMarkupItemAction

java.lang.Object
docking.action.DockingAction
ghidra.feature.vt.gui.actions.AbstractMarkupItemAction
ghidra.feature.vt.gui.actions.ReplaceFirstMarkupItemAction
All Implemented Interfaces:
docking.action.DockingActionIf, help.HelpDescriptor

public class ReplaceFirstMarkupItemAction extends AbstractMarkupItemAction
Action that replaces Data for a version tracking data match, but only if no defined data in the destination is replaced other than defined data at the match's destination address. If the source data type would overwrite other defined data whose address is beyond the destination address, then no replace will occur.
  • Field Summary

    Fields inherited from interface docking.action.DockingActionIf

    DESCRIPTION_PROPERTY, ENABLEMENT_PROPERTY, GLOBALCONTEXT_PROPERTY, KEYBINDING_DATA_PROPERTY, MENUBAR_DATA_PROPERTY, POPUP_MENU_DATA_PROPERTY, TOOLBAR_DATA_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReplaceFirstMarkupItemAction(VTController controller, boolean addToToolbar)
    Constructor for action to only replace the first item (i.e.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    ghidra.framework.options.ToolOptions
     

    Methods inherited from class ghidra.feature.vt.gui.actions.AbstractMarkupItemAction

    actionPerformed, createApplyTask, isAddToPopup, isEnabledForContext

    Methods inherited from class docking.action.DockingAction

    addPropertyChangeListener, addToWindowWhen, createButton, createMenuItem, dispose, doCreateButton, doCreateMenuItem, enabledWhen, firePropertyChanged, getContextClass, getDefaultKeyBindingData, getDescription, getFullName, getHelpInfo, getHelpLocation, getHelpObject, getInceptionFromTheFirstClassThatIsNotUsOrABuilder, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getPopupMenuData, getPreferredKeyBindingType, getToolBarData, isEnabled, isValidContext, markHelpUnnecessary, popupWhen, removePropertyChangeListener, setAddToAllWindows, setContextClass, setDescription, setEnabled, setHelpLocation, setKeyBindingData, setMenuBarData, setPopupMenuData, setToolBarData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultContext, toString, validContextWhen

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface docking.action.DockingActionIf

    createMenuComponent, getOwnerDescription
  • Constructor Details

    • ReplaceFirstMarkupItemAction

      public ReplaceFirstMarkupItemAction(VTController controller, boolean addToToolbar)
      Constructor for action to only replace the first item (i.e. defined data at the destination address, but don't replace if other defined data beyond the destination address would be overwritten.)
      Parameters:
      controller - the version tracking session controller
      addToToolbar - true indicates this action's icon should be added to the window provider's toolbar.
  • Method Details

    • getApplyOptions

      public ghidra.framework.options.ToolOptions getApplyOptions()
    • getActionType

      public VTMarkupItemApplyActionType getActionType()