mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-10 17:16:02 +00:00
eb7b5d7bb4
This commit makes use of the provider concept introduced in diagram-js. The replace menu entries are now created in the replace menu provider. This separates BpmnReplace from the entry creation in the popup menu. Closes #428
12 lines
415 B
JavaScript
12 lines
415 B
JavaScript
module.exports = {
|
|
__depends__: [
|
|
require('diagram-js-direct-editing'),
|
|
require('diagram-js/lib/features/context-pad'),
|
|
require('diagram-js/lib/features/selection'),
|
|
require('diagram-js/lib/features/connect'),
|
|
require('diagram-js/lib/features/create'),
|
|
require('../popup-menu')
|
|
],
|
|
__init__: [ 'contextPadProvider' ],
|
|
contextPadProvider: [ 'type', require('./ContextPadProvider') ]
|
|
}; |