I was looking to far.
To answer my original question:
The event we retrieve in the openHandler has all the info I needed.
public void onOpen(OpenEvent<TreeItem> event) {
// The TreeItem
TreeItem ti = event.getTarget();
// The widget added in the treeItem
CustomWidget cw = (CustomWidget)event.getTarget().getWidget();
}
Just for info:
Instead of adding a widget (which I didn't use anywhere else) to my TreeItem I extended TreeItem to create my own Widget. So I simply needed event.getTarget()
to access it.
About FastTree:
For what I read people working with GWT usually go straight to using FastTree which, as Jason said, offers more possibilities and better performances.
I had problem running FastTree in my configuration (even with the examples code) and little time to deal with it so that's why I sticked with the native Tree widget.