|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPersistableAnnotationModel
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 |
|---|
void commit(IDocument document)
throws CoreException
document - the document the annotation model is connected to
CoreException - in case the transformation fails
void revert(IDocument document)
throws CoreException
document - the document the annotation model is connected to
CoreException - in case accessing the persisted state
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.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.