mirror of
https://github.com/bpmn-io/bpmn-js.git
synced 2025-08-14 19:25:06 +08:00

This commit adds the ModelingFeedback component. It hooks into modeling action rejected events and displays error messages to the user. The current behavior is to show an error message when dropping a flow node outside a participant in a collaboration. Related to #203
19 lines
739 B
JavaScript
19 lines
739 B
JavaScript
module.exports = {
|
|
__init__: [ 'modeling', 'bpmnUpdater', 'labelSupport' ],
|
|
__depends__: [
|
|
require('../label-editing'),
|
|
require('./rules'),
|
|
require('./behavior'),
|
|
require('diagram-js/lib/command'),
|
|
require('diagram-js/lib/features/tooltips'),
|
|
require('diagram-js/lib/features/change-support')
|
|
],
|
|
bpmnFactory: [ 'type', require('./BpmnFactory') ],
|
|
bpmnUpdater: [ 'type', require('./BpmnUpdater') ],
|
|
elementFactory: [ 'type', require('./ElementFactory') ],
|
|
modeling: [ 'type', require('./Modeling') ],
|
|
labelSupport: [ 'type', require('./LabelSupport') ],
|
|
layouter: [ 'type', require('./BpmnLayouter') ],
|
|
connectionDocking: [ 'type', require('diagram-js/lib/layout/CroppingConnectionDocking') ]
|
|
};
|