class TreeExplorerView extends Composite implements TreeExplorer.View {

    @Override
    public boolean isContainer(final String uuid) {
        final TreeItem oldItem = tree.getItemByUuid(uuid);
        return oldItem.getType().equals(TreeItem.Type.CONTAINER) || oldItem.getType().equals(TreeItem.Type.ROOT);
    }

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

}