// ok, we are about to move/copy into the specified position.
IDOMPosition domposition = DOMPositionHelper.toDOMPosition(position);
if (REQ_CLONE.equals(type)) {
return new CloneNodeCommand((IHTMLGraphicalViewer) getHost()
.getViewer(), domposition, draggedNode);
}
return new MoveNodeCommand((IHTMLGraphicalViewer) getHost()
.getViewer(), domposition, draggedNode);
}