* (non-Javadoc)
*
* @see org.eclipse.jst.pagedesigner.actions.range.DesignerToolBarAction#updateStatus()
*/
public void updateStatus() {
IHTMLGraphicalViewer viewer = getViewer();
if (viewer != null && viewer.isInRangeMode()
&& viewer.getModel().getDocument().hasChildNodes()) {
DesignRange range = getViewer().getRangeSelection();
if (range != null && range.isValid()) {
DOMRange domRange = null;
domRange = new DOMRange(DOMPositionHelper.toDOMPosition(range
.getStartPosition()), DOMPositionHelper