|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteBookmarks
This class represents a collection of all the bookmarks in a document.
Method Summary | |
---|---|
IRemoteBookmark |
add(java.lang.String name,
IRemoteTextRange range)
This method adds a bookmark at a specified position in a document. |
boolean |
exists(java.lang.String name)
This method returns true if the document contains the specified bookmark, otherwise it returns false. |
int |
getCount()
This property returns the count of bookmarks in a document. |
IRemoteBookmark |
item(int index)
This method returns a bookmark by index. |
Method Detail |
---|
int getCount() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteBookmark add(java.lang.String name, IRemoteTextRange range) throws RemoteEclipseAPIException
name
- Specifies the name of the bookmark. If a bookmark with the same name already exists, an index suffix is added after the new bookmark's name. For example, if the bookmark with name "graphic" already exists, the new bookmark's name is "graphic1".range
- Specifies the position of the bookmark to be added.
RemoteEclipseAPIException
IRemoteBookmark item(int index) throws RemoteEclipseAPIException
index
- Specifies the index of the bookmark.
RemoteEclipseAPIException
boolean exists(java.lang.String name) throws RemoteEclipseAPIException
name
- Specifies the name of the bookmark.
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |