HI..
Try this..
MainTree.addSelectionHandler(new SelectionHandler<TreeItem>() {
@Override
public void onSelection(SelectionEvent<TreeItem> event)
{
TreeItem item = (TreeItem)
event.getSelectedItem();
System.out.println(item.getText());
//Do something....
}
});
On Apr 17, 3:16 pm, Dayananda B V <[email protected]> wrote:
> HI all,
>
> How I can select corresponding a treeitem on click of + icon on the
> tree.
> appreciate your help.
>
> Thanks
> Daya
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.