use of org.obeonetwork.dsl.interaction.CombinedFragment in project InformationSystem by ObeoNetwork.
the class OperandImpl method getFinishingEnd.
/**
* @generated NOT
*/
@Override
public End getFinishingEnd() {
End result = null;
EObject eContainer = eContainer();
if (eContainer instanceof CombinedFragment) {
CombinedFragment cf = (CombinedFragment) eContainer;
result = cf.getFinishingEnd();
Operand prev = null;
for (Operand op : cf.getOwnedOperands()) {
if (this.equals(prev)) {
result = op.getStartingEnd();
break;
} else {
prev = op;
}
}
}
return result;
}
Aggregations