Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.texteditor
Class AbstractDocumentProvider.ElementInfo

java.lang.Object
  extended by 
org.eclipse.ui.texteditor.AbstractDocumentProvider.ElementInfo
All Implemented Interfaces:
IDocumentListener
Direct Known Subclasses:
StorageDocumentProvider.StorageInfo
Enclosing class:
AbstractDocumentProvider

protected class AbstractDocumentProvider.ElementInfo
extends Object
implements IDocumentListener

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
  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 ( 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

fElement

public 
Object fElement
The element for which the info is stored


fCount

public int fCount
How often the element has been connected


fCanBeSaved

public boolean fCanBeSaved
Can the element be saved


fDocument

public 
IDocument fDocument
The element's document


fModel

public 
IAnnotationModel fModel
The element's annotation model


fIsStateValidated

public boolean fIsStateValidated
Has element state been validated

Since:
2.0

fStatus

public 
IStatus fStatus
The status of this element

Since:
2.0
Constructor Detail

AbstractDocumentProvider.ElementInfo

public AbstractDocumentProvider.ElementInfo(
IDocument document,
                                            
IAnnotationModel model)
Creates a new element info, initialized with the given document and annotation model.

Parameters:
document - the document
model - the annotation model
Method Detail

equals

public boolean equals(
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.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

documentChanged

public void documentChanged(
DocumentEvent event)
Description copied from interface: IDocumentListener
The manipulation described by the document event has been performed.

Specified by:
documentChanged in interface IDocumentListener
Parameters:
event - the document event describing the document change

documentAboutToBeChanged

public void documentAboutToBeChanged(
DocumentEvent event)
Description copied from interface: IDocumentListener
The manipulation described by the document event will be performed.

Specified by:
documentAboutToBeChanged in interface IDocumentListener
Parameters:
event - the document event describing the document change

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire