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')) {
|
||||
|
||||
assign(actions, {
|
||||
'append.end-event': appendAction('bpmn:EndEvent', 'icon-01-none-end'),
|
||||
'append.gateway': appendAction('bpmn:ExclusiveGateway', 'icon-exclusive-gateway-variant-1'),
|
||||
'append.end-event': appendAction('bpmn:EndEvent', 'icon-01-none-end-event'),
|
||||
'append.gateway': appendAction('bpmn:ExclusiveGateway', 'icon-exclusive-gateway'),
|
||||
'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': {
|
||||
group: 'connect',
|
||||
className: 'icon-connection',
|
||||
|
|
|
@ -7,7 +7,7 @@ var startEventReplace = [
|
|||
},
|
||||
label: 'Start Event',
|
||||
actionName: 'replace-with-none-start',
|
||||
className: 'icon-01-none-start',
|
||||
className: 'icon-01-none-start-event',
|
||||
targetType: 'bpmn:StartEvent'
|
||||
},
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ var startEventReplace = [
|
|||
},
|
||||
label: 'Intermediate Throw Event',
|
||||
actionName: 'replace-with-intermediate-throwing',
|
||||
className: 'icon-01-none-intermediate-throwing',
|
||||
className: 'icon-01-none-intermediate-throw-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent'
|
||||
},
|
||||
{
|
||||
|
@ -25,13 +25,13 @@ var startEventReplace = [
|
|||
},
|
||||
label: 'End Event',
|
||||
actionName: 'replace-with-message-end',
|
||||
className: 'icon-01-none-end',
|
||||
className: 'icon-01-none-end-event',
|
||||
targetType: 'bpmn:EndEvent'
|
||||
},
|
||||
{
|
||||
label: 'Message Start Event',
|
||||
actionName: 'replace-with-message-start',
|
||||
className: 'icon-02-message-start',
|
||||
className: 'icon-02-message-start-event',
|
||||
targetType: 'bpmn:StartEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||
|
@ -40,7 +40,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Timer Start Event',
|
||||
actionName: 'replace-with-timer-start',
|
||||
className: 'icon-03-timer-start',
|
||||
className: 'icon-03-timer-start-event',
|
||||
targetType: 'bpmn:StartEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:TimerEventDefinition'
|
||||
|
@ -49,7 +49,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Conditional Start Event',
|
||||
actionName: 'replace-with-conditional-start',
|
||||
className: 'icon-05-conditional-start',
|
||||
className: 'icon-05-conditional-start-event',
|
||||
targetType: 'bpmn:StartEvent',
|
||||
options:{
|
||||
eventDefinition: 'bpmn:ConditionalEventDefinition'
|
||||
|
@ -58,7 +58,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Signal Start Event',
|
||||
actionName: 'replace-with-signal-start',
|
||||
className: 'icon-10-signal-start',
|
||||
className: 'icon-10-signal-start-event',
|
||||
targetType: 'bpmn:StartEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||
|
@ -70,7 +70,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Start Event',
|
||||
actionName: 'replace-with-none-start',
|
||||
className: 'icon-01-none-start',
|
||||
className: 'icon-01-none-start-event',
|
||||
targetType: 'bpmn:StartEvent',
|
||||
options: {
|
||||
eventDefinition: ''
|
||||
|
@ -79,7 +79,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Intermediate Throw Event',
|
||||
actionName: 'replace-with-message-intermediate-throw',
|
||||
className: 'icon-01-none-intermediate-throwing',
|
||||
className: 'icon-01-none-intermediate-throw-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent',
|
||||
options: {
|
||||
eventDefinition: ''
|
||||
|
@ -88,7 +88,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'End Event',
|
||||
actionName: 'replace-with-message-end',
|
||||
className: 'icon-01-none-end',
|
||||
className: 'icon-01-none-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: ''
|
||||
|
@ -97,7 +97,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Message Intermediate Catch Event',
|
||||
actionName: 'replace-with-intermediate-catch',
|
||||
className: 'icon-02-message-intermediate',
|
||||
className: 'icon-02-message-intermediate-event',
|
||||
targetType: 'bpmn:IntermediateCatchEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||
|
@ -106,7 +106,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Message Intermediate Throw Event',
|
||||
actionName: 'replace-with-intermediate-throw',
|
||||
className: 'icon-02-message-intermediate-throwing',
|
||||
className: 'icon-02-message-intermediate-throw-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||
|
@ -115,7 +115,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Timer Intermediate Catch Event',
|
||||
actionName: 'replace-with-timer-intermediate-catch',
|
||||
className: 'icon-03-timer-intermediate',
|
||||
className: 'icon-03-timer-intermediate-event',
|
||||
targetType: 'bpmn:IntermediateCatchEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:TimerEventDefinition'
|
||||
|
@ -123,8 +123,8 @@ var startEventReplace = [
|
|||
},
|
||||
{
|
||||
label: 'Escalation Intermediate Catch Event',
|
||||
actionName: 'replace-with-escalation-throwing',
|
||||
className: 'icon-04-escalation-intermediate-throwing',
|
||||
actionName: 'replace-with-escalation-catch',
|
||||
className: 'icon-04-escalation-intermediate-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:EscalationEventDefinition'
|
||||
|
@ -133,7 +133,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Conditional Intermediate Catch Event',
|
||||
actionName: 'replace-with-conditional-intermediate-catch',
|
||||
className: 'icon-05-conditional-intermediate',
|
||||
className: 'icon-05-conditional-intermediate-event',
|
||||
targetType: 'bpmn:IntermediateCatchEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:ConditionalEventDefinition'
|
||||
|
@ -142,7 +142,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Link Intermediate Catch Event',
|
||||
actionName: 'replace-with-link-intermediate-catch',
|
||||
className: 'icon-06-link-intermediate',
|
||||
className: 'icon-06-link-intermediate-event',
|
||||
targetType: 'bpmn:IntermediateCatchEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:LinkEventDefinition'
|
||||
|
@ -151,7 +151,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Link Intermediate Throw Event',
|
||||
actionName: 'replace-with-link-intermediate-throw',
|
||||
className: 'icon-06-link-intermediate-throwing',
|
||||
className: 'icon-06-link-intermediate-throw-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:LinkEventDefinition'
|
||||
|
@ -160,7 +160,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Compensation Intermediate Throw Event',
|
||||
actionName: 'replace-with-compensation-intermediate-throw',
|
||||
className: 'icon-09-compensation-intermediate-throwing',
|
||||
className: 'icon-09-compensation-intermediate-throw-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:CompensateEventDefinition'
|
||||
|
@ -169,7 +169,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Signal Throw Catch Event',
|
||||
actionName: 'replace-with-throw-intermediate-catch',
|
||||
className: 'icon-10-signal-intermediate',
|
||||
className: 'icon-10-signal-intermediate-event',
|
||||
targetType: 'bpmn:IntermediateCatchEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||
|
@ -178,7 +178,7 @@ var startEventReplace = [
|
|||
{
|
||||
label: 'Signal Intermediate Throw Event',
|
||||
actionName: 'replace-with-signal-intermediate-throw',
|
||||
className: 'icon-10-signal-intermediate-throwing',
|
||||
className: 'icon-10-signal-intermediate-throw-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||
|
@ -192,7 +192,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Start Event',
|
||||
actionName: 'replace-with-none-start',
|
||||
className: 'icon-01-none-start',
|
||||
className: 'icon-01-none-start-event',
|
||||
targetType: 'bpmn:StartEvent',
|
||||
options: {
|
||||
eventDefinition: ''
|
||||
|
@ -201,7 +201,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Intermediate Throw Event',
|
||||
actionName: 'replace-with-message-intermediate-throw',
|
||||
className: 'icon-01-none-intermediate-throwing',
|
||||
className: 'icon-01-none-intermediate-throw-event',
|
||||
targetType: 'bpmn:IntermediateThrowEvent',
|
||||
options: {
|
||||
eventDefinition: ''
|
||||
|
@ -210,7 +210,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'End Event',
|
||||
actionName: 'replace-with-none-end',
|
||||
className: 'icon-01-none-end',
|
||||
className: 'icon-01-none-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: ''
|
||||
|
@ -219,7 +219,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Message End Event',
|
||||
actionName: 'replace-with-message-end',
|
||||
className: 'icon-02-message-end',
|
||||
className: 'icon-02-message-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:MessageEventDefinition'
|
||||
|
@ -228,7 +228,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Escalation End Event',
|
||||
actionName: 'replace-with-escalation-end',
|
||||
className: 'icon-04-escalation-end',
|
||||
className: 'icon-04-escalation-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:EscalationEventDefinition'
|
||||
|
@ -237,7 +237,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Error End Event',
|
||||
actionName: 'replace-with-error-end',
|
||||
className: 'icon-07-error-end',
|
||||
className: 'icon-07-error-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:ErrorEventDefinition'
|
||||
|
@ -246,7 +246,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Cancel End Event',
|
||||
actionName: 'replace-with-cancel-end',
|
||||
className: 'icon-08-cancel-end',
|
||||
className: 'icon-08-cancel-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:CancelEventDefinition'
|
||||
|
@ -255,7 +255,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Compensation End Event',
|
||||
actionName: 'replace-with-compensation-end',
|
||||
className: 'icon-09-compensation-end',
|
||||
className: 'icon-09-compensation-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:CompensateEventDefinition'
|
||||
|
@ -264,7 +264,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Signal End Event',
|
||||
actionName: 'replace-with-signal-end',
|
||||
className: 'icon-10-signal-end',
|
||||
className: 'icon-10-signal-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:SignalEventDefinition'
|
||||
|
@ -273,7 +273,7 @@ var endEventReplace = [
|
|||
{
|
||||
label: 'Terminate End Event',
|
||||
actionName: 'replace-with-terminate-end',
|
||||
className: 'icon-13-terminate-end',
|
||||
className: 'icon-13-terminate-end-event',
|
||||
targetType: 'bpmn:EndEvent',
|
||||
options: {
|
||||
eventDefinition: 'bpmn:TerminateEventDefinition'
|
||||
|
@ -285,7 +285,7 @@ var gatewayReplace = [
|
|||
{
|
||||
label: 'Exclusive Gateway',
|
||||
actionName: 'replace-with-exclusive-gateway',
|
||||
className: 'icon-exclusive-gateway-variant-1',
|
||||
className: 'icon-exclusive-gateway',
|
||||
targetType: 'bpmn:ExclusiveGateway'
|
||||
},
|
||||
{
|
||||
|
|
|
@ -50,16 +50,16 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
|||
|
||||
assign(actions, {
|
||||
'create.start-event': createAction(
|
||||
'bpmn:StartEvent', 'event', 'icon-01-none-start'
|
||||
'bpmn:StartEvent', 'event', 'icon-01-none-start-event'
|
||||
),
|
||||
'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(
|
||||
'bpmn:EndEvent', 'event', 'icon-01-none-end'
|
||||
'bpmn:EndEvent', 'event', 'icon-01-none-end-event'
|
||||
),
|
||||
'create.exclusive-gateway': createAction(
|
||||
'bpmn:ExclusiveGateway', 'gateway', 'icon-exclusive-gateway-variant-1'
|
||||
'bpmn:ExclusiveGateway', 'gateway', 'icon-exclusive-gateway'
|
||||
),
|
||||
'create.task': createAction(
|
||||
'bpmn:Task', 'activity', 'icon-task'
|
||||
|
|
Loading…
Reference in New Issue