// Override
 public String getTreeTitle(NetworkTree tree) {
   final SearchResult result = ((SearchItemTree) tree).getSearchResult();
   if (result != null) {
     return result.Summary;
   }
   return tree.getName();
 }
  // Override
  public void buildContextMenu(NetworkBaseActivity activity, ContextMenu menu, NetworkTree tree) {
    menu.setHeaderTitle(tree.getName());

    final boolean isLoading =
        NetworkView.Instance()
            .containsItemsLoadingRunnable(NetworkSearchActivity.SEARCH_RUNNABLE_KEY);

    if (!isLoading) {
      addMenuItem(menu, RUN_SEARCH_ITEM_ID, "search");
    } else {
      addMenuItem(menu, TREE_NO_ACTION, "stoppingNetworkSearch");
    }
  }