|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.jface.text.Position
|
+--org.eclipse.jface.text.Fragment
Represents a fragment of a ProjectionDocument.
This class is for internal use only.
| Field Summary |
| Fields inherited from class org.eclipse.jface.text.Position |
isDeleted, length, offset |
| Constructor Summary | |
Fragment(int offset,
int length,
Position origin)
Creates new position representing a fragment. |
|
| Method Summary | |
Position |
getOrigin()
Returns the corresponding range in the parent document. |
void |
setOrigin(Position origin)
Sets the corresponding range in the parent document. |
| 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 |
| Constructor Detail |
public Fragment(int offset,
int length,
Position origin)
offset - the offset of the fragmentlength - the length of the fragmentorigin - the cooresponding range in the parent document| Method Detail |
public Position getOrigin()
public void setOrigin(Position origin)
origin - the cooresponding range in the parent document
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||