public class TypedRegion extends Region implements ITypedRegion
ITypedRegion. A
TypedRegion is a value object.| Constructor and Description |
|---|
TypedRegion(int offset,
int length,
String type)
Creates a typed region based on the given specification.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getType()
Returns the content type of the region.
|
int |
hashCode() |
String |
toString() |
public TypedRegion(int offset,
int length,
String type)
offset - the region's offsetlength - the region's lengthtype - the region's typepublic String getType()
ITypedRegiongetType in interface ITypedRegion
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.