return clone;
}
protected Command getCreateCommand(CreateRequest request) {
CreateCommand create = new CreateCommand();
create.setParent((LogicDiagram)getHost().getModel());
LogicSubpart newPart = (LogicSubpart)request.getNewObject();
create.setChild(newPart);
Rectangle constraint = (Rectangle)getConstraintFor(request);
create.setLocation(constraint);
create.setLabel(LogicMessages.LogicXYLayoutEditPolicy_CreateCommandLabelText);
Command cmd = chainGuideAttachmentCommand(request, newPart, create, true);
return chainGuideAttachmentCommand(request, newPart, cmd, false);
}