public class TodoTreeHelper
extends java.lang.Object
Constructor and Description |
---|
TodoTreeHelper(Project project) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDirsToChildren(java.util.List<? extends VirtualFile> roots,
java.util.ArrayList<? super AbstractTreeNode<?>> children,
TodoTreeBuilder builder) |
void |
addPackagesToChildren(java.util.ArrayList<? super AbstractTreeNode<?>> children,
Module module,
TodoTreeBuilder builder) |
protected java.util.List<VirtualFile> |
collectContentRoots(Module module) |
boolean |
contains(ProjectViewNode node,
java.lang.Object element) |
java.util.Collection<AbstractTreeNode<?>> |
getDirectoryChildren(PsiDirectory psiDirectory,
TodoTreeBuilder builder,
boolean isFlatten) |
static TodoTreeHelper |
getInstance(Project project) |
Project |
getProject() |
PsiElement |
getSelectedElement(java.lang.Object userObject) |
boolean |
skipDirectory(PsiDirectory directory) |
public TodoTreeHelper(Project project)
public static TodoTreeHelper getInstance(Project project)
public void addPackagesToChildren(java.util.ArrayList<? super AbstractTreeNode<?>> children, Module module, TodoTreeBuilder builder)
protected java.util.List<VirtualFile> collectContentRoots(Module module)
protected void addDirsToChildren(java.util.List<? extends VirtualFile> roots, java.util.ArrayList<? super AbstractTreeNode<?>> children, TodoTreeBuilder builder)
public java.util.Collection<AbstractTreeNode<?>> getDirectoryChildren(PsiDirectory psiDirectory, TodoTreeBuilder builder, boolean isFlatten)
public boolean skipDirectory(PsiDirectory directory)
public PsiElement getSelectedElement(java.lang.Object userObject)
public boolean contains(ProjectViewNode node, java.lang.Object element)
public Project getProject()