Class HandlyXtextReconciler
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.core.internal.jobs.InternalJob
-
- org.eclipse.core.runtime.jobs.Job
-
- org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
- org.eclipse.handly.xtext.ui.editor.HandlyXtextReconciler
-
- All Implemented Interfaces:
java.lang.Comparable<org.eclipse.core.internal.jobs.InternalJob>,org.eclipse.core.runtime.IAdaptable,org.eclipse.jface.text.reconciler.IReconciler
public class HandlyXtextReconciler extends org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerAdaptation ofXtextReconcilerfor Handly reconciling story.Bind this class in place of the default
XtextReconcilerif you haveHandlyXtextDocumentbound:public Class<? extends IReconciler> bindIReconciler() { return HandlyXtextReconciler.class; }- Restriction:
- This class is not intended to be extended by clients.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.DocumentListener, org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.InputChangedDocumentEvent, org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.TextInputListener
-
-
Constructor Summary
Constructors Constructor Description HandlyXtextReconciler(com.google.inject.Injector injector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforceReconcile()org.eclipse.jface.text.reconciler.IReconcilingStrategygetReconcilingStrategy(java.lang.String contentType)voidinstall(org.eclipse.jface.text.ITextViewer textViewer)voidsetDelay(int delay)voidsetEditor(org.eclipse.xtext.ui.editor.XtextEditor editor)voidsetReconcilingStrategy(org.eclipse.jface.text.reconciler.IReconcilingStrategy strategy)booleanshouldSchedule()voiduninstall()-
Methods inherited from class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
belongsTo, getAndResetReplaceRegion, getResourceText, handleInputDocumentChanged, pause, resume, run
-
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, cancel, canceling, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, sleep, toString, wakeUp, wakeUp, yieldRule
-
-
-
-
Method Detail
-
install
public void install(org.eclipse.jface.text.ITextViewer textViewer)
- Specified by:
installin interfaceorg.eclipse.jface.text.reconciler.IReconciler- Overrides:
installin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
uninstall
public void uninstall()
- Specified by:
uninstallin interfaceorg.eclipse.jface.text.reconciler.IReconciler- Overrides:
uninstallin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
getReconcilingStrategy
public org.eclipse.jface.text.reconciler.IReconcilingStrategy getReconcilingStrategy(java.lang.String contentType)
- Specified by:
getReconcilingStrategyin interfaceorg.eclipse.jface.text.reconciler.IReconciler- Overrides:
getReconcilingStrategyin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
setReconcilingStrategy
public void setReconcilingStrategy(org.eclipse.jface.text.reconciler.IReconcilingStrategy strategy)
- Overrides:
setReconcilingStrategyin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
setEditor
public void setEditor(org.eclipse.xtext.ui.editor.XtextEditor editor)
- Overrides:
setEditorin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
setDelay
public void setDelay(int delay)
- Overrides:
setDelayin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
forceReconcile
public void forceReconcile()
- Overrides:
forceReconcilein classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
shouldSchedule
public boolean shouldSchedule()
- Overrides:
shouldSchedulein classorg.eclipse.core.runtime.jobs.Job
-
-