} else if(definition instanceof SignalEventDefinition) {
return new AddBoundarySignalFeature(this);
} else if(definition instanceof MessageEventDefinition) {
return new AddBoundaryMessageFeature(this);
} else {
return new AddBoundaryTimerFeature(this);
}
}
} else if (context.getNewObject() instanceof IntermediateCatchEvent) {
if(((IntermediateCatchEvent) context.getNewObject()).getEventDefinitions().size() > 0) {
EventDefinition definition = ((IntermediateCatchEvent) context.getNewObject()).getEventDefinitions().get(0);