Package ghidra.program.database.bookmark
Class BookmarkTypeDB
java.lang.Object
ghidra.program.database.bookmark.BookmarkTypeDB
- All Implemented Interfaces:
BookmarkType
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
Returns Icon associated with this type or null if one has not been set by a plugin.Returns marker color associated with this type or null if one has not been set by a plugin.int
Returns marker priority associated with this type or -1 if one has not been set by a plugin.int
Returns the id associated with this bookmark type.Returns the type as a string.boolean
Returns true if there is at least one bookmark defined for this type.toString()
-
Method Details
-
getTypeString
Description copied from interface:BookmarkType
Returns the type as a string.- Specified by:
getTypeString
in interfaceBookmarkType
- Returns:
- the type as a string.
-
hasBookmarks
public boolean hasBookmarks()Description copied from interface:BookmarkType
Returns true if there is at least one bookmark defined for this type.- Specified by:
hasBookmarks
in interfaceBookmarkType
- Returns:
- true if there is at least one bookmark defined for this type.
-
getTypeId
public int getTypeId()Description copied from interface:BookmarkType
Returns the id associated with this bookmark type.- Specified by:
getTypeId
in interfaceBookmarkType
- Returns:
- the id associated with this bookmark type.
-
getIcon
Description copied from interface:BookmarkType
Returns Icon associated with this type or null if one has not been set by a plugin.- Specified by:
getIcon
in interfaceBookmarkType
- Returns:
- the icon.
-
getMarkerColor
Description copied from interface:BookmarkType
Returns marker color associated with this type or null if one has not been set by a plugin.- Specified by:
getMarkerColor
in interfaceBookmarkType
- Returns:
- the color.
-
getMarkerPriority
public int getMarkerPriority()Description copied from interface:BookmarkType
Returns marker priority associated with this type or -1 if one has not been set by a plugin.- Specified by:
getMarkerPriority
in interfaceBookmarkType
- Returns:
- the priority.
-
toString
-