public class ExternalProjectsStructure extends SimpleTreeStructure implements Disposable
Modifier and Type | Class and Description |
---|---|
static class |
ExternalProjectsStructure.ErrorLevel |
class |
ExternalProjectsStructure.RootNode<T> |
SimpleTreeStructure.Impl
Disposable.Parent
Constructor and Description |
---|
ExternalProjectsStructure(Project project,
Tree tree) |
Modifier and Type | Method and Description |
---|---|
void |
cleanupCache() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
expand(SimpleNode node) |
<T extends ExternalSystemNode> |
getNodes(java.lang.Class<T> nodeClass) |
Project |
getProject() |
java.lang.Object |
getRootElement() |
<T extends ExternalSystemNode> |
getSelectedNodes(SimpleTree tree,
java.lang.Class<T> nodeClass) |
protected java.lang.Class<? extends ExternalSystemNode>[] |
getVisibleNodesClasses() |
void |
init(ExternalProjectsView externalProjectsView) |
void |
select(SimpleNode node) |
void |
updateFrom(SimpleNode node) |
<T extends ExternalSystemNode> |
updateNodesAsync(java.util.Collection<java.lang.Class<? extends T>> nodeClasses) |
<T extends ExternalSystemNode> |
updateNodesAsync(java.util.Collection<java.lang.Class<? extends T>> nodeClasses,
boolean structure) |
void |
updateProjects(java.util.Collection<? extends DataNode<ProjectData>> toImport) |
void |
updateUpTo(SimpleNode node) |
<T extends ExternalSystemNode> |
visitNodes(java.lang.Class<? extends T> nodeClass,
Consumer<? super T> consumer) |
clearCaches, commit, createDescriptor, getChildElements, getParentElement, hasSomethingToCommit, isAlwaysLeaf
asyncCommit, asyncCommitDocuments, getLeafState, isToBuildChildrenInBackground, isValid, revalidateElement
public void init(ExternalProjectsView externalProjectsView)
public Project getProject()
public void updateFrom(SimpleNode node)
public void updateUpTo(SimpleNode node)
public java.lang.Object getRootElement()
getRootElement
in class AbstractTreeStructure
public void cleanupCache()
public void select(SimpleNode node)
public void expand(SimpleNode node)
protected java.lang.Class<? extends ExternalSystemNode>[] getVisibleNodesClasses()
public void updateProjects(java.util.Collection<? extends DataNode<ProjectData>> toImport)
public <T extends ExternalSystemNode> void updateNodesAsync(java.util.Collection<java.lang.Class<? extends T>> nodeClasses)
public <T extends ExternalSystemNode> void updateNodesAsync(java.util.Collection<java.lang.Class<? extends T>> nodeClasses, boolean structure)
public <T extends ExternalSystemNode> void visitNodes(java.lang.Class<? extends T> nodeClass, Consumer<? super T> consumer)
public void dispose()
Disposable
dispose
in interface Disposable
public <T extends ExternalSystemNode> java.util.List<T> getNodes(java.lang.Class<T> nodeClass)
public <T extends ExternalSystemNode> java.util.List<T> getSelectedNodes(SimpleTree tree, java.lang.Class<T> nodeClass)