Package ghidra.trace.model.bookmark
Interface TraceBookmarkManager
- All Superinterfaces:
TraceBookmarkOperations
- All Known Implementing Classes:
DBTraceBookmarkManager
-
Method Summary
Modifier and TypeMethodDescriptiondefineBookmarkType(String name, Icon icon, Color color, int priority) Define (or redefine) a bookmark type.getBookmark(long id) getBookmarkRegisterSpace(TraceStackFrame frame, boolean createIfAbsent) getBookmarkRegisterSpace(TraceThread thread, boolean createIfAbsent) Collection<? extends TraceBookmark> getBookmarksAdded(long from, long to) getBookmarkSpace(AddressSpace space, boolean createIfAbsent) Collection<? extends TraceBookmark> getBookmarksRemoved(long from, long to) getBookmarkType(String name) Collection<? extends TraceBookmarkType> Get the defined bookmark types.Methods inherited from interface ghidra.trace.model.bookmark.TraceBookmarkOperations
addBookmark, getAllBookmarks, getBookmarksAt, getBookmarksEnclosed, getBookmarksIntersecting, getCategoriesForType
-
Method Details
-
getBookmarkSpace
-
getBookmarkRegisterSpace
-
getBookmarkRegisterSpace
-
defineBookmarkType
Define (or redefine) a bookmark type. Bookmark type metadata are not stored in the database. To customize these things, a plugin must call this method for every opened program- Parameters:
name- a name to uniquely identify the typeicon- an icon for displaying the mark (usually in the listing margin)color- a color for displaying the mark (usually in the listing background)priority- a priority to determine which mark is displayed when multiple are present at the same location- Returns:
- the newly-defined type
-
getDefinedBookmarkTypes
Collection<? extends TraceBookmarkType> getDefinedBookmarkTypes()Get the defined bookmark types.- Returns:
- the types
-
getBookmarkType
-
getBookmark
-
getBookmarksAdded
-
getBookmarksRemoved
-