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
Answertopia.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.compare.contentmergeviewer
Interface IDocumentRange

All Known Implementing Classes:
DocumentRangeNode, StructureRootNode

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.

See Also:
TextMergeViewer, DocumentRangeNode

Field Summary
static  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

RANGE_CATEGORY

static final 
String RANGE_CATEGORY
The position category typically used for an IDocumentRange position (value "DocumentRangeCategory").

Since:
2.0
See Also:
Constant Field Values
Method Detail

getDocument


IDocument getDocument()
Returns the underlying document.

Returns:
the underlying document

getRange


Position getRange()
Returns a position that specifies a subrange in the underlying document, or null if this document range spans the whole underlying document.

Returns:
a position that specifies a subrange in the underlying document, or null

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