Package org.eclipse.ui.texteditor
Class AbstractDocumentProvider.ElementInfo
java.lang.Object
org.eclipse.ui.texteditor.AbstractDocumentProvider.ElementInfo
- All Implemented Interfaces:
- IDocumentListener
- Direct Known Subclasses:
- StorageDocumentProvider.StorageInfo
- Enclosing class:
- AbstractDocumentProvider
Collection of all information managed for a connected element.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionbooleanCan the element be savedintHow often the element has been connectedThe element's documentThe element for which the info is storedbooleanHas element state been validatedThe element's annotation modelThe status of this element
- 
Constructor SummaryConstructorsConstructorDescriptionElementInfo(IDocument document, IAnnotationModel model) Creates a new element info, initialized with the given document and annotation model.
- 
Method SummaryModifier and TypeMethodDescriptionvoidThe manipulation described by the document event will be performed.voiddocumentChanged(DocumentEvent event) The manipulation described by the document event has been performed.booleanAn element info equals another object if this object is an element info and if the documents of the two element infos are equal.inthashCode()
- 
Field Details- 
fElementThe element for which the info is stored
- 
fCountpublic int fCountHow often the element has been connected
- 
fCanBeSavedpublic boolean fCanBeSavedCan the element be saved
- 
fDocumentThe element's document
- 
fModelThe element's annotation model
- 
fIsStateValidatedpublic boolean fIsStateValidatedHas element state been validated- Since:
- 2.0
 
- 
fStatusThe status of this element- Since:
- 2.0
 
 
- 
- 
Constructor Details- 
ElementInfoCreates a new element info, initialized with the given document and annotation model.- Parameters:
- document- the document
- model- the annotation model
 
 
- 
- 
Method Details- 
equalsAn element info equals another object if this object is an element info and if the documents of the two element infos are equal.
- 
hashCodepublic int hashCode()
- 
documentChangedDescription copied from interface:IDocumentListenerThe manipulation described by the document event has been performed.- Specified by:
- documentChangedin interface- IDocumentListener
- Parameters:
- event- the document event describing the document change
 
- 
documentAboutToBeChangedDescription copied from interface:IDocumentListenerThe manipulation described by the document event will be performed.- Specified by:
- documentAboutToBeChangedin interface- IDocumentListener
- Parameters:
- event- the document event describing the document change
 
 
-