|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.texteditor.AbstractDocumentProvider.ElementInfo
protected class AbstractDocumentProvider.ElementInfo
Collection of all information managed for a connected element.
| Field Summary | |
|---|---|
boolean |
fCanBeSaved
Can the element be saved |
int |
fCount
How often the element has been connected |
IDocument |
fDocument
The element's document |
java.lang.Object |
fElement
The element for which the info is stored |
boolean |
fIsStateValidated
Has element state been validated |
IAnnotationModel |
fModel
The element's annotation model |
IStatus |
fStatus
The status of this element |
| Constructor Summary | |
|---|---|
AbstractDocumentProvider.ElementInfo(IDocument document,
IAnnotationModel model)
Creates a new element info, initialized with the given document and annotation model. |
|
| Method Summary | |
|---|---|
void |
documentAboutToBeChanged(DocumentEvent event)
The manipulation described by the document event will be performed. |
void |
documentChanged(DocumentEvent event)
The manipulation described by the document event has been performed. |
boolean |
equals(java.lang.Object o)
An element info equals another object if this object is an element info and if the documents of the two element infos are equal. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Object fElement
public int fCount
public boolean fCanBeSaved
public IDocument fDocument
public IAnnotationModel fModel
public boolean fIsStateValidated
public IStatus fStatus
| Constructor Detail |
|---|
public AbstractDocumentProvider.ElementInfo(IDocument document,
IAnnotationModel model)
document - the documentmodel - the annotation model| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.Objectpublic void documentChanged(DocumentEvent event)
IDocumentListener
documentChanged in interface IDocumentListenerevent - the document event describing the document changepublic void documentAboutToBeChanged(DocumentEvent event)
IDocumentListener
documentAboutToBeChanged in interface IDocumentListenerevent - the document event describing the document change
|
Eclipse Platform Release 3.6 |
|||||||||
| 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, 2010. All rights reserved.