return new AddMessageStartEventFeature(this);
} else {
return new AddErrorStartEventFeature(this);
}
} else {
return new AddStartEventFeature(this);
}
}
} else if (context.getNewObject() instanceof EndEvent) {
EndEvent endEvent = (EndEvent) context.getNewObject();
for (EventDefinition eventDefinition : endEvent.getEventDefinitions()) {