|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.alveole.studio.web.designer.xmleditor.NonRuleBasedDamagerRepairer
public class NonRuleBasedDamagerRepairer
Class created by eclipse.
| Field Summary | |
|---|---|
protected org.eclipse.jface.text.TextAttribute |
fDefaultTextAttribute
The default text attribute if non is returned as data by the current token |
protected org.eclipse.jface.text.IDocument |
fDocument
The document this object works on |
| Constructor Summary | |
|---|---|
NonRuleBasedDamagerRepairer(org.eclipse.jface.text.TextAttribute defaultTextAttribute)
Constructor for NonRuleBasedDamagerRepairer. |
|
| Method Summary | |
|---|---|
protected void |
addRange(org.eclipse.jface.text.TextPresentation presentation,
int offset,
int length,
org.eclipse.jface.text.TextAttribute attr)
Adds style information to the given text presentation. |
void |
createPresentation(org.eclipse.jface.text.TextPresentation presentation,
org.eclipse.jface.text.ITypedRegion region)
|
protected int |
endOfLineOf(int offset)
Returns the end offset of the line that contains the specified offset or if the offset is inside a line delimiter, the end offset of the next line. |
org.eclipse.jface.text.IRegion |
getDamageRegion(org.eclipse.jface.text.ITypedRegion partition,
org.eclipse.jface.text.DocumentEvent event,
boolean documentPartitioningChanged)
|
void |
setDocument(org.eclipse.jface.text.IDocument document)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.jface.text.IDocument fDocument
protected org.eclipse.jface.text.TextAttribute fDefaultTextAttribute
| Constructor Detail |
|---|
public NonRuleBasedDamagerRepairer(org.eclipse.jface.text.TextAttribute defaultTextAttribute)
| Method Detail |
|---|
public void setDocument(org.eclipse.jface.text.IDocument document)
setDocument in interface org.eclipse.jface.text.presentation.IPresentationDamagersetDocument in interface org.eclipse.jface.text.presentation.IPresentationRepairerIPresentationRepairer.setDocument(IDocument)
protected int endOfLineOf(int offset)
throws org.eclipse.jface.text.BadLocationException
offset - the offset whose line end offset must be computed
org.eclipse.jface.text.BadLocationException - if offset is invalid in the current document
public org.eclipse.jface.text.IRegion getDamageRegion(org.eclipse.jface.text.ITypedRegion partition,
org.eclipse.jface.text.DocumentEvent event,
boolean documentPartitioningChanged)
getDamageRegion in interface org.eclipse.jface.text.presentation.IPresentationDamagerIPresentationDamager.getDamageRegion(ITypedRegion, DocumentEvent, boolean)
public void createPresentation(org.eclipse.jface.text.TextPresentation presentation,
org.eclipse.jface.text.ITypedRegion region)
createPresentation in interface org.eclipse.jface.text.presentation.IPresentationRepairerIPresentationRepairer.createPresentation(TextPresentation, ITypedRegion)
protected void addRange(org.eclipse.jface.text.TextPresentation presentation,
int offset,
int length,
org.eclipse.jface.text.TextAttribute attr)
presentation - the text presentation to be extendedoffset - the offset of the range to be styledlength - the length of the range to be styledattr - the attribute describing the style of the range to be styled
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||