Class EcoreBackwardReconstructor
- java.lang.Object
-
- org.eclipse.emf.edapt.history.reconstruction.CompositeReconstructorBase
-
- org.eclipse.emf.edapt.history.reconstruction.BackwardReconstructorBase
-
- org.eclipse.emf.edapt.history.reconstruction.EcoreBackwardReconstructor
-
- All Implemented Interfaces:
IReconstructor
public class EcoreBackwardReconstructor extends BackwardReconstructorBase
Reconstructor for reconstructing a certain version of the metamodel by visiting the history in backward direction.- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Constructor Summary
Constructors Constructor Description EcoreBackwardReconstructor(org.eclipse.emf.common.util.URI folder)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endChange(Change change)
Reconstruction of a change is finishedvoid
init(Mapping mapping, MetamodelExtent extent)
Initialization will be called at the very beginning of reconstructionvoid
startChange(Change change)
Reconstruction of a change starts-
Methods inherited from class org.eclipse.emf.edapt.history.reconstruction.CompositeReconstructorBase
addReconstructor, endHistory, endRelease, getExtent, getMapping, getResourceSet, reconstruct, reconstruct, startHistory, startRelease
-
-
-
-
Method Detail
-
init
public void init(Mapping mapping, MetamodelExtent extent)
Initialization will be called at the very beginning of reconstruction- Specified by:
init
in interfaceIReconstructor
- Overrides:
init
in classCompositeReconstructorBase
- Parameters:
mapping
- Mapping from old to new elementsextent
- Extent
-
startChange
public void startChange(Change change)
Reconstruction of a change starts- Specified by:
startChange
in interfaceIReconstructor
- Overrides:
startChange
in classCompositeReconstructorBase
- Parameters:
change
- Original change
-
endChange
public void endChange(Change change)
Reconstruction of a change is finished- Specified by:
endChange
in interfaceIReconstructor
- Overrides:
endChange
in classCompositeReconstructorBase
- Parameters:
change
- Original release
-
-