parent
89a3a6bcd8
commit
e665895448
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 211 KiB After Width: | Height: | Size: 165 KiB |
Binary file not shown.
Binary file not shown.
|
@ -119,10 +119,11 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
|
||||||
!bpmnElement.$instanceOf('bpmn:EventBasedGateway')) {
|
!bpmnElement.$instanceOf('bpmn:EventBasedGateway')) {
|
||||||
|
|
||||||
assign(actions, {
|
assign(actions, {
|
||||||
'append.end-event': appendAction('bpmn:EndEvent', 'icon-01-none-end'),
|
'append.end-event': appendAction('bpmn:EndEvent', 'icon-01-none-end-event'),
|
||||||
'append.gateway': appendAction('bpmn:ExclusiveGateway', 'icon-exclusive-gateway-variant-1'),
|
'append.gateway': appendAction('bpmn:ExclusiveGateway', 'icon-exclusive-gateway'),
|
||||||
'append.append-task': appendAction('bpmn:Task', 'icon-task'),
|
'append.append-task': appendAction('bpmn:Task', 'icon-task'),
|
||||||
'append.intermediate-event': appendAction('bpmn:IntermediateThrowEvent', 'icon-01-none-intermediate-throwing'),
|
'append.intermediate-event': appendAction('bpmn:IntermediateThrowEvent',
|
||||||
|
'icon-01-none-intermediate-throw-event'),
|
||||||
'connect': {
|
'connect': {
|
||||||
group: 'connect',
|
group: 'connect',
|
||||||
className: 'icon-connection',
|
className: 'icon-connection',
|
||||||
|
|
|
@ -7,7 +7,7 @@ var startEventReplace = [
|
||||||
},
|
},
|
||||||
label: 'Start Event',
|
label: 'Start Event',
|
||||||
actionName: 'replace-with-none-start',
|
actionName: 'replace-with-none-start',
|
||||||
className: 'icon-01-none-start',
|
className: 'icon-01-none-start-event',
|
||||||
targetType: 'bpmn:StartEvent'
|
targetType: 'bpmn:StartEvent'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ var startEventReplace = [
|
||||||
},
|
},
|
||||||
label: 'Intermediate Throw Event',
|
label: 'Intermediate Throw Event',
|
||||||
actionName: 'replace-with-intermediate-throwing',
|
actionName: 'replace-with-intermediate-throwing',
|
||||||
className: 'icon-01-none-intermediate-throwing',
|
className: 'icon-01-none-intermediate-throw-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent'
|
targetType: 'bpmn:IntermediateThrowEvent'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -25,13 +25,13 @@ var startEventReplace = [
|
||||||
},
|
},
|
||||||
label: 'End Event',
|
label: 'End Event',
|
||||||
actionName: 'replace-with-message-end',
|
actionName: 'replace-with-message-end',
|
||||||
className: 'icon-01-none-end',
|
className: 'icon-01-none-end-event',
|
||||||
targetType: 'bpmn:EndEvent'
|
targetType: 'bpmn:EndEvent'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Message Start Event',
|
label: 'Message Start Event',
|
||||||
actionName: 'replace-with-message-start',
|
actionName: 'replace-with-message-start',
|
||||||
className: 'icon-02-message-start',
|
className: 'icon-02-message-start-event',
|
||||||
targetType: 'bpmn:StartEvent',
|
targetType: 'bpmn:StartEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||||
|
@ -40,7 +40,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Timer Start Event',
|
label: 'Timer Start Event',
|
||||||
actionName: 'replace-with-timer-start',
|
actionName: 'replace-with-timer-start',
|
||||||
className: 'icon-03-timer-start',
|
className: 'icon-03-timer-start-event',
|
||||||
targetType: 'bpmn:StartEvent',
|
targetType: 'bpmn:StartEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:TimerEventDefinition'
|
eventDefinition: 'bpmn:TimerEventDefinition'
|
||||||
|
@ -49,7 +49,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Conditional Start Event',
|
label: 'Conditional Start Event',
|
||||||
actionName: 'replace-with-conditional-start',
|
actionName: 'replace-with-conditional-start',
|
||||||
className: 'icon-05-conditional-start',
|
className: 'icon-05-conditional-start-event',
|
||||||
targetType: 'bpmn:StartEvent',
|
targetType: 'bpmn:StartEvent',
|
||||||
options:{
|
options:{
|
||||||
eventDefinition: 'bpmn:ConditionalEventDefinition'
|
eventDefinition: 'bpmn:ConditionalEventDefinition'
|
||||||
|
@ -58,7 +58,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Signal Start Event',
|
label: 'Signal Start Event',
|
||||||
actionName: 'replace-with-signal-start',
|
actionName: 'replace-with-signal-start',
|
||||||
className: 'icon-10-signal-start',
|
className: 'icon-10-signal-start-event',
|
||||||
targetType: 'bpmn:StartEvent',
|
targetType: 'bpmn:StartEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||||
|
@ -70,7 +70,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Start Event',
|
label: 'Start Event',
|
||||||
actionName: 'replace-with-none-start',
|
actionName: 'replace-with-none-start',
|
||||||
className: 'icon-01-none-start',
|
className: 'icon-01-none-start-event',
|
||||||
targetType: 'bpmn:StartEvent',
|
targetType: 'bpmn:StartEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: ''
|
eventDefinition: ''
|
||||||
|
@ -79,7 +79,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Intermediate Throw Event',
|
label: 'Intermediate Throw Event',
|
||||||
actionName: 'replace-with-message-intermediate-throw',
|
actionName: 'replace-with-message-intermediate-throw',
|
||||||
className: 'icon-01-none-intermediate-throwing',
|
className: 'icon-01-none-intermediate-throw-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent',
|
targetType: 'bpmn:IntermediateThrowEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: ''
|
eventDefinition: ''
|
||||||
|
@ -88,7 +88,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'End Event',
|
label: 'End Event',
|
||||||
actionName: 'replace-with-message-end',
|
actionName: 'replace-with-message-end',
|
||||||
className: 'icon-01-none-end',
|
className: 'icon-01-none-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: ''
|
eventDefinition: ''
|
||||||
|
@ -97,7 +97,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Message Intermediate Catch Event',
|
label: 'Message Intermediate Catch Event',
|
||||||
actionName: 'replace-with-intermediate-catch',
|
actionName: 'replace-with-intermediate-catch',
|
||||||
className: 'icon-02-message-intermediate',
|
className: 'icon-02-message-intermediate-event',
|
||||||
targetType: 'bpmn:IntermediateCatchEvent',
|
targetType: 'bpmn:IntermediateCatchEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||||
|
@ -106,7 +106,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Message Intermediate Throw Event',
|
label: 'Message Intermediate Throw Event',
|
||||||
actionName: 'replace-with-intermediate-throw',
|
actionName: 'replace-with-intermediate-throw',
|
||||||
className: 'icon-02-message-intermediate-throwing',
|
className: 'icon-02-message-intermediate-throw-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent',
|
targetType: 'bpmn:IntermediateThrowEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||||
|
@ -115,7 +115,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Timer Intermediate Catch Event',
|
label: 'Timer Intermediate Catch Event',
|
||||||
actionName: 'replace-with-timer-intermediate-catch',
|
actionName: 'replace-with-timer-intermediate-catch',
|
||||||
className: 'icon-03-timer-intermediate',
|
className: 'icon-03-timer-intermediate-event',
|
||||||
targetType: 'bpmn:IntermediateCatchEvent',
|
targetType: 'bpmn:IntermediateCatchEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:TimerEventDefinition'
|
eventDefinition: 'bpmn:TimerEventDefinition'
|
||||||
|
@ -123,8 +123,8 @@ var startEventReplace = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Escalation Intermediate Catch Event',
|
label: 'Escalation Intermediate Catch Event',
|
||||||
actionName: 'replace-with-escalation-throwing',
|
actionName: 'replace-with-escalation-catch',
|
||||||
className: 'icon-04-escalation-intermediate-throwing',
|
className: 'icon-04-escalation-intermediate-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent',
|
targetType: 'bpmn:IntermediateThrowEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:EscalationEventDefinition'
|
eventDefinition: 'bpmn:EscalationEventDefinition'
|
||||||
|
@ -133,7 +133,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Conditional Intermediate Catch Event',
|
label: 'Conditional Intermediate Catch Event',
|
||||||
actionName: 'replace-with-conditional-intermediate-catch',
|
actionName: 'replace-with-conditional-intermediate-catch',
|
||||||
className: 'icon-05-conditional-intermediate',
|
className: 'icon-05-conditional-intermediate-event',
|
||||||
targetType: 'bpmn:IntermediateCatchEvent',
|
targetType: 'bpmn:IntermediateCatchEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:ConditionalEventDefinition'
|
eventDefinition: 'bpmn:ConditionalEventDefinition'
|
||||||
|
@ -142,7 +142,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Link Intermediate Catch Event',
|
label: 'Link Intermediate Catch Event',
|
||||||
actionName: 'replace-with-link-intermediate-catch',
|
actionName: 'replace-with-link-intermediate-catch',
|
||||||
className: 'icon-06-link-intermediate',
|
className: 'icon-06-link-intermediate-event',
|
||||||
targetType: 'bpmn:IntermediateCatchEvent',
|
targetType: 'bpmn:IntermediateCatchEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:LinkEventDefinition'
|
eventDefinition: 'bpmn:LinkEventDefinition'
|
||||||
|
@ -151,7 +151,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Link Intermediate Throw Event',
|
label: 'Link Intermediate Throw Event',
|
||||||
actionName: 'replace-with-link-intermediate-throw',
|
actionName: 'replace-with-link-intermediate-throw',
|
||||||
className: 'icon-06-link-intermediate-throwing',
|
className: 'icon-06-link-intermediate-throw-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent',
|
targetType: 'bpmn:IntermediateThrowEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:LinkEventDefinition'
|
eventDefinition: 'bpmn:LinkEventDefinition'
|
||||||
|
@ -160,7 +160,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Compensation Intermediate Throw Event',
|
label: 'Compensation Intermediate Throw Event',
|
||||||
actionName: 'replace-with-compensation-intermediate-throw',
|
actionName: 'replace-with-compensation-intermediate-throw',
|
||||||
className: 'icon-09-compensation-intermediate-throwing',
|
className: 'icon-09-compensation-intermediate-throw-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent',
|
targetType: 'bpmn:IntermediateThrowEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:CompensateEventDefinition'
|
eventDefinition: 'bpmn:CompensateEventDefinition'
|
||||||
|
@ -169,7 +169,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Signal Throw Catch Event',
|
label: 'Signal Throw Catch Event',
|
||||||
actionName: 'replace-with-throw-intermediate-catch',
|
actionName: 'replace-with-throw-intermediate-catch',
|
||||||
className: 'icon-10-signal-intermediate',
|
className: 'icon-10-signal-intermediate-event',
|
||||||
targetType: 'bpmn:IntermediateCatchEvent',
|
targetType: 'bpmn:IntermediateCatchEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||||
|
@ -178,7 +178,7 @@ var startEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Signal Intermediate Throw Event',
|
label: 'Signal Intermediate Throw Event',
|
||||||
actionName: 'replace-with-signal-intermediate-throw',
|
actionName: 'replace-with-signal-intermediate-throw',
|
||||||
className: 'icon-10-signal-intermediate-throwing',
|
className: 'icon-10-signal-intermediate-throw-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent',
|
targetType: 'bpmn:IntermediateThrowEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||||
|
@ -192,7 +192,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Start Event',
|
label: 'Start Event',
|
||||||
actionName: 'replace-with-none-start',
|
actionName: 'replace-with-none-start',
|
||||||
className: 'icon-01-none-start',
|
className: 'icon-01-none-start-event',
|
||||||
targetType: 'bpmn:StartEvent',
|
targetType: 'bpmn:StartEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: ''
|
eventDefinition: ''
|
||||||
|
@ -201,7 +201,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Intermediate Throw Event',
|
label: 'Intermediate Throw Event',
|
||||||
actionName: 'replace-with-message-intermediate-throw',
|
actionName: 'replace-with-message-intermediate-throw',
|
||||||
className: 'icon-01-none-intermediate-throwing',
|
className: 'icon-01-none-intermediate-throw-event',
|
||||||
targetType: 'bpmn:IntermediateThrowEvent',
|
targetType: 'bpmn:IntermediateThrowEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: ''
|
eventDefinition: ''
|
||||||
|
@ -210,7 +210,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'End Event',
|
label: 'End Event',
|
||||||
actionName: 'replace-with-none-end',
|
actionName: 'replace-with-none-end',
|
||||||
className: 'icon-01-none-end',
|
className: 'icon-01-none-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: ''
|
eventDefinition: ''
|
||||||
|
@ -219,7 +219,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Message End Event',
|
label: 'Message End Event',
|
||||||
actionName: 'replace-with-message-end',
|
actionName: 'replace-with-message-end',
|
||||||
className: 'icon-02-message-end',
|
className: 'icon-02-message-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||||
|
@ -228,7 +228,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Escalation End Event',
|
label: 'Escalation End Event',
|
||||||
actionName: 'replace-with-escalation-end',
|
actionName: 'replace-with-escalation-end',
|
||||||
className: 'icon-04-escalation-end',
|
className: 'icon-04-escalation-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:EscalationEventDefinition'
|
eventDefinition: 'bpmn:EscalationEventDefinition'
|
||||||
|
@ -237,7 +237,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Error End Event',
|
label: 'Error End Event',
|
||||||
actionName: 'replace-with-error-end',
|
actionName: 'replace-with-error-end',
|
||||||
className: 'icon-07-error-end',
|
className: 'icon-07-error-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:ErrorEventDefinition'
|
eventDefinition: 'bpmn:ErrorEventDefinition'
|
||||||
|
@ -246,7 +246,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Cancel End Event',
|
label: 'Cancel End Event',
|
||||||
actionName: 'replace-with-cancel-end',
|
actionName: 'replace-with-cancel-end',
|
||||||
className: 'icon-08-cancel-end',
|
className: 'icon-08-cancel-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:CancelEventDefinition'
|
eventDefinition: 'bpmn:CancelEventDefinition'
|
||||||
|
@ -255,7 +255,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Compensation End Event',
|
label: 'Compensation End Event',
|
||||||
actionName: 'replace-with-compensation-end',
|
actionName: 'replace-with-compensation-end',
|
||||||
className: 'icon-09-compensation-end',
|
className: 'icon-09-compensation-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:CompensateEventDefinition'
|
eventDefinition: 'bpmn:CompensateEventDefinition'
|
||||||
|
@ -264,7 +264,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Signal End Event',
|
label: 'Signal End Event',
|
||||||
actionName: 'replace-with-signal-end',
|
actionName: 'replace-with-signal-end',
|
||||||
className: 'icon-10-signal-end',
|
className: 'icon-10-signal-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||||
|
@ -273,7 +273,7 @@ var endEventReplace = [
|
||||||
{
|
{
|
||||||
label: 'Terminate End Event',
|
label: 'Terminate End Event',
|
||||||
actionName: 'replace-with-terminate-end',
|
actionName: 'replace-with-terminate-end',
|
||||||
className: 'icon-13-terminate-end',
|
className: 'icon-13-terminate-end-event',
|
||||||
targetType: 'bpmn:EndEvent',
|
targetType: 'bpmn:EndEvent',
|
||||||
options: {
|
options: {
|
||||||
eventDefinition: 'bpmn:TerminateEventDefinition'
|
eventDefinition: 'bpmn:TerminateEventDefinition'
|
||||||
|
@ -285,7 +285,7 @@ var gatewayReplace = [
|
||||||
{
|
{
|
||||||
label: 'Exclusive Gateway',
|
label: 'Exclusive Gateway',
|
||||||
actionName: 'replace-with-exclusive-gateway',
|
actionName: 'replace-with-exclusive-gateway',
|
||||||
className: 'icon-exclusive-gateway-variant-1',
|
className: 'icon-exclusive-gateway',
|
||||||
targetType: 'bpmn:ExclusiveGateway'
|
targetType: 'bpmn:ExclusiveGateway'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,16 +50,16 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
||||||
|
|
||||||
assign(actions, {
|
assign(actions, {
|
||||||
'create.start-event': createAction(
|
'create.start-event': createAction(
|
||||||
'bpmn:StartEvent', 'event', 'icon-01-none-start'
|
'bpmn:StartEvent', 'event', 'icon-01-none-start-event'
|
||||||
),
|
),
|
||||||
'create.intermediate-event': createAction(
|
'create.intermediate-event': createAction(
|
||||||
'bpmn:IntermediateThrowEvent', 'event', 'icon-01-none-intermediate-throwing'
|
'bpmn:IntermediateThrowEvent', 'event', 'icon-01-none-intermediate-throw-event'
|
||||||
),
|
),
|
||||||
'create.end-event': createAction(
|
'create.end-event': createAction(
|
||||||
'bpmn:EndEvent', 'event', 'icon-01-none-end'
|
'bpmn:EndEvent', 'event', 'icon-01-none-end-event'
|
||||||
),
|
),
|
||||||
'create.exclusive-gateway': createAction(
|
'create.exclusive-gateway': createAction(
|
||||||
'bpmn:ExclusiveGateway', 'gateway', 'icon-exclusive-gateway-variant-1'
|
'bpmn:ExclusiveGateway', 'gateway', 'icon-exclusive-gateway'
|
||||||
),
|
),
|
||||||
'create.task': createAction(
|
'create.task': createAction(
|
||||||
'bpmn:Task', 'activity', 'icon-task'
|
'bpmn:Task', 'activity', 'icon-task'
|
||||||
|
|
Loading…
Reference in New Issue