org.eclipse.ocl.examples.xtext.console.xtfo
Class HighlightingHelper
java.lang.Object
org.eclipse.ocl.examples.xtext.console.xtfo.HighlightingHelper
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.util.IPropertyChangeListener
public class HighlightingHelper
- extends java.lang.Object
- implements org.eclipse.jface.util.IPropertyChangeListener
- Author:
- Sebastian Zarnekow - Initial contribution and API
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(org.eclipse.xtext.ui.editor.XtextSourceViewerConfiguration configuration,
org.eclipse.xtext.ui.editor.XtextSourceViewer sourceViewer)
uninstall
public void uninstall()
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<org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter> presenterProvider)
getPresenterProvider
public com.google.inject.Provider<org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter> getPresenterProvider()
setPreferenceStoreAccessor
public void setPreferenceStoreAccessor(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess preferenceStoreAccessor)
getPreferenceStoreAccessor
public org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess getPreferenceStoreAccessor()
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Specified by:
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener