Package ghidra.app.services
Class MarkerDescriptor
- java.lang.Object
-
- ghidra.app.services.MarkerDescriptor
-
public abstract class MarkerDescriptor extends java.lang.ObjectAllows clients to specify howMarkerLocations are navigated, as well as how they should be painted
-
-
Constructor Summary
Constructors Constructor Description MarkerDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.ImageIcongetIcon(MarkerLocation loc)Called to get the icon that corresponds to the given locationProgramLocationgetProgramLocation(MarkerLocation loc)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.java.lang.StringgetTooltip(MarkerLocation loc)Called to get a tool tip for a marker under the cursor in the marker panel
-
-
-
Method Detail
-
getProgramLocation
public ProgramLocation getProgramLocation(MarkerLocation loc)
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
public java.lang.String getTooltip(MarkerLocation loc)
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
public javax.swing.ImageIcon getIcon(MarkerLocation loc)
Called to get the icon that corresponds to the given location- Parameters:
loc- the marker location- Returns:
- the icon; may be null
-
-