Object constraint)
{
NodeModel part = (NodeModel) childEditPart.getModel();
Rectangle rect = (Rectangle) constraint;
AddCommand add = new AddCommand();
add.setParent((CompoundModel) getHost().getModel());
add.setChild(part);
MoveCommand move = new MoveCommand(part, rect);
move.setParent((CompoundModel) getHost().getModel());
return add.chain(move);
}