|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.sqlbookmark.BookmarkManager
public class BookmarkManager
Manages the users bookmarks. Including loading and saving to an XML file.
| Constructor Summary | |
|---|---|
BookmarkManager(SQLBookmarkPlugin plugin)
|
|
| Method Summary | |
|---|---|
protected boolean |
add(Bookmark bookmark)
Add a new bookmark, or replace an existing bookmark. |
protected Bookmark |
get(String name)
Retrieve a bookmark by name. |
CompletionCandidates |
getCompletionCandidates(String bookmarkNameBegin)
|
protected Iterator<Bookmark> |
iterator()
|
protected void |
load()
Load the stored bookmarks. |
void |
removeAll()
|
protected void |
save()
Save the bookmarks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BookmarkManager(SQLBookmarkPlugin plugin)
| Method Detail |
|---|
protected boolean add(Bookmark bookmark)
bookmark - bookmark to add/change.
protected Bookmark get(String name)
name - Name of the bookmark.
protected void load()
throws IOException
IOExceptionprotected void save()
protected Iterator<Bookmark> iterator()
public CompletionCandidates getCompletionCandidates(String bookmarkNameBegin)
getCompletionCandidates in interface ICompletorModelpublic void removeAll()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||