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
public class BasicDecompilerFieldPanelCoordinator extends DualDecompilerFieldPanelCoordinator
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
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
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 Detail
-
leftLocationChanged
public void leftLocationChanged(ProgramLocation leftProgramLocation)
- Specified by:
leftLocationChanged
in classDualDecompilerFieldPanelCoordinator
-
rightLocationChanged
public void rightLocationChanged(ProgramLocation rightProgramLocation)
- Specified by:
rightLocationChanged
in classDualDecompilerFieldPanelCoordinator
-
-