return new AddErrorEndEventFeature(this);
} else if (eventDefinition instanceof TerminateEventDefinition) {
return new AddTerminateEndEventFeature(this);
}
}
return new AddEndEventFeature(this);
} else if (context.getNewObject() instanceof SequenceFlow) {
return new AddSequenceFlowFeature(this);
} else if (context.getNewObject() instanceof Association) {