org.eclipse.ocl.examples.xtext.console.xtfo
Class HighlightingHelper

java.lang.Object
  extended by 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

Constructor Summary
HighlightingHelper()
           
 
Method Summary
 org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess getPreferenceStoreAccessor()
           
 com.google.inject.Provider<org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter> getPresenterProvider()
           
 HighlightingReconciler getReconciler()
          Returns this hightlighter's reconciler.
 com.google.inject.Provider<HighlightingReconciler> getReconcilerProvider()
           
 void install(org.eclipse.xtext.ui.editor.XtextSourceViewerConfiguration configuration, org.eclipse.xtext.ui.editor.XtextSourceViewer sourceViewer)
           
 void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
           
 void setPreferenceStoreAccessor(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess preferenceStoreAccessor)
           
 void setPresenterProvider(com.google.inject.Provider<org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingPresenter> presenterProvider)
           
 void setReconcilerProvider(com.google.inject.Provider<HighlightingReconciler> reconcilerProvider)
           
 void uninstall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighlightingHelper

public HighlightingHelper()
Method Detail

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