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.runtime.IAdaptable
,org.eclipse.jface.text.reconciler.IReconciler
public class HandlyXtextReconciler extends org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
Adaptation ofXtextReconciler
for Handly reconciling story.Bind this class in place of the default
XtextReconciler
if you haveHandlyXtextDocument
bound: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 void
forceReconcile()
org.eclipse.jface.text.reconciler.IReconcilingStrategy
getReconcilingStrategy(java.lang.String contentType)
void
install(org.eclipse.jface.text.ITextViewer textViewer)
void
setDelay(int delay)
void
setEditor(org.eclipse.xtext.ui.editor.XtextEditor editor)
void
setReconcilingStrategy(org.eclipse.jface.text.reconciler.IReconcilingStrategy strategy)
boolean
shouldSchedule()
void
uninstall()
-
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:
install
in interfaceorg.eclipse.jface.text.reconciler.IReconciler
- Overrides:
install
in classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
uninstall
public void uninstall()
- Specified by:
uninstall
in interfaceorg.eclipse.jface.text.reconciler.IReconciler
- Overrides:
uninstall
in classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
getReconcilingStrategy
public org.eclipse.jface.text.reconciler.IReconcilingStrategy getReconcilingStrategy(java.lang.String contentType)
- Specified by:
getReconcilingStrategy
in interfaceorg.eclipse.jface.text.reconciler.IReconciler
- Overrides:
getReconcilingStrategy
in classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
setReconcilingStrategy
public void setReconcilingStrategy(org.eclipse.jface.text.reconciler.IReconcilingStrategy strategy)
- Overrides:
setReconcilingStrategy
in classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
setEditor
public void setEditor(org.eclipse.xtext.ui.editor.XtextEditor editor)
- Overrides:
setEditor
in classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
setDelay
public void setDelay(int delay)
- Overrides:
setDelay
in classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
forceReconcile
public void forceReconcile()
- Overrides:
forceReconcile
in classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
shouldSchedule
public boolean shouldSchedule()
- Overrides:
shouldSchedule
in classorg.eclipse.core.runtime.jobs.Job
-
-