public void handleEvent(Event evt) {
if ((evt instanceof ElementSelectionEvent)
&& (((ElementSelectionEvent) evt).getSource() == typeNode))
{
ElementSelectionEvent sel = (ElementSelectionEvent)evt;
// process mouse press does:
/*
[selevt == ElementSelectionEvent]
selevt.initSelectionEvent(getElement(), this, evt,
ElementSelectionEvent.ACTIVATE);
((org.w3c.dom.events.EventTarget) getElement().getOwnerDocument())
.dispatchEvent(selevt);
*/
sel.initSelectionEvent(this.getElement(), this, ElementSelectionEvent.ACTIVATE);
//processMousePress(((ElementSelectionEvent) evt).getMouseEvent());
}
}