Class AbstractReconcileStep
java.lang.Object
org.eclipse.jface.text.reconciler.AbstractReconcileStep
- All Implemented Interfaces:
- IReconcileStep
Abstract implementation of a reconcile step.
- Since:
- 3.0
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCreates the last reconcile step of the pipe.Creates an intermediate reconcile step which adds the given step to the pipe.
- 
Method SummaryModifier and TypeMethodDescriptionprotected IReconcileResult[]convertToInputModel(IReconcileResult[] inputResults) Adapts the given an array with reconcile results to this step's input model and returns it.Returns the reconcilable input model.abstract IReconcilableModelgetModel()Returns the reconcilable model.Returns the progress monitor used to report progress.protected final booleanbooleanReturns whether this is the first reconcile step or not.booleanReturns whether this is the last reconcile step or not.final IReconcileResult[]Activates non-incremental reconciling.final IReconcileResult[]reconcile(DirtyRegion dirtyRegion, IRegion subRegion) Activates incremental reconciling of the specified dirty region.protected abstract IReconcileResult[]reconcileModel(DirtyRegion dirtyRegion, IRegion subRegion) Reconciles the model of this reconcile step.voidsetInputModel(IReconcilableModel inputModel) Tells this reconcile step on which model it will work.voidSets the step which is in front of this step in the pipe.voidsetProgressMonitor(IProgressMonitor monitor) Sets the progress monitor for this reconcile step.
- 
Field Details- 
fInputModel
 
- 
- 
Constructor Details- 
AbstractReconcileStepCreates an intermediate reconcile step which adds the given step to the pipe.- Parameters:
- step- the reconcile step
 
- 
AbstractReconcileSteppublic AbstractReconcileStep()Creates the last reconcile step of the pipe.
 
- 
- 
Method Details- 
isLastSteppublic boolean isLastStep()Description copied from interface:IReconcileStepReturns whether this is the last reconcile step or not.- Specified by:
- isLastStepin interface- IReconcileStep
- Returns:
- trueiff this is the last reconcile step
 
- 
isFirstSteppublic boolean isFirstStep()Description copied from interface:IReconcileStepReturns whether this is the first reconcile step or not.- Specified by:
- isFirstStepin interface- IReconcileStep
- Returns:
- trueiff this is the first reconcile step
 
- 
setProgressMonitorDescription copied from interface:IReconcileStepSets the progress monitor for this reconcile step.- Specified by:
- setProgressMonitorin interface- IReconcileStep
- Parameters:
- monitor- the progress monitor to be used
 
- 
getProgressMonitorDescription copied from interface:IReconcileStepReturns the progress monitor used to report progress.- Specified by:
- getProgressMonitorin interface- IReconcileStep
- Returns:
- a progress monitor or nullif no progress monitor is available
 
- 
reconcileDescription copied from interface:IReconcileStepActivates non-incremental reconciling. The reconciling strategy is just told that there are changes and that it should reconcile the given partition of the document most recently passed intoIReconcilingStrategy.setDocument(org.eclipse.jface.text.IDocument).- Specified by:
- reconcilein interface- IReconcileStep
- Parameters:
- partition- the document partition to be reconciled
- Returns:
- an array with reconcile results
 
- 
reconcileDescription copied from interface:IReconcileStepActivates incremental reconciling of the specified dirty region. As a dirty region might span multiple content types, the segment of the dirty region which should be investigated is also provided to this reconciling strategy. The given regions refer to the document passed into the most recent call ofIReconcilingStrategy.setDocument(org.eclipse.jface.text.IDocument).- Specified by:
- reconcilein interface- IReconcileStep
- Parameters:
- dirtyRegion- the document region which has been changed
- subRegion- the sub region in the dirty region which should be reconciled
- Returns:
- an array with reconcile results
 
- 
reconcileModelReconciles the model of this reconcile step. The result is based on the input model.- Parameters:
- dirtyRegion- the document region which has been changed
- subRegion- the sub region in the dirty region which should be reconciled
- Returns:
- an array with reconcile results
 
- 
convertToInputModelAdapts the given an array with reconcile results to this step's input model and returns it.- Parameters:
- inputResults- an array with reconcile results
- Returns:
- an array with the reconcile results adapted to the input model
 
- 
isCanceledprotected final boolean isCanceled()
- 
setPreviousStepDescription copied from interface:IReconcileStepSets the step which is in front of this step in the pipe.Note: This method must be called at most once per reconcile step. - Specified by:
- setPreviousStepin interface- IReconcileStep
- Parameters:
- step- the previous step
 
- 
setInputModelDescription copied from interface:IReconcileStepTells this reconcile step on which model it will work. This method will be called before any other method and can be called multiple times. The regions passed to the other methods always refer to the most recent model passed into this method.- Specified by:
- setInputModelin interface- IReconcileStep
- Parameters:
- inputModel- the model on which this step will work
 
- 
getInputModelReturns the reconcilable input model.- Returns:
- the reconcilable input model.
 
- 
getModelReturns the reconcilable model.- Returns:
- the reconcilable model
 
 
-