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.LineLockedFieldPanelCoordinatorlockedLineNumbers
 
- 
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidleftLocationChanged(ProgramLocation leftProgramLocation)voidrightLocationChanged(ProgramLocation rightProgramLocation)- 
Methods inherited from class docking.widgets.fieldpanel.internal.LineLockedFieldPanelCoordinatoradd, getLockedLineForPanel, remove, resetLockedLines, setLockedLines, viewChanged
 - 
Methods inherited from class docking.widgets.fieldpanel.internal.FieldPanelCoordinatordispose
 
- 
 
- 
- 
- 
Constructor Detail- 
BasicDecompilerFieldPanelCoordinatorpublic 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 coordinator
- syncLineLocation- 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- 
leftLocationChangedpublic void leftLocationChanged(ProgramLocation leftProgramLocation) - Specified by:
- leftLocationChangedin class- DualDecompilerFieldPanelCoordinator
 
 - 
rightLocationChangedpublic void rightLocationChanged(ProgramLocation rightProgramLocation) - Specified by:
- rightLocationChangedin class- DualDecompilerFieldPanelCoordinator
 
 
- 
 
-