*/
protected Command createDeleteCommand(GroupRequest deleteRequest) {
Object parent = getHost().getParent().getModel();
Object child = getHost().getModel();
if (parent instanceof ShapesDiagram && child instanceof AbstractModelShape) {
return new ShapeDeleteCommand((ShapesDiagram) parent, (AbstractModelShape) child);
}
return super.createDeleteCommand(deleteRequest);
}