|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.AbstractDocument
org.eclipse.jface.text.projection.ProjectionDocument
org.eclipse.jface.text.projection.ChildDocument
Implementation of a child document based on
ProjectionDocument
. This class
exists for compatibility reasons.
Internal class. This class is not intended to be used by clients.
Nested Class Summary |
Nested classes inherited from class org.eclipse.jface.text.IDocumentExtension |
IDocumentExtension.IReplace |
Field Summary |
Fields inherited from interface org.eclipse.jface.text.IDocument |
DEFAULT_CATEGORY, DEFAULT_CONTENT_TYPE |
Fields inherited from interface org.eclipse.jface.text.IDocumentExtension3 |
DEFAULT_PARTITIONING |
Constructor Summary | |
ChildDocument(IDocument masterDocument)
Creates a new child document. |
Method Summary | |
IDocument |
getParentDocument()
Returns the parent document of this child document. |
Position |
getParentDocumentRange()
Returns the parent document range of this child document. |
void |
setParentDocumentRange(int offset,
int length)
Sets the parent document range covered by this child document to the given range. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChildDocument(IDocument masterDocument)
masterDocument
- @inheritDocMethod Detail |
public IDocument getParentDocument()
ProjectionDocument.getMasterDocument()
public void setParentDocumentRange(int offset, int length) throws BadLocationException
offset
- the offset of the rangelength
- the length of the range
BadLocationException
- if the given range is not validpublic Position getParentDocumentRange()
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.