public class HandlyXtextReconciler
extends org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
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; }
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 and Description |
---|
HandlyXtextReconciler(com.google.inject.Injector injector) |
Modifier and Type | Method and 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() |
belongsTo, getAndResetReplaceRegion, getResourceText, handleInputDocumentChanged, pause, resume, run
addJobChangeListener, cancel, canceling, create, create, createSystem, 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
@Inject public HandlyXtextReconciler(com.google.inject.Injector injector)
public void install(org.eclipse.jface.text.ITextViewer textViewer)
install
in interface org.eclipse.jface.text.reconciler.IReconciler
install
in class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
public void uninstall()
uninstall
in interface org.eclipse.jface.text.reconciler.IReconciler
uninstall
in class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
public org.eclipse.jface.text.reconciler.IReconcilingStrategy getReconcilingStrategy(java.lang.String contentType)
getReconcilingStrategy
in interface org.eclipse.jface.text.reconciler.IReconciler
getReconcilingStrategy
in class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
public void setReconcilingStrategy(org.eclipse.jface.text.reconciler.IReconcilingStrategy strategy)
setReconcilingStrategy
in class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
public void setEditor(org.eclipse.xtext.ui.editor.XtextEditor editor)
setEditor
in class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
public void setDelay(int delay)
setDelay
in class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
public void forceReconcile()
forceReconcile
in class org.eclipse.xtext.ui.editor.reconciler.XtextReconciler
public boolean shouldSchedule()
shouldSchedule
in class org.eclipse.core.runtime.jobs.Job
Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0