if (bo instanceof FlowElement) {
return new UpdateFlowElementFeature(this);
} else if (bo instanceof Pool || bo instanceof Lane) {
return new UpdatePoolAndLaneFeature(this);
} else if (bo instanceof TextAnnotation) {
return new UpdateTextAnnotationFeature(this);
}
}
return super.getUpdateFeature(context);
}