Package ghidra.app.context
Interface FunctionSupplierContext
- All Superinterfaces:
ActionContext
- All Known Implementing Classes:
ListingActionContext
,NavigatableActionContext
,ProgramLocationActionContext
A "mix-in" interface that specific implementers of
ActionContext
may also implement if
they can supply functions in their action context. Actions that want to work on functions
can look for this interface, which can used in a variety of contexts.-
Method Summary
Modifier and TypeMethodDescriptionReturns the set of functions that this context object can supply.boolean
Returns true if this context can supply one or more functions.Methods inherited from interface docking.ActionContext
getComponentProvider, getContextObject, getEventClickModifiers, getMouseEvent, getSourceComponent, getSourceObject, hasAnyEventClickModifiers, setContextObject, setEventClickModifiers, setMouseEvent, setSourceComponent, setSourceObject
-
Method Details
-
hasFunctions
boolean hasFunctions()Returns true if this context can supply one or more functions.- Returns:
- true if this context can supply one or more functions
-
getFunctions
Returns the set of functions that this context object can supply.- Returns:
- the set of functions that this context object can supply
-