Package ghidra.feature.vt.gui.actions
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 TypeMethodDescriptionvoid
actionPerformed
(docking.ActionContext context) protected ApplyMarkupItemTask
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 interfacedocking.action.DockingActionIf
- Specified by:
actionPerformed
in classdocking.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 interfacedocking.action.DockingActionIf
- Overrides:
isEnabledForContext
in classdocking.action.DockingAction
-
isAddToPopup
public boolean isAddToPopup(docking.ActionContext context) - Specified by:
isAddToPopup
in interfacedocking.action.DockingActionIf
- Overrides:
isAddToPopup
in classdocking.action.DockingAction
-