public class WorkingCopyReconcilingStrategy
extends java.lang.Object
implements org.eclipse.jface.text.reconciler.IReconcilingStrategy, org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension
Constructor and Description |
---|
WorkingCopyReconcilingStrategy(IWorkingCopyManager workingCopyManager)
Creates a new working copy reconciling strategy
with the given working copy manager.
|
Modifier and Type | Method and Description |
---|---|
void |
initialReconcile() |
void |
reconcile(org.eclipse.jface.text.reconciler.DirtyRegion dirtyRegion,
org.eclipse.jface.text.IRegion subRegion) |
void |
reconcile(org.eclipse.jface.text.IRegion partition) |
protected void |
reconcile(ISourceFile workingCopy,
boolean initialReconcile,
org.eclipse.core.runtime.IProgressMonitor monitor)
Reconciles the given working copy.
|
void |
setDocument(org.eclipse.jface.text.IDocument document) |
void |
setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor) |
public WorkingCopyReconcilingStrategy(IWorkingCopyManager workingCopyManager)
workingCopyManager
- the working copy manager (not null
)public void setDocument(org.eclipse.jface.text.IDocument document)
setDocument
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
public void setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
setProgressMonitor
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension
public final void initialReconcile()
initialReconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension
public final void reconcile(org.eclipse.jface.text.reconciler.DirtyRegion dirtyRegion, org.eclipse.jface.text.IRegion subRegion)
reconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
public final void reconcile(org.eclipse.jface.text.IRegion partition)
reconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
protected void reconcile(ISourceFile workingCopy, boolean initialReconcile, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
workingCopy
- the given working copy (never null
)initialReconcile
- true
if this is the initial reconcilemonitor
- a progress monitor, or null
if progress reporting is not desired. The caller must not rely on
IProgressMonitor.done()
having been called by the receiverorg.eclipse.core.runtime.CoreException
- if the working copy cannot be reconciledorg.eclipse.core.runtime.OperationCanceledException
- if this method is canceledinitialReconcile()