} else {
List parts = _viewer.getSelectedEditParts();
if (parts.size() > 0) {
EditPart selection = (EditPart) parts.get(0);
if (selection instanceof SubNodeEditPart) {
DesignPosition position = new DesignRefPosition(selection,
false);
position = DOMPositionHelper.toDesignPosition(EditHelper
.ensureDOMPosition(DOMPositionHelper
.toDOMPosition(position)));
result = new DesignRange(position, position);