class TreeExplorerView extends Composite implements TreeExplorer.View {

    public TreeExplorer.View destroy() {
        handlerRegistration.removeHandler();
        tree.clear();
        tree.removeFromParent();
        handlerRegistration = null;
        presenter = null;
        return this;
    }

    @Inject public  TreeExplorerView(final Tree<TreeItem> tree);
      TreeExplorerView(final TreeExplorer presenter,
                     final Tree<TreeItem> tree,
                     final HandlerRegistration handlerRegistration
    );

}