Class DualListingActionContext
- java.lang.Object
-
- docking.ActionContext
-
- ghidra.app.context.ProgramActionContext
-
- ghidra.app.context.ProgramLocationActionContext
-
- ghidra.app.context.NavigatableActionContext
-
- ghidra.app.util.viewer.listingpanel.DualListingActionContext
-
- All Implemented Interfaces:
NavigationActionContext
,CodeComparisonPanelActionContext
public class DualListingActionContext extends NavigatableActionContext implements CodeComparisonPanelActionContext
Action context for a ListingCodeComparisonPanel.
-
-
Field Summary
-
Fields inherited from class ghidra.app.context.ProgramActionContext
program
-
-
Constructor Summary
Constructors Constructor Description DualListingActionContext(ComponentProvider provider, Navigatable navigatable)
Constructor for a dual listing's action context.DualListingActionContext(ComponentProvider provider, Navigatable navigatable, Program program, ProgramLocation location, ProgramSelection selection, ProgramSelection highlight)
Constructor for a dual listing's action context.DualListingActionContext(ComponentProvider provider, Navigatable navigatable, ProgramLocation location)
Constructor for a dual listing's action context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeComparisonPanel<? extends FieldPanelCoordinator>
getCodeComparisonPanel()
Gets the CodeComparisonPanel associated with this context.void
setCodeComparisonPanel(CodeComparisonPanel<? extends FieldPanelCoordinator> codeComparisonPanel)
Sets the CodeComparisonPanel associated with this context.-
Methods inherited from class ghidra.app.context.NavigatableActionContext
getNavigatable
-
Methods inherited from class ghidra.app.context.ProgramLocationActionContext
getAddress, getCodeUnit, getHighlight, getLocation, getSelection, hasHighlight, hasSelection
-
Methods inherited from class ghidra.app.context.ProgramActionContext
getProgram
-
Methods inherited from class docking.ActionContext
getComponentProvider, getContextObject, getMouseEvent, getSourceComponent, getSourceObject, setContextObject, setMouseEvent, setSourceObject, toString
-
-
-
-
Constructor Detail
-
DualListingActionContext
public DualListingActionContext(ComponentProvider provider, Navigatable navigatable, Program program, ProgramLocation location, ProgramSelection selection, ProgramSelection highlight)
Constructor for a dual listing's action context.- Parameters:
provider
- the provider that uses this action context.navigatable
- the navigatable for this action context.program
- the program in the listing providing this context.location
- the location indicated by this context.selection
- the listing selection for this context.highlight
- the listing highlight for this context.
-
DualListingActionContext
public DualListingActionContext(ComponentProvider provider, Navigatable navigatable, ProgramLocation location)
Constructor for a dual listing's action context.- Parameters:
provider
- the provider that uses this action context.navigatable
- the navigatable for this action context.location
- the location indicated by this context.
-
DualListingActionContext
public DualListingActionContext(ComponentProvider provider, Navigatable navigatable)
Constructor for a dual listing's action context.- Parameters:
provider
- the provider that uses this action context.navigatable
- the navigatable for this action context.
-
-
Method Detail
-
setCodeComparisonPanel
public void setCodeComparisonPanel(CodeComparisonPanel<? extends FieldPanelCoordinator> codeComparisonPanel)
Sets the CodeComparisonPanel associated with this context.- Parameters:
codeComparisonPanel
- the code comparison panel
-
getCodeComparisonPanel
public CodeComparisonPanel<? extends FieldPanelCoordinator> getCodeComparisonPanel()
Description copied from interface:CodeComparisonPanelActionContext
Gets the CodeComparisonPanel associated with this context.- Specified by:
getCodeComparisonPanel
in interfaceCodeComparisonPanelActionContext
- Returns:
- the code comparison panel.
-
-