public interface IPersistableAnnotationModel
IAnnotationModel
implementers that offer
state persistence.Modifier and Type | Method and Description |
---|---|
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.
|
void commit(IDocument document) throws CoreException
document
- the document the annotation model is connected toCoreException
- in case the transformation failsvoid revert(IDocument document) throws CoreException
document
- the document the annotation model is connected toCoreException
- in case accessing the persisted statevoid reinitialize(IDocument document) throws CoreException
commit
or revert
operation.document
- the document the annotation model is connected toCoreException
- in case accessing the persistent state fails
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.