public abstract class EditorWorkingCopyReconciler extends WorkingCopyReconciler
| Constructor and Description |
|---|
EditorWorkingCopyReconciler(org.eclipse.ui.IEditorPart editor,
IWorkingCopyManager workingCopyManager)
Creates a new working copy reconciler for the given editor and with
the given working copy manager.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.ui.IEditorPart |
getEditor()
Returns the editor this reconciler is associated with.
|
protected java.lang.Object |
getReconcilerLock()
Returns the mutex for this reconciler.
|
void |
install(org.eclipse.jface.text.ITextViewer textViewer) |
void |
uninstall() |
addElementChangeListener, elementChanged, forceReconciling, getReconcilingStrategy, initialProcess, isActive, isAffectedBy, isAffectedBy, process, reconcilerDocumentChanged, removeElementChangeListener, setActive, setProgressMonitor, setReconcilingStrategyaboutToBeReconciled, getDocument, getProgressMonitor, getTextViewer, isIncrementalReconciler, isRunningInReconcilerThread, reconcilerReset, setDelay, setIsAllowedToModifyDocument, setIsIncrementalReconciler, startReconcilingpublic EditorWorkingCopyReconciler(org.eclipse.ui.IEditorPart editor,
IWorkingCopyManager workingCopyManager)
WorkingCopyReconcilingStrategy) that is used irrespective of where
a dirty region is located in the reconciler's document.editor - not nullworkingCopyManager - not nullpublic void install(org.eclipse.jface.text.ITextViewer textViewer)
WorkingCopyReconciler extends this method to register an
element change listener that notifies when a change in the underlying model affects the reconciler in some way, and also
to register a shell listener that sets
the active state of the reconciler when the reconciler's text viewer
is activated or deactivated.
EditorWorkingCopyReconciler extends this method to register
a part listener that sets the active state of the reconciler when the
reconciler's editor is activated or deactivated.
install in interface org.eclipse.jface.text.reconciler.IReconcilerinstall in class WorkingCopyReconcilerpublic void uninstall()
uninstall in interface org.eclipse.jface.text.reconciler.IReconcileruninstall in class WorkingCopyReconcilerprotected java.lang.Object getReconcilerLock()
This implementation returns the editor object as returned by
getEditor().
getReconcilerLock in class WorkingCopyReconcilernull)protected final org.eclipse.ui.IEditorPart getEditor()
null)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0