public final class FavoritesViewTreeBuilder extends BaseProjectTreeBuilder
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
myProject
DEFAULT_UPDATE_INACTIVE
Constructor and Description |
---|
FavoritesViewTreeBuilder(Project project,
javax.swing.JTree tree,
javax.swing.tree.DefaultTreeModel treeModel,
ProjectAbstractTreeStructureBase treeStructure) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
findNodeByElement(java.lang.Object element) |
AbstractTreeNode |
getRoot() |
FavoritesTreeStructure |
getStructure() |
protected boolean |
isAlwaysShowPlus(NodeDescriptor nodeDescriptor) |
protected boolean |
isAutoExpandNode(NodeDescriptor nodeDescriptor) |
Promise<java.lang.Object> |
selectAsync(java.lang.Object element,
VirtualFile file,
boolean requestFocus) |
void |
updateFromRoot() |
ActionCallback |
updateFromRootCB() |
canExpandPathTo, createProgressIndicator, expandNodeChildren, revalidateElement, select, selectInWidth, validateNode
accept, addSubtreeToUpdate, addSubtreeToUpdate, addSubtreeToUpdateByElement, batch, buildNodeForElement, cancelUpdate, cleanUp, collapseChildren, createUi, createUpdater, dispose, expand, expand, expandAll, getBuilderFor, getInitialized, getNodeForElement, getReady, getRootElement, getRootNode, getSelectedElements, getSelectedElements, getTree, getTreeModel, getTreeStructure, getTreeStructureElement, getUi, getUpdater, init, initRootNode, isConsistent, isDisposed, isDisposeOnCollapsing, isLoadingNode, isNodeBeingBuilt, isSelectionBeingAdjusted, isSmartExpand, isToBuildChildrenInBackground, isToEnsureSelectionOnFocusGained, isToPaintSelection, queueUpdate, queueUpdate, queueUpdateFrom, queueUpdateFrom, runBackgroundLoading, scrollSelectionToVisible, scrollTo, scrollTo, select, select, select, select, select, select, setCanYieldUpdate, setNodeDescriptorComparator, setPassthroughMode, setTreeStructure, sortChildren, transformElement, updateAfterLoadedInBackground, updateNode, updateNodeDescriptor, yieldToEDT
public static final java.lang.String ID
public FavoritesViewTreeBuilder(Project project, javax.swing.JTree tree, javax.swing.tree.DefaultTreeModel treeModel, ProjectAbstractTreeStructureBase treeStructure)
public FavoritesTreeStructure getStructure()
public AbstractTreeNode getRoot()
public void updateFromRoot()
updateFromRoot
in class AbstractTreeBuilder
public ActionCallback updateFromRootCB()
public Promise<java.lang.Object> selectAsync(java.lang.Object element, VirtualFile file, boolean requestFocus)
selectAsync
in class BaseProjectTreeBuilder
protected java.lang.Object findNodeByElement(java.lang.Object element)
findNodeByElement
in class AbstractTreeBuilder
protected boolean isAlwaysShowPlus(NodeDescriptor nodeDescriptor)
isAlwaysShowPlus
in class BaseProjectTreeBuilder
protected boolean isAutoExpandNode(NodeDescriptor nodeDescriptor)
isAutoExpandNode
in class BaseProjectTreeBuilder