public class IterateOverContainers extends ExtendOperation<org.eclipse.emf.ecore.EObject>
| Constructor and Description |
|---|
IterateOverContainers(int position,
int sourcePosition,
boolean transitive) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Integer> |
getVariablePositions() |
void |
onInitialize(MatchingFrame frame,
ISearchContext context)
During the execution of the corresponding plan, the onInitialize callback is evaluated before the execution of
the operation may begin.
|
java.lang.String |
toString() |
execute, onBacktrackpublic IterateOverContainers(int position,
int sourcePosition,
boolean transitive)
position - the position of the variable storing the found parent elementssourcePosition - the position of the variable storing the selected element; must be boundtransitive - if false, only the direct container is returned; otherwise all containerspublic void onInitialize(MatchingFrame frame, ISearchContext context)
ISearchOperationpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<java.lang.Integer> getVariablePositions()