org.eclipse.ocl.examples.xtext.base.cs2pivot
Class BasicContinuation<T>
java.lang.Object
org.eclipse.ocl.examples.xtext.base.cs2pivot.BasicContinuation<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- Continuation<T>
- Direct Known Subclasses:
- MultipleContinuation, SingleContinuation
public abstract class BasicContinuation<T>
- extends java.lang.Object
- implements Continuation<T>
A BasicContinuation defines a conversion activity that needs to be performed once
its dependencies have been satisfied. All BasicContinuations are implicitly dependent
on the end of the pre and posrt order traversals.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
context
protected final CS2PivotConversion context
pivotParent
protected final Element pivotParent
pivotFeature
protected final org.eclipse.emf.ecore.EStructuralFeature pivotFeature
csElement
protected final T csElement
dependencies
protected final Dependency[] dependencies
BasicContinuation
public BasicContinuation(CS2PivotConversion context,
Element pivotParent,
org.eclipse.emf.ecore.EStructuralFeature pivotFeature,
T csElement,
Dependency... dependencies)
addError
public void addError(java.lang.String message)
addTo
public void addTo(java.util.List<BasicContinuation<?>> simpleContinuations)
- Specified by:
addTo in interface Continuation<T>
canExecute
public boolean canExecute()
execute
public abstract BasicContinuation<?> execute()
getDependencies
public Dependency[] getDependencies()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object