public class

BookmarkManager

extends Object
implements IEventListener
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.BookmarkManager

Class Overview

Bookmark manager used by JEB projects.

Summary

Nested Classes
class BookmarkManager.Bookmark Definition of a bookmark. 
Public Constructors
BookmarkManager()
Public Methods
String get(IUnit unit, String address)
Retrieve a bookmark.
Collection<BookmarkManager.Bookmark> get(IUnit unit)
List<BookmarkManager.Bookmark> getAll()
void onEvent(IEvent e)
boolean remove(IUnit unit, String address)
boolean remove(IUnit unit)
void set(IUnit unit, String address, String description, boolean doNotGenerateMetaComments)
Add or update a bookmark.
void set(IUnit unit, String address, String description)
Add or update a bookmark.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.util.events.IEventListener

Public Constructors

public BookmarkManager ()

Public Methods

public String get (IUnit unit, String address)

Retrieve a bookmark.

public Collection<BookmarkManager.Bookmark> get (IUnit unit)

public List<BookmarkManager.Bookmark> getAll ()

public void onEvent (IEvent e)

public boolean remove (IUnit unit, String address)

public boolean remove (IUnit unit)

public void set (IUnit unit, String address, String description, boolean doNotGenerateMetaComments)

Add or update a bookmark.

Parameters
unit mandatory
address an address, as defined in IAddressableUnit; null is accepted as well to bookmark the unit as a whole, whether it be addressable or not
description non-null description
doNotGenerateMetaComments if true, no associated meta-comment with the flag COMMENT_FLAG_FAVORITE will be generated

public void set (IUnit unit, String address, String description)

Add or update a bookmark. A meta-comment is auto-generated.

Parameters
unit mandatory
address an address, as defined in IAddressableUnit; null is accepted as well to bookmark the unit as a whole, whether it be addressable or not
description non-null description