Package ghidra.app.decompiler.component
Class BasicDecompilerFieldPanelCoordinator
java.lang.Object
docking.widgets.fieldpanel.internal.FieldPanelCoordinator
docking.widgets.fieldpanel.internal.LineLockedFieldPanelCoordinator
ghidra.app.decompiler.component.DualDecompilerFieldPanelCoordinator
ghidra.app.decompiler.component.BasicDecompilerFieldPanelCoordinator
- All Implemented Interfaces:
ViewListener
A basic coordinator that locks two decompiler panels together at the first line so that
scrolling one side also scrolls the other. It also allows the cursor locations to track
together based on the line number or to move independent of each other.
-
Field Summary
Fields inherited from class docking.widgets.fieldpanel.internal.LineLockedFieldPanelCoordinator
lockedLineNumbers
-
Constructor Summary
ConstructorsConstructorDescriptionBasicDecompilerFieldPanelCoordinator
(BasicDecompilerCodeComparisonPanel dualDecompilerPanel, boolean syncLineLocation) Constructs a dual decompiler coordinator that scrolls the two panels together so that they are locked together at the first line. -
Method Summary
Modifier and TypeMethodDescriptionvoid
leftLocationChanged
(ProgramLocation leftProgramLocation) void
rightLocationChanged
(ProgramLocation rightProgramLocation) Methods inherited from class docking.widgets.fieldpanel.internal.LineLockedFieldPanelCoordinator
add, getLockedLineForPanel, remove, resetLockedLines, setLockedLines, viewChanged
Methods inherited from class docking.widgets.fieldpanel.internal.FieldPanelCoordinator
dispose
-
Constructor Details
-
BasicDecompilerFieldPanelCoordinator
public BasicDecompilerFieldPanelCoordinator(BasicDecompilerCodeComparisonPanel dualDecompilerPanel, boolean syncLineLocation) Constructs a dual decompiler coordinator that scrolls the two panels together so that they are locked together at the first line.- Parameters:
dualDecompilerPanel
- the dual decompiler panel being controlled by this coordinatorsyncLineLocation
- true means synchronize the cursors in the two decompiler panels to the same line number and offset if possible. false means the the cursors move independently of each other.
-
-
Method Details
-
leftLocationChanged
- Specified by:
leftLocationChanged
in classDualDecompilerFieldPanelCoordinator
-
rightLocationChanged
- Specified by:
rightLocationChanged
in classDualDecompilerFieldPanelCoordinator
-