chore(modeling/behavior): rename Remove{->Participant}Behavior
This commit is contained in:
parent
046f962244
commit
5c629a9889
|
@ -10,7 +10,7 @@ var is = require('../../../util/ModelUtil').is;
|
|||
/**
|
||||
* BPMN specific remove behavior
|
||||
*/
|
||||
function RemoveBehavior(eventBus, modeling) {
|
||||
function RemoveParticipantBehavior(eventBus, modeling) {
|
||||
|
||||
CommandInterceptor.call(this, eventBus);
|
||||
|
||||
|
@ -44,8 +44,8 @@ function RemoveBehavior(eventBus, modeling) {
|
|||
|
||||
}
|
||||
|
||||
RemoveBehavior.$inject = [ 'eventBus', 'modeling' ];
|
||||
RemoveParticipantBehavior.$inject = [ 'eventBus', 'modeling' ];
|
||||
|
||||
inherits(RemoveBehavior, CommandInterceptor);
|
||||
inherits(RemoveParticipantBehavior, CommandInterceptor);
|
||||
|
||||
module.exports = RemoveBehavior;
|
||||
module.exports = RemoveParticipantBehavior;
|
|
@ -5,7 +5,7 @@ module.exports = {
|
|||
'createBoundaryEventBehavior',
|
||||
'createOnFlowBehavior',
|
||||
'replaceConnectionBehavior',
|
||||
'removeBehavior',
|
||||
'removeParticipantBehavior',
|
||||
'modelingFeedback',
|
||||
'moveStartEventBehavior'
|
||||
|
||||
|
@ -15,7 +15,7 @@ module.exports = {
|
|||
createBoundaryEventBehavior: [ 'type', require('./CreateBoundaryEventBehavior') ],
|
||||
createOnFlowBehavior: [ 'type', require('./CreateOnFlowBehavior') ],
|
||||
replaceConnectionBehavior: [ 'type', require('./ReplaceConnectionBehavior') ],
|
||||
removeBehavior: [ 'type', require('./RemoveBehavior') ],
|
||||
removeParticipantBehavior: [ 'type', require('./RemoveParticipantBehavior') ],
|
||||
modelingFeedback: [ 'type', require('./ModelingFeedback') ],
|
||||
moveStartEventBehavior: [ 'type', require('./MoveStartEventBehavior') ]
|
||||
};
|
||||
|
|
|
@ -10,7 +10,7 @@ var modelingModule = require('../../../../../lib/features/modeling'),
|
|||
coreModule = require('../../../../../lib/core');
|
||||
|
||||
|
||||
describe('features/modeling - remove behavior', function() {
|
||||
describe('features/modeling - remove participant behavior', function() {
|
||||
|
||||
var testModules = [ coreModule, modelingModule ];
|
||||
|
Loading…
Reference in New Issue