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:
Comparable<org.eclipse.core.internal.jobs.InternalJob>,org.eclipse.core.runtime.IAdaptable,org.eclipse.jface.text.ITextViewerLifecycle,org.eclipse.jface.text.reconciler.IReconciler
public class HandlyXtextReconciler
extends org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
Adaptation of
XtextReconciler for Handly reconciling story.
Bind this class in place of the default XtextReconciler
if you have HandlyXtextDocument 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 -
Field Summary
Fields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITINGFields inherited from class org.eclipse.core.internal.jobs.InternalJob
manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.eclipse.jface.text.reconciler.IReconcilingStrategygetReconcilingStrategy(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) booleanvoidMethods inherited from class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
belongsTo, getAndResetReplaceRegion, getResourceText, handleInputDocumentChanged, pause, resume, runMethods 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, yieldRuleMethods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareToMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
Constructor Details
-
HandlyXtextReconciler
@Inject public HandlyXtextReconciler(com.google.inject.Injector injector)
-
-
Method Details
-
install
public void install(org.eclipse.jface.text.ITextViewer textViewer) - Specified by:
installin interfaceorg.eclipse.jface.text.reconciler.IReconciler- Specified by:
installin interfaceorg.eclipse.jface.text.ITextViewerLifecycle- Overrides:
installin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
uninstall
public void uninstall()- Specified by:
uninstallin interfaceorg.eclipse.jface.text.reconciler.IReconciler- Specified by:
uninstallin interfaceorg.eclipse.jface.text.ITextViewerLifecycle- Overrides:
uninstallin classorg.eclipse.xtext.ui.editor.reconciler.XtextReconciler
-
getReconcilingStrategy
public org.eclipse.jface.text.reconciler.IReconcilingStrategy getReconcilingStrategy(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
-