Package ghidra.app.nav
Class NextRangeAction
- java.lang.Object
-
- docking.action.DockingAction
-
- ghidra.app.context.NavigatableContextAction
-
- ghidra.app.nav.NextRangeAction
-
- All Implemented Interfaces:
DockingActionIf,HelpDescriptor
public abstract class NextRangeAction extends NavigatableContextAction
-
-
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 NextRangeAction(PluginTool tool, java.lang.String name, java.lang.String owner, ghidra.app.plugin.core.navigation.NavigationOptions navOptions)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(NavigatableActionContext context)protected abstract ProgramSelectiongetSelection(ProgramLocationActionContext context)booleanisEnabledForContext(NavigatableActionContext context)booleanshouldAddToWindow(boolean isMainWindow, java.util.Set<java.lang.Class<?>> contextTypes)Default behavior is to add to main window;-
Methods inherited from class ghidra.app.context.NavigatableContextAction
actionPerformed, isAddToPopup, isAddToPopup, isEnabledForContext, isValidContext
-
Methods inherited from class docking.action.DockingAction
addPropertyChangeListener, createButton, createMenuItem, dispose, doCreateButton, doCreateMenuItem, enabledWhen, firePropertyChanged, getDefaultKeyBindingData, getDescription, getFullName, getHelpInfo, getHelpObject, getInceptionFromTheFirstClassThatIsNotUsOrABuilder, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getPopupMenuData, getPreferredKeyBindingType, getToolBarData, isEnabled, markHelpUnnecessary, popupWhen, removePropertyChangeListener, setDescription, setEnabled, setHelpLocation, setKeyBindingData, setMenuBarData, setPopupMenuData, setSupportsDefaultToolContext, setToolBarData, setUnvalidatedKeyBindingData, supportsDefaultToolContext, 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
getOwnerDescription
-
-
-
-
Constructor Detail
-
NextRangeAction
public NextRangeAction(PluginTool tool, java.lang.String name, java.lang.String owner, ghidra.app.plugin.core.navigation.NavigationOptions navOptions)
-
-
Method Detail
-
isEnabledForContext
public boolean isEnabledForContext(NavigatableActionContext context)
- Overrides:
isEnabledForContextin classNavigatableContextAction
-
actionPerformed
public void actionPerformed(NavigatableActionContext context)
- Specified by:
actionPerformedin classNavigatableContextAction
-
getSelection
protected abstract ProgramSelection getSelection(ProgramLocationActionContext context)
-
shouldAddToWindow
public boolean shouldAddToWindow(boolean isMainWindow, java.util.Set<java.lang.Class<?>> contextTypes)Description copied from class:DockingActionDefault behavior is to add to main window;- Specified by:
shouldAddToWindowin interfaceDockingActionIf- Overrides:
shouldAddToWindowin classNavigatableContextAction- Parameters:
isMainWindow- true if the window in question is the main window. Otherwise, the window is a secondary window.contextTypes- a list of contextTypes (Classes) based on the providers that are currently in the window.- Returns:
- true if this action should be added to the window, false otherwise.
-
-