chore(project): upgrade to latest bpmn-font

This commit is contained in:
Nico Rehwaldt 2015-03-10 16:07:58 +01:00
parent 2b8d8110fd
commit d1d42f3713
3 changed files with 46 additions and 46 deletions

View File

@ -122,11 +122,11 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
!isEventType(bpmnElement, 'bpmn:IntermediateThrowEvent', 'bpmn:LinkEventDefinition')) { !isEventType(bpmnElement, 'bpmn:IntermediateThrowEvent', 'bpmn:LinkEventDefinition')) {
assign(actions, { assign(actions, {
'append.end-event': appendAction('bpmn:EndEvent', 'icon-01-none-end-event'), 'append.end-event': appendAction('bpmn:EndEvent', 'icon-end-event-none'),
'append.gateway': appendAction('bpmn:ExclusiveGateway', 'icon-exclusive-gateway'), 'append.gateway': appendAction('bpmn:ExclusiveGateway', 'icon-gateway-xor'),
'append.append-task': appendAction('bpmn:Task', 'icon-task'), 'append.append-task': appendAction('bpmn:Task', 'icon-task'),
'append.intermediate-event': appendAction('bpmn:IntermediateThrowEvent', 'append.intermediate-event': appendAction('bpmn:IntermediateThrowEvent',
'icon-01-none-intermediate-throw-event'), 'icon-intermediate-event-none'),
'connect': { 'connect': {
group: 'connect', group: 'connect',
className: 'icon-connection', className: 'icon-connection',
@ -143,16 +143,16 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
assign(actions, { assign(actions, {
'append.receive-task': appendAction('bpmn:ReceiveTask', 'icon-receive-task'), 'append.receive-task': appendAction('bpmn:ReceiveTask', 'icon-receive-task'),
'append.message-intermediate-event': appendAction('bpmn:IntermediateCatchEvent', 'append.message-intermediate-event': appendAction('bpmn:IntermediateCatchEvent',
'icon-02-message-intermediate-event', 'icon-intermediate-event-catch-message',
{ _eventDefinitionType: 'bpmn:MessageEventDefinition'}), { _eventDefinitionType: 'bpmn:MessageEventDefinition'}),
'append.timer-intermediate-event': appendAction('bpmn:IntermediateCatchEvent', 'append.timer-intermediate-event': appendAction('bpmn:IntermediateCatchEvent',
'icon-03-timer-intermediate-event', 'icon-intermediate-event-catch-timer',
{ _eventDefinitionType: 'bpmn:TimerEventDefinition'}), { _eventDefinitionType: 'bpmn:TimerEventDefinition'}),
'append.condtion-intermediate-event': appendAction('bpmn:IntermediateCatchEvent', 'append.condtion-intermediate-event': appendAction('bpmn:IntermediateCatchEvent',
'icon-05-conditional-intermediate-event', 'icon-intermediate-event-catch-condition',
{ _eventDefinitionType: 'bpmn:ConditionalEventDefinition'}), { _eventDefinitionType: 'bpmn:ConditionalEventDefinition'}),
'append.signal-intermediate-event': appendAction('bpmn:IntermediateCatchEvent', 'append.signal-intermediate-event': appendAction('bpmn:IntermediateCatchEvent',
'icon-10-signal-intermediate-event', 'icon-intermediate-event-catch-signal',
{ _eventDefinitionType: 'bpmn:SignalEventDefinition'}), { _eventDefinitionType: 'bpmn:SignalEventDefinition'}),
'connect': { 'connect': {
group: 'connect', group: 'connect',

View File

@ -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-event', className: 'icon-start-event-none',
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-throw-event', className: 'icon-intermediate-event-none',
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-event', className: 'icon-end-event-none',
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-event', className: 'icon-start-event-message',
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-event', className: 'icon-start-event-timer',
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-event', className: 'icon-start-event-condition',
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-event', className: 'icon-start-event-signal',
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-event', className: 'icon-start-event-none',
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-throw-event', className: 'icon-intermediate-event-none',
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-event', className: 'icon-end-event-none',
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-event', className: 'icon-intermediate-event-catch-message',
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-throw-event', className: 'icon-intermediate-event-throw-message',
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-event', className: 'icon-intermediate-event-catch-timer',
targetType: 'bpmn:IntermediateCatchEvent', targetType: 'bpmn:IntermediateCatchEvent',
options: { options: {
eventDefinition: 'bpmn:TimerEventDefinition' eventDefinition: 'bpmn:TimerEventDefinition'
@ -124,7 +124,7 @@ var startEventReplace = [
{ {
label: 'Escalation Intermediate Catch Event', label: 'Escalation Intermediate Catch Event',
actionName: 'replace-with-escalation-catch', actionName: 'replace-with-escalation-catch',
className: 'icon-04-escalation-intermediate-event', className: 'icon-intermediate-event-catch-escalation',
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-event', className: 'icon-intermediate-event-catch-condition',
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-event', className: 'icon-intermediate-event-catch-link',
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-throw-event', className: 'icon-intermediate-event-throw-link',
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-throw-event', className: 'icon-intermediate-event-throw-compensation',
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-event', className: 'icon-intermediate-event-catch-signal',
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-throw-event', className: 'icon-intermediate-event-throw-signal',
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-event', className: 'icon-start-event-none',
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-throw-event', className: 'icon-intermediate-event-none',
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-event', className: 'icon-end-event-none',
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-event', className: 'icon-end-event-message',
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-event', className: 'icon-end-event-escalation',
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-event', className: 'icon-end-event-error',
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-event', className: 'icon-end-event-cancel',
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-event', className: 'icon-end-event-compensation',
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-event', className: 'icon-end-event-signal',
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-event', className: 'icon-end-event-terminate',
targetType: 'bpmn:EndEvent', targetType: 'bpmn:EndEvent',
options: { options: {
eventDefinition: 'bpmn:TerminateEventDefinition' eventDefinition: 'bpmn:TerminateEventDefinition'
@ -285,31 +285,31 @@ var gatewayReplace = [
{ {
label: 'Exclusive Gateway', label: 'Exclusive Gateway',
actionName: 'replace-with-exclusive-gateway', actionName: 'replace-with-exclusive-gateway',
className: 'icon-exclusive-gateway', className: 'icon-gateway-xor',
targetType: 'bpmn:ExclusiveGateway' targetType: 'bpmn:ExclusiveGateway'
}, },
{ {
label: 'Parallel Gateway', label: 'Parallel Gateway',
actionName: 'replace-with-parallel-gateway', actionName: 'replace-with-parallel-gateway',
className: 'icon-parallel-gateway', className: 'icon-gateway-parallel',
targetType: 'bpmn:ParallelGateway' targetType: 'bpmn:ParallelGateway'
}, },
{ {
label: 'Inclusive Gateway', label: 'Inclusive Gateway',
actionName: 'replace-with-inclusive-gateway', actionName: 'replace-with-inclusive-gateway',
className: 'icon-inclusive-gateway', className: 'icon-gateway-or',
targetType: 'bpmn:InclusiveGateway' targetType: 'bpmn:InclusiveGateway'
}, },
{ {
label: 'Complex Gateway', label: 'Complex Gateway',
actionName: 'replace-with-complex-gateway', actionName: 'replace-with-complex-gateway',
className: 'icon-complex-gateway', className: 'icon-gateway-complex',
targetType: 'bpmn:ComplexGateway' targetType: 'bpmn:ComplexGateway'
}, },
{ {
label: 'Event based Gateway', label: 'Event based Gateway',
actionName: 'replace-with-event-based-gateway', actionName: 'replace-with-event-based-gateway',
className: 'icon-event-based-gateway', className: 'icon-gateway-eventbased',
targetType: 'bpmn:EventBasedGateway', targetType: 'bpmn:EventBasedGateway',
options: { options: {
newBusinessAtt: { instantiate: false, eventGatewayType: 'Exclusive' } newBusinessAtt: { instantiate: false, eventGatewayType: 'Exclusive' }

View File

@ -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-event' 'bpmn:StartEvent', 'event', 'icon-start-event-none'
), ),
'create.intermediate-event': createAction( 'create.intermediate-event': createAction(
'bpmn:IntermediateThrowEvent', 'event', 'icon-01-none-intermediate-throw-event' 'bpmn:IntermediateThrowEvent', 'event', 'icon-intermediate-event-none'
), ),
'create.end-event': createAction( 'create.end-event': createAction(
'bpmn:EndEvent', 'event', 'icon-01-none-end-event' 'bpmn:EndEvent', 'event', 'icon-end-event-none'
), ),
'create.exclusive-gateway': createAction( 'create.exclusive-gateway': createAction(
'bpmn:ExclusiveGateway', 'gateway', 'icon-exclusive-gateway' 'bpmn:ExclusiveGateway', 'gateway', 'icon-gateway-xor'
), ),
'create.task': createAction( 'create.task': createAction(
'bpmn:Task', 'activity', 'icon-task' 'bpmn:Task', 'activity', 'icon-task'