|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.Position
org.eclipse.jface.text.projection.Fragment
public class Fragment
Internal class. Do not use. Only public for testing purposes.
A fragment is a range of the master document that has an image, the so called segment, in a projection document.
| Field Summary | |
|---|---|
Segment |
segment
The corresponding segment of this fragment. |
| Fields inherited from class org.eclipse.jface.text.Position |
|---|
isDeleted, length, offset |
| Constructor Summary | |
|---|---|
Fragment(int offset,
int length)
Creates a new fragment covering the given range. |
|
| Method Summary |
|---|
| Methods inherited from class org.eclipse.jface.text.Position |
|---|
delete, equals, getLength, getOffset, hashCode, includes, isDeleted, overlapsWith, setLength, setOffset, undelete |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Segment segment
| Constructor Detail |
|---|
public Fragment(int offset,
int length)
offset - the offset of the fragmentlength - the length of the fragment
|
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.