Class 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$
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand

        org.eclipse.emf.common.command.AbstractCommand.NonDirtying
    • 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 interface IChangeProvider
        Parameters:
        changes - The primitive changes which were recorded
        Returns:
        Change representation
      • getChangeDescription

        public org.eclipse.emf.ecore.change.ChangeDescription getChangeDescription()