|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IReconcilingStrategy
A reconciling strategy is used by an reconciler to reconcile a model based on text of a particular content type. It provides methods for incremental as well as non-incremental reconciling.
If a reconcile strategy consists of several steps between which
model transformation is desired the each step should implement
IReconcileStep.
In order to provide backward compatibility for clients of IReconcilingStrategy, extension
interfaces are used to provide a means of evolution. The following extension interfaces exist:
IReconcilingStrategyExtension since version 2.0 introducing
the following functions:
This interface must be implemented by clients. Implementers should be registered with a reconciler in order get involved in the reconciling process.
| Method Summary | |
|---|---|
void |
reconcile(DirtyRegion dirtyRegion,
IRegion subRegion)
Activates incremental reconciling of the specified dirty region. |
void |
reconcile(IRegion partition)
Activates non-incremental reconciling. |
void |
setDocument(IDocument document)
Tells this reconciling strategy on which document it will work. |
| Method Detail |
|---|
void setDocument(IDocument document)
document - the document on which this strategy will work
void reconcile(DirtyRegion dirtyRegion,
IRegion subRegion)
setDocument(IDocument).
dirtyRegion - the document region which has been changedsubRegion - the sub region in the dirty region which should be reconciledvoid reconcile(IRegion partition)
setDocument(IDocument).
partition - the document partition to be reconciled
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.