|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void setDocument(IDocument document)
document
- the document on which this strategy will workpublic 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 reconciledpublic void reconcile(IRegion partition)
setDocument(IDocument)
.
partition
- the document partition to be reconciled
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.