Class Fragment
java.lang.Object
org.eclipse.jface.text.Position
org.eclipse.jface.text.projection.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.
- Since:
 - 3.0
 - Restriction:
 - This class is not intended to be subclassed by clients.
 - Restriction:
 - This class is not intended to be instantiated by clients.
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionFragment(int offset, int length) Creates a new fragment covering the given range. - 
Method Summary
 
- 
Field Details
- 
segment
The corresponding segment of this fragment. 
 - 
 - 
Constructor Details
- 
Fragment
public Fragment(int offset, int length) Creates a new fragment covering the given range.- Parameters:
 offset- the offset of the fragmentlength- the length of the fragment
 
 -