Class RepairMetamodelIntegrityCommand
- java.lang.Object
-
- org.eclipse.emf.common.command.AbstractCommand
-
- org.eclipse.emf.edit.command.ChangeCommand
-
- org.eclipse.emf.edapt.history.reconstruction.RepairMetamodelIntegrityCommand
-
- All Implemented Interfaces:
org.eclipse.emf.common.command.Command
,IChangeProvider
public class RepairMetamodelIntegrityCommand extends org.eclipse.emf.edit.command.ChangeCommand implements IChangeProvider
Command to adapt the current metamodel version to the version reconstructed from the history.- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Constructor Summary
Constructors Constructor Description RepairMetamodelIntegrityCommand(Collection<org.eclipse.emf.ecore.EPackage> rootPackages)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.change.ChangeDescription
getChangeDescription()
List<Change>
getChanges(List<PrimitiveChange> changes)
Provide a representation of the change it causes-
Methods inherited from class org.eclipse.emf.edit.command.ChangeCommand
dispose, execute, getChangeRecorder, redo, undo
-
-
-
-
Constructor Detail
-
RepairMetamodelIntegrityCommand
public RepairMetamodelIntegrityCommand(Collection<org.eclipse.emf.ecore.EPackage> rootPackages)
Constructor.
-
-
Method Detail
-
getChanges
public List<Change> getChanges(List<PrimitiveChange> changes)
Provide a representation of the change it causes- Specified by:
getChanges
in interfaceIChangeProvider
- Parameters:
changes
- The primitive changes which were recorded- Returns:
- Change representation
-
getChangeDescription
public org.eclipse.emf.ecore.change.ChangeDescription getChangeDescription()
-
-