if(bo instanceof BoundaryEvent) {
return new MoveBoundaryEventFeature(this);
} else if (bo instanceof Activity) {
// in case an activity is moved, make sure, attached boundary events will move too
return new MoveActivityFeature(this);
} else if (bo instanceof Gateway) {
return new MoveGatewayFeature(this);
} else if (bo instanceof Event) {