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

protected class StorageDocumentProvider.StorageInfo extends AbstractDocumentProvider.ElementInfo
Bundle of all required information to allow IStorage as underlying document resources.
Since:
2.0
  • Field Details

    • fIsModifiable

      public boolean fIsModifiable
      The flag representing the cached state whether the storage is modifiable.
    • fIsReadOnly

      public boolean fIsReadOnly
      The flag representing the cached state whether the storage is read-only.
    • fUpdateCache

      public boolean fUpdateCache
      The flag representing the need to update the cached flag.
    • fEncoding

      public String fEncoding
      The encoding used to create the document from the storage or null for workbench encoding.
  • Constructor Details

    • StorageInfo

      public StorageInfo(IDocument document, IAnnotationModel model)
      Creates a new storage info.
      Parameters:
      document - the document
      model - the annotation model