* @see ConstrainedLayoutEditPolicy#createChangeConstraintCommand( ChangeBoundsRequest, EditPart, Object)
*/
protected Command createChangeConstraintCommand(ChangeBoundsRequest request, EditPart child, Object constraint) {
if (child instanceof ShapeEditPart && constraint instanceof Rectangle) {
// return a command that can move and/or resize a Shape
return new ShapeSetConstraintCommand((AbstractModelShape) child.getModel(), request,
(Rectangle) constraint);
}
return super.createChangeConstraintCommand(request, child, constraint);
}