}
} else if (context.getNewObject() instanceof ThrowEvent) {
if(((ThrowEvent) context.getNewObject()).getEventDefinitions().size() > 0) {
return new AddSignalThrowingEventFeature(this);
} else {
return new AddNoneThrowingEventFeature(this);
}
} else if (context.getNewObject() instanceof EventSubProcess) {
return new AddEventSubProcessFeature(this);
} else if (context.getNewObject() instanceof SubProcess) {
return new AddEmbeddedSubProcessFeature(this);