// set name and description of the creation feature
super(fp, "SignalThrowingEvent", "Add signal intermediate throwing event");
}
public Object[] create(ICreateContext context) {
ThrowEvent throwEvent = new ThrowEvent();
SignalEventDefinition eventDef = new SignalEventDefinition();
throwEvent.getEventDefinitions().add(eventDef);
addObjectToContainer(context, throwEvent, "SignalThrowEvent");
// return newly created business object(s)
return new Object[] { throwEvent };
}