return super.canCreate(context);
}
public Object[] create(ICreateContext context) {
StartEvent startEvent = new StartEvent();
MessageEventDefinition timerEvent = new MessageEventDefinition();
startEvent.getEventDefinitions().add(timerEvent);
addObjectToContainer(context, startEvent, "Message start");
// return newly created business object(s)
return new Object[] { startEvent };