org.eclipse.xtext.ui.editor.syntaxcoloring
Class HighlightingHelper
java.lang.Object
org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingHelper
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.util.IPropertyChangeListener, IHighlightingHelper
public class HighlightingHelper
- extends java.lang.Object
- implements IHighlightingHelper, org.eclipse.jface.util.IPropertyChangeListener
Highlighting helper.
Initially copied from org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightingManager
- Author:
- Sebastian Zarnekow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HighlightingHelper
public HighlightingHelper()
install
public void install(XtextEditor editor,
XtextSourceViewer sourceViewer)
- Specified by:
install
in interface IHighlightingHelper
install
public void install(XtextSourceViewerConfiguration configuration,
XtextSourceViewer sourceViewer)
- Since:
- 2.3
uninstall
public void uninstall()
- Specified by:
uninstall
in interface IHighlightingHelper
getReconciler
public HighlightingReconciler getReconciler()
- Returns this hightlighter's reconciler.
- Returns:
- the highlighter reconciler or
null
if none
setReconcilerProvider
public void setReconcilerProvider(com.google.inject.Provider<HighlightingReconciler> reconcilerProvider)
getReconcilerProvider
public com.google.inject.Provider<HighlightingReconciler> getReconcilerProvider()
setPresenterProvider
public void setPresenterProvider(com.google.inject.Provider<HighlightingPresenter> presenterProvider)
getPresenterProvider
public com.google.inject.Provider<HighlightingPresenter> getPresenterProvider()
setPreferenceStoreAccessor
public void setPreferenceStoreAccessor(IPreferenceStoreAccess preferenceStoreAccessor)
getPreferenceStoreAccessor
public IPreferenceStoreAccess getPreferenceStoreAccessor()
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Specified by:
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener