fix(context pad): remove instantiating gateways from replace menu

close #212
This commit is contained in:
jdotzki 2015-03-03 15:14:00 +01:00
parent 7207d010db
commit 22c0065d5d
1 changed files with 19 additions and 18 deletions

View File

@ -319,25 +319,26 @@ var gatewayReplace = [
options: {
newBusinessAtt: { instantiate: false, eventGatewayType: 'Exclusive' }
}
},
{
label: 'Event based instantiating Gateway',
actionName: 'replace-with-exclusive-event-based-gateway',
className: 'icon-exclusive-event-based',
targetType: 'bpmn:EventBasedGateway',
options: {
newBusinessAtt: { instantiate: true, eventGatewayType: 'Exclusive' }
}
},
{
label: 'Parallel Event based instantiating Gateway',
actionName: 'replace-with-parallel-event-based-instantiate-gateway',
className: 'icon-parallel-event-based-instantiate-gateway',
targetType: 'bpmn:EventBasedGateway',
options: {
newBusinessAtt: { instantiate: true, eventGatewayType: 'Parallel' }
}
}
// Gateways deactivated until https://github.com/bpmn-io/bpmn-js/issues/194
// {
// label: 'Event based instantiating Gateway',
// actionName: 'replace-with-exclusive-event-based-gateway',
// className: 'icon-exclusive-event-based',
// targetType: 'bpmn:EventBasedGateway',
// options: {
// newBusinessAtt: { instantiate: true, eventGatewayType: 'Exclusive' }
// }
// },
// {
// label: 'Parallel Event based instantiating Gateway',
// actionName: 'replace-with-parallel-event-based-instantiate-gateway',
// className: 'icon-parallel-event-based-instantiate-gateway',
// targetType: 'bpmn:EventBasedGateway',
// options: {
// newBusinessAtt: { instantiate: true, eventGatewayType: 'Parallel' }
// }
// }
];
var taskReplace = [