fix(contextpad): add missing events to replace menu

close #209
close #217
This commit is contained in:
jdotzki 2015-03-04 12:28:18 +01:00
parent 225cbb914c
commit 1c45d98f9a
1 changed files with 12 additions and 3 deletions

View File

@ -125,7 +125,7 @@ var startEventReplace = [
label: 'Escalation Intermediate Catch Event', label: 'Escalation Intermediate Catch Event',
actionName: 'replace-with-escalation-throwing', actionName: 'replace-with-escalation-throwing',
className: 'icon-04-escalation-intermediate-throwing', className: 'icon-04-escalation-intermediate-throwing',
targetType: 'bpmn:IntermediateCatchEvent', targetType: 'bpmn:IntermediateThrowEvent',
options: { options: {
eventDefinition: 'bpmn:EscalationEventDefinition' eventDefinition: 'bpmn:EscalationEventDefinition'
} }
@ -158,8 +158,17 @@ var startEventReplace = [
} }
}, },
{ {
label: 'Signal Intermediate Catch Event', label: 'Compensation Intermediate Throw Event',
actionName: 'replace-with-signal-intermediate-catch', actionName: 'replace-with-compensation-intermediate-throw',
className: 'icon-09-compensation-intermediate-throwing',
targetType: 'bpmn:IntermediateThrowEvent',
options: {
eventDefinition: 'bpmn:CompensateEventDefinition'
}
},
{
label: 'Signal Throw Catch Event',
actionName: 'replace-with-throw-intermediate-catch',
className: 'icon-10-signal-intermediate', className: 'icon-10-signal-intermediate',
targetType: 'bpmn:IntermediateCatchEvent', targetType: 'bpmn:IntermediateCatchEvent',
options: { options: {