|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Tagging interface for IAnnotationModel
implementers that offer
state persistence.
Method Summary | |
---|---|
void |
commit(IDocument document)
Transforms the current transient state of the annotation model into a persistent state. |
void |
reinitialize(IDocument document)
Forces this annotation model to re-initialize from the persistent state. |
void |
revert(IDocument document)
Changes the current transient state of the annotation model to match the last persisted state. |
Method Detail |
public void commit(IDocument document) throws CoreException
document
- the document the annotation model is connected to
CoreException
- in case the transformation failspublic void revert(IDocument document) throws CoreException
document
- the document the annotation model is connected to
CoreException
- in case accessing the persisted statepublic void reinitialize(IDocument document) throws CoreException
commit
or revert
operation.
document
- the document the annotation model is connected to
CoreException
- in case accessing the persistent state fails
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.