chore(modeling/behavior): rename Remove{->Participant}Behavior

This commit is contained in:
Nico Rehwaldt 2015-08-19 11:11:47 +02:00
parent 046f962244
commit 5c629a9889
3 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ var is = require('../../../util/ModelUtil').is;
/** /**
* BPMN specific remove behavior * BPMN specific remove behavior
*/ */
function RemoveBehavior(eventBus, modeling) { function RemoveParticipantBehavior(eventBus, modeling) {
CommandInterceptor.call(this, eventBus); 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;

View File

@ -5,7 +5,7 @@ module.exports = {
'createBoundaryEventBehavior', 'createBoundaryEventBehavior',
'createOnFlowBehavior', 'createOnFlowBehavior',
'replaceConnectionBehavior', 'replaceConnectionBehavior',
'removeBehavior', 'removeParticipantBehavior',
'modelingFeedback', 'modelingFeedback',
'moveStartEventBehavior' 'moveStartEventBehavior'
@ -15,7 +15,7 @@ module.exports = {
createBoundaryEventBehavior: [ 'type', require('./CreateBoundaryEventBehavior') ], createBoundaryEventBehavior: [ 'type', require('./CreateBoundaryEventBehavior') ],
createOnFlowBehavior: [ 'type', require('./CreateOnFlowBehavior') ], createOnFlowBehavior: [ 'type', require('./CreateOnFlowBehavior') ],
replaceConnectionBehavior: [ 'type', require('./ReplaceConnectionBehavior') ], replaceConnectionBehavior: [ 'type', require('./ReplaceConnectionBehavior') ],
removeBehavior: [ 'type', require('./RemoveBehavior') ], removeParticipantBehavior: [ 'type', require('./RemoveParticipantBehavior') ],
modelingFeedback: [ 'type', require('./ModelingFeedback') ], modelingFeedback: [ 'type', require('./ModelingFeedback') ],
moveStartEventBehavior: [ 'type', require('./MoveStartEventBehavior') ] moveStartEventBehavior: [ 'type', require('./MoveStartEventBehavior') ]
}; };

View File

@ -10,7 +10,7 @@ var modelingModule = require('../../../../../lib/features/modeling'),
coreModule = require('../../../../../lib/core'); coreModule = require('../../../../../lib/core');
describe('features/modeling - remove behavior', function() { describe('features/modeling - remove participant behavior', function() {
var testModules = [ coreModule, modelingModule ]; var testModules = [ coreModule, modelingModule ];