Eclipse Platform
2.0

org.eclipse.jface.text
Interface ITypedRegion

All Superinterfaces:
IRegion
All Known Implementing Classes:
DirtyRegion, TypedRegion

public interface ITypedRegion
extends IRegion

Describes a region of an indexed text store such as document or string. The region consists of offset, length, and type. The type is defines as a string. A typed region can, e.g., be used to described document partitions. Clients may implement this interface or use the standard impementation TypedRegion.


Method Summary
 String getType()
          Returns the content type of the region.
 
Methods inherited from interface org.eclipse.jface.text.IRegion
getLength, getOffset
 

Method Detail

getType

public String getType()
Returns the content type of the region.

Returns:
the content type of the region

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.