return null;
}
Class childClass = (Class) child;
if (BoxPrinter.class.isAssignableFrom(childClass)) {
// return a command that can add a Shape to a ShapesDiagram
return new BoxCreateCommand((Box)request.getNewObject(),
(Page)getHost().getModel(), (Rectangle)getConstraintFor(request));
}
return null;
}