Class NavigatableActionContext
java.lang.Object
docking.DefaultActionContext
ghidra.app.context.ProgramActionContext
ghidra.app.context.ProgramLocationActionContext
ghidra.app.context.NavigatableActionContext
- All Implemented Interfaces:
ActionContext, FunctionSupplierContext, NavigationActionContext, ProgramLocationSupplierContext
- Direct Known Subclasses:
ListingActionContext
public class NavigatableActionContext
extends ProgramLocationActionContext
implements NavigationActionContext
-
Field Summary
Fields inherited from class ProgramActionContext
program -
Constructor Summary
ConstructorsConstructorDescriptionNavigatableActionContext(ComponentProvider provider, Navigatable navigatable) NavigatableActionContext(ComponentProvider provider, Navigatable navigatable, Program program, ProgramLocation location, ProgramSelection selection, ProgramSelection highlight) NavigatableActionContext(ComponentProvider provider, Navigatable navigatable, ProgramLocation location) -
Method Summary
Modifier and TypeMethodDescriptionbooleanOverridden to signal that this navigatable's program may not be the same as the globally active program.Methods inherited from class ProgramLocationActionContext
getAddress, getCodeUnit, getFunctionForLocation, getFunctions, getHighlight, getLocation, getSelection, hasFunctions, hasHighlight, hasSelectionMethods inherited from class ProgramActionContext
getProgramMethods inherited from class DefaultActionContext
getComponentProvider, getContextObject, getEventClickModifiers, getMouseEvent, getSourceComponent, getSourceObject, hasAnyEventClickModifiers, setContextObject, setEventClickModifiers, setMouseEvent, setSourceComponent, setSourceObject, toString
-
Constructor Details
-
Method Details
-
isActiveProgram
public boolean isActiveProgram()Overridden to signal that this navigatable's program may not be the same as the globally active program. This is done to signal that this navigatable can supply default context.- Overrides:
isActiveProgramin classProgramActionContext- Returns:
- false