}
@Override
protected Command createChangeConstraintCommand(EditPart part, Object constraint) {
if (part instanceof DiagramConnectionLabelEditPart && constraint instanceof Rectangle) {
return new MoveConnectionLabelCommand((DiagramConnectionLabelEditPart)part, (Rectangle)constraint);
}
return null;
}