org.eclipse.emf.henshin.interpreter.impl
Class ChangeImpl.CompoundChangeImpl

java.lang.Object
  extended by org.eclipse.emf.henshin.interpreter.impl.ChangeImpl
      extended by org.eclipse.emf.henshin.interpreter.impl.ChangeImpl.CompoundChangeImpl
All Implemented Interfaces:
Change, Change.CompoundChange
Enclosing class:
ChangeImpl

public static final class ChangeImpl.CompoundChangeImpl
extends ChangeImpl
implements Change.CompoundChange

Default implementation of CompoundChange.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.henshin.interpreter.impl.ChangeImpl
ChangeImpl.AttributeChangeImpl, ChangeImpl.CompoundChangeImpl, ChangeImpl.IndexChangeImpl, ChangeImpl.ObjectChangeImpl, ChangeImpl.ReferenceChangeImpl
 
Nested classes/interfaces inherited from interface org.eclipse.emf.henshin.interpreter.Change
Change.AttributeChange, Change.CompoundChange, Change.IndexChange, Change.ObjectChange, Change.ReferenceChange
 
Field Summary
 
Fields inherited from class org.eclipse.emf.henshin.interpreter.impl.ChangeImpl
graph, PRINT_WARNINGS
 
Constructor Summary
ChangeImpl.CompoundChangeImpl(EGraph graph)
          Default constructor.
 
Method Summary
 void applyAndReverse()
          Apply this change description and reverse it so that is can be undone / redone.
 List<Change> getChanges()
           
 
Methods inherited from class org.eclipse.emf.henshin.interpreter.impl.ChangeImpl
getEGraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.henshin.interpreter.Change
getEGraph
 

Constructor Detail

ChangeImpl.CompoundChangeImpl

public ChangeImpl.CompoundChangeImpl(EGraph graph)
Default constructor.

Parameters:
graph - EGraph to be changed.
Method Detail

applyAndReverse

public void applyAndReverse()
Description copied from interface: Change
Apply this change description and reverse it so that is can be undone / redone.

Specified by:
applyAndReverse in interface Change

getChanges

public List<Change> getChanges()
Specified by:
getChanges in interface Change.CompoundChange