Class UndoChangesCommand
- java.lang.Object
-
- org.eclipse.emf.common.command.AbstractCommand
-
- org.eclipse.emf.edit.command.ChangeCommand
-
- org.eclipse.emf.edapt.history.instantiation.UndoChangesCommand
-
- All Implemented Interfaces:
org.eclipse.emf.common.command.Command
,IChangeProvider
public class UndoChangesCommand extends org.eclipse.emf.edit.command.ChangeCommand implements IChangeProvider
Command to undo a number of changes- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Constructor Summary
Constructors Constructor Description UndoChangesCommand(List<Change> changes, MetamodelExtent extent)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
UndoChangesCommand
public UndoChangesCommand(List<Change> changes, MetamodelExtent extent)
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
-
-