Package ghidra.app.services
Class MarkerDescriptor
java.lang.Object
ghidra.app.services.MarkerDescriptor
Allows clients to specify how
MarkerLocation
s are navigated, as well as how they
should be painted-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon
(MarkerLocation loc) Called to get the icon that corresponds to the given locationCalled when the navigation bar to the right of the window is clicked to allow the the creator of a Marker an opportunity to provide a more specific ProgramLocation for navigation.getTooltip
(MarkerLocation loc) Called to get a tool tip for a marker under the cursor in the marker panel
-
Constructor Details
-
MarkerDescriptor
public MarkerDescriptor()
-
-
Method Details
-
getProgramLocation
Called when the navigation bar to the right of the window is clicked to allow the the creator of a Marker an opportunity to provide a more specific ProgramLocation for navigation. If null is specified, the client will navigate to the corresponding address.- Parameters:
loc
- the marker location- Returns:
- the desired location; may be null
-
getTooltip
Called to get a tool tip for a marker under the cursor in the marker panel- Parameters:
loc
- the marker location- Returns:
- the tooltip; may be null
-
getIcon
Called to get the icon that corresponds to the given location- Parameters:
loc
- the marker location- Returns:
- the icon; may be null
-