Package ghidra.app.util.viewer.field
Class VariableXRefFieldMouseHandler
- java.lang.Object
-
- ghidra.app.util.viewer.field.XRefFieldMouseHandler
-
- ghidra.app.util.viewer.field.VariableXRefFieldMouseHandler
-
- All Implemented Interfaces:
FieldMouseHandler
,FieldMouseHandlerExtension
,ExtensionPoint
public class VariableXRefFieldMouseHandler extends XRefFieldMouseHandler
A handler to processVariableXRefFieldLocation
clicks
-
-
Constructor Summary
Constructors Constructor Description VariableXRefFieldMouseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Address
getFromReferenceAddress(ProgramLocation programLocation)
protected int
getIndex(ProgramLocation programLocation)
protected ProgramLocation
getReferredToLocation(Navigatable navigatable, ProgramLocation location)
java.lang.Class<?>[]
getSupportedProgramLocations()
Returns an array of types that this handler wishes to handle.protected Address
getToReferenceAddress(ProgramLocation programLocation, Program program)
protected boolean
isXREFHeaderLocation(ProgramLocation location)
protected void
showXRefDialog(Navigatable navigatable, ProgramLocation location, ServiceProvider serviceProvider)
-
Methods inherited from class ghidra.app.util.viewer.field.XRefFieldMouseHandler
fieldElementClicked
-
-
-
-
Method Detail
-
getToReferenceAddress
protected Address getToReferenceAddress(ProgramLocation programLocation, Program program)
- Overrides:
getToReferenceAddress
in classXRefFieldMouseHandler
-
getFromReferenceAddress
protected Address getFromReferenceAddress(ProgramLocation programLocation)
- Overrides:
getFromReferenceAddress
in classXRefFieldMouseHandler
-
getReferredToLocation
protected ProgramLocation getReferredToLocation(Navigatable navigatable, ProgramLocation location)
- Overrides:
getReferredToLocation
in classXRefFieldMouseHandler
-
getIndex
protected int getIndex(ProgramLocation programLocation)
- Overrides:
getIndex
in classXRefFieldMouseHandler
-
getSupportedProgramLocations
public java.lang.Class<?>[] getSupportedProgramLocations()
Description copied from interface:FieldMouseHandler
Returns an array of types that this handler wishes to handle.- Specified by:
getSupportedProgramLocations
in interfaceFieldMouseHandler
- Overrides:
getSupportedProgramLocations
in classXRefFieldMouseHandler
- Returns:
- an array of types that this handler wishes to handle.
-
isXREFHeaderLocation
protected boolean isXREFHeaderLocation(ProgramLocation location)
- Overrides:
isXREFHeaderLocation
in classXRefFieldMouseHandler
-
showXRefDialog
protected void showXRefDialog(Navigatable navigatable, ProgramLocation location, ServiceProvider serviceProvider)
-
-