*
* @see LayoutEditPolicy#getCreateCommand(CreateRequest)
*/
protected Command getCreateCommand(CreateRequest request) {
Object childClass = request.getNewObjectType();
return new ShapeCreateCommand((AbstractModelShape) request.getNewObject(), (ShapesDiagram) getHost()
.getModel(), (Rectangle) getConstraintFor(request));
}