|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.synchronizer.kitsView.HighlightingReconciler
public class HighlightingReconciler
Constructor Summary | |
---|---|
HighlightingReconciler()
|
Method Summary | |
---|---|
void |
addPosition(int offset,
int length,
String... ids)
Add a position with the given range and highlighting if it does not exist already. |
org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator |
getCalculator()
|
void |
inputDocumentAboutToBeChanged(IDocument oldInput,
IDocument newInput)
|
void |
inputDocumentChanged(IDocument oldInput,
IDocument newInput)
|
void |
install(org.eclipse.xtext.ui.editor.XtextSourceViewer sourceViewer,
org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter presenter)
Install this reconciler on the given editor and presenter. |
void |
modelChanged(org.eclipse.xtext.resource.XtextResource resource)
|
void |
refresh()
Refreshes the highlighting. |
void |
setCalculator(org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator calculator)
|
void |
uninstall()
Uninstall this reconciler from the editor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HighlightingReconciler()
Method Detail |
---|
public void addPosition(int offset, int length, String... ids)
addPosition
in interface org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightedPositionAcceptor
offset
- The range offsetlength
- The range lengthhighlighting
- The highlightingpublic void install(org.eclipse.xtext.ui.editor.XtextSourceViewer sourceViewer, org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter presenter)
editor
- the editorsourceViewer
- the source viewerpresenter
- the highlighting presenterpublic void uninstall()
public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput)
inputDocumentAboutToBeChanged
in interface ITextInputListener
public void inputDocumentChanged(IDocument oldInput, IDocument newInput)
inputDocumentChanged
in interface ITextInputListener
public void refresh()
public void modelChanged(org.eclipse.xtext.resource.XtextResource resource)
modelChanged
in interface org.eclipse.xtext.ui.editor.model.IXtextModelListener
public void setCalculator(org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator calculator)
public org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator getCalculator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |