title: TreeItem ClickHandler in GWT
body: <p>With the standard GWT 2.0.3 API, how do you add a Clickhandler to the TreeItem? I'm hoping to implement asynchronous calls to the server that will retrieve the resulting TreeItems that are expanded.</p>
  
  <p>Unfortunately <code>FastTree</code> doesn't work in GXT applications. Therefore I'm back to the original step of needing to attach handlers to <code>TreeItem</code>s!</p>
  
  <p>Are there any noticeable downfalls with this code:</p>
  
  <pre><code>Tree.addSelectionHandler(new SelectionHandler&lt;TreeItem&gt;()
  {
      @Override
      public void onSelection(SelectionEvent event()
      {
          if(event.getSelectedItem == someTreeItem)
          {
              //Something
          }
      }
  });
  </code></pre>