public abstract class BookmarkCommand extends AbstractDocumentCommand
Modifier and Type | Class and Description |
---|---|
protected static class |
BookmarkCommand.BookmarkPageIndexComparator |
AbstractDocumentCommand.Scope
Modifier and Type | Field and Description |
---|---|
protected static Comparator<Bookmark> |
BOOKMARK_COMPARATOR
Default bookmark comparator.
|
protected BookmarkStore |
bookmarkStore |
document
Constructor and Description |
---|
BookmarkCommand() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
equalsSourceDocument(Document d1,
Document d2) |
BookmarkStore |
getBookmarkStore() |
void |
setBookmarkStore(BookmarkStore bookmarkStore)
Deprecated.
Will be used by injection exclusively.
|
protected List<Bookmark> |
sortBookmarks(List<Bookmark> bookmarks)
Sorts the specified list of bookmarks according to the order page indices.
|
protected List<Bookmark> |
sortBookmarks(List<Bookmark> bookmarks,
Comparator<? super Bookmark> comparator)
Sorts the specified list of bookmarks according to the order induced by the specified
comparator.
|
canExecute, getRenderControls, getScope, setScope
getPageView, setPageView
getContext, propagateContextChange, setContext
canExecute, execute, execute, getKey, isAvailable, isSelected, isSelected, setKey
protected static final Comparator<Bookmark> BOOKMARK_COMPARATOR
protected BookmarkStore bookmarkStore
public BookmarkStore getBookmarkStore()
@Deprecated public void setBookmarkStore(BookmarkStore bookmarkStore)
bookmarkStore
- the bookmarkStore to setprotected List<Bookmark> sortBookmarks(List<Bookmark> bookmarks)
BOOKMARK_COMPARATOR
provided by this class.protected List<Bookmark> sortBookmarks(List<Bookmark> bookmarks, Comparator<? super Bookmark> comparator)
Copyright © 2024 levigo holding gmbh. All rights reserved.