public void updateFrom(Object element, boolean forceResort, boolean updateStructure) {
    if (element instanceof PsiElement) {
      AsyncProjectViewSupport support = getAsyncSupport();
      if (support != null) support.updateByElement((PsiElement)element, updateStructure);
    }
    else if (element instanceof TreePath) {
      AsyncProjectViewSupport support = getAsyncSupport();
      if (support != null) support.update((TreePath)element, updateStructure);
    }
  }
public void updateFrom(Object element, boolean forceResort, boolean updateStructure)