Class TypedRegion

java.lang.Object
org.eclipse.jface.text.Region
org.eclipse.jface.text.TypedRegion
All Implemented Interfaces:
IRegion, ITypedRegion

public class TypedRegion extends Region implements ITypedRegion
Default implementation of ITypedRegion. A TypedRegion is a value object.
  • Constructor Details

    • TypedRegion

      public TypedRegion(int offset, int length, String type)
      Creates a typed region based on the given specification.
      Parameters:
      offset - the region's offset
      length - the region's length
      type - the region's type
  • Method Details