Class AbstractMarkupItemAction

java.lang.Object
docking.action.DockingAction
ghidra.feature.vt.gui.actions.AbstractMarkupItemAction
All Implemented Interfaces:
docking.action.DockingActionIf, help.HelpDescriptor
Direct Known Subclasses:
ApplyAndAddAsPrimaryMarkupItemAction, ApplyAndAddMarkupItemAction, ApplyAndReplaceMarkupItemAction, ReplaceDefaultMarkupItemAction, ReplaceFirstMarkupItemAction

public abstract class AbstractMarkupItemAction extends docking.action.DockingAction
  • 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
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    actionPerformed(docking.ActionContext context)
     
    createApplyTask(VTSession session, List<VTMarkupItem> markupItems, ghidra.framework.options.ToolOptions options)
     
    boolean
    isAddToPopup(docking.ActionContext context)
     
    boolean
    isEnabledForContext(docking.ActionContext context)
     

    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
  • Method Details

    • actionPerformed

      public void actionPerformed(docking.ActionContext context)
      Specified by:
      actionPerformed in interface docking.action.DockingActionIf
      Specified by:
      actionPerformed in class docking.action.DockingAction
    • createApplyTask

      protected ApplyMarkupItemTask createApplyTask(VTSession session, List<VTMarkupItem> markupItems, ghidra.framework.options.ToolOptions options)
    • isEnabledForContext

      public boolean isEnabledForContext(docking.ActionContext context)
      Specified by:
      isEnabledForContext in interface docking.action.DockingActionIf
      Overrides:
      isEnabledForContext in class docking.action.DockingAction
    • isAddToPopup

      public boolean isAddToPopup(docking.ActionContext context)
      Specified by:
      isAddToPopup in interface docking.action.DockingActionIf
      Overrides:
      isAddToPopup in class docking.action.DockingAction