Package ghidra.app.decompiler.component
Class DualDecompilerActionContext
- java.lang.Object
-
- docking.ActionContext
-
- ghidra.app.decompiler.component.DualDecompilerActionContext
-
- All Implemented Interfaces:
RestrictedAddressSetContext
,CodeComparisonPanelActionContext
public class DualDecompilerActionContext extends ActionContext implements RestrictedAddressSetContext, CodeComparisonPanelActionContext
Action context for a dual decompiler panel.
-
-
Constructor Summary
Constructors Constructor Description DualDecompilerActionContext(ComponentProvider provider, CDisplayPanel cPanel, java.awt.Component source)
Creates an action context for a dual decompiler panel.
-
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 docking.ActionContext
getComponentProvider, getContextObject, getGlobalContext, getMouseEvent, getSourceComponent, getSourceObject, setContextObject, setMouseEvent, setSourceObject, toString
-
-
-
-
Constructor Detail
-
DualDecompilerActionContext
public DualDecompilerActionContext(ComponentProvider provider, CDisplayPanel cPanel, java.awt.Component source)
Creates an action context for a dual decompiler panel.- Parameters:
provider
- the provider for this contextcPanel
- the decompiler panel associated with this contextsource
- the source of the action
-
-
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.
-
-