Package org.eclipse.ui.editors.text
Class StorageDocumentProvider.StorageInfo
java.lang.Object
org.eclipse.ui.texteditor.AbstractDocumentProvider.ElementInfo
org.eclipse.ui.editors.text.StorageDocumentProvider.StorageInfo
- All Implemented Interfaces:
IDocumentListener
- Direct Known Subclasses:
FileDocumentProvider.FileInfo
- Enclosing class:
- StorageDocumentProvider
Bundle of all required information to allow
IStorage
as underlying document resources.- Since:
- 2.0
-
Field Summary
Modifier and TypeFieldDescriptionThe encoding used to create the document from the storage ornull
for workbench encoding.boolean
The flag representing the cached state whether the storage is modifiable.boolean
The flag representing the cached state whether the storage is read-only.boolean
The flag representing the need to update the cached flag.Fields inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider.ElementInfo
fCanBeSaved, fCount, fDocument, fElement, fIsStateValidated, fModel, fStatus
-
Constructor Summary
ConstructorDescriptionStorageInfo
(IDocument document, IAnnotationModel model) Creates a new storage info. -
Method Summary
Methods inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider.ElementInfo
documentAboutToBeChanged, documentChanged, equals, hashCode
-
Field Details
-
fIsModifiable
public boolean fIsModifiableThe flag representing the cached state whether the storage is modifiable. -
fIsReadOnly
public boolean fIsReadOnlyThe flag representing the cached state whether the storage is read-only. -
fUpdateCache
public boolean fUpdateCacheThe flag representing the need to update the cached flag. -
fEncoding
The encoding used to create the document from the storage ornull
for workbench encoding.
-
-
Constructor Details
-
StorageInfo
Creates a new storage info.- Parameters:
document
- the documentmodel
- the annotation model
-