|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDocumentRange
Defines a subrange in a document.
It is used by text viewers that can work on a subrange of a document. For example, a text viewer for Java compilation units might use this to restrict the view to a single method.
Clients may implement this interface.
TextMergeViewer
,
DocumentRangeNode
Field Summary | |
---|---|
static java.lang.String |
RANGE_CATEGORY
The position category typically used for an IDocumentRange position
(value "DocumentRangeCategory" ). |
Method Summary | |
---|---|
IDocument |
getDocument()
Returns the underlying document. |
Position |
getRange()
Returns a position that specifies a subrange in the underlying document, or null if this document range spans the whole underlying document. |
Field Detail |
---|
static final java.lang.String RANGE_CATEGORY
IDocumentRange
position
(value "DocumentRangeCategory"
).
Method Detail |
---|
IDocument getDocument()
Position getRange()
null
if this document range spans the whole underlying document.
null
|
Eclipse Platform Release 3.2 |
|||||||||
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, 2006. All rights reserved.