public class ViewerTreeStructure extends AbstractTreeStructure
Constructor and Description |
---|
ViewerTreeStructure(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
commit() |
NodeDescriptor |
createDescriptor(java.lang.Object element,
NodeDescriptor parentDescriptor) |
java.lang.Object [] |
getChildElements(java.lang.Object element) |
java.lang.Object |
getParentElement(java.lang.Object element) |
java.lang.Object |
getRootElement() |
PsiElement |
getRootPsiElement() |
boolean |
hasSomethingToCommit() |
boolean |
isShowTreeNodes() |
boolean |
isShowWhiteSpaces() |
void |
setRootPsiElement(PsiElement rootPsiElement) |
void |
setShowTreeNodes(boolean showTreeNodes) |
void |
setShowWhiteSpaces(boolean showWhiteSpaces) |
asyncCommit, asyncCommitDocuments, getLeafState, isAlwaysLeaf, isToBuildChildrenInBackground, isValid, revalidateElement
public ViewerTreeStructure(Project project)
public void setRootPsiElement(PsiElement rootPsiElement)
public PsiElement getRootPsiElement()
public java.lang.Object getRootElement()
getRootElement
in class AbstractTreeStructure
public java.lang.Object [] getChildElements(java.lang.Object element)
getChildElements
in class AbstractTreeStructure
public java.lang.Object getParentElement(java.lang.Object element)
getParentElement
in class AbstractTreeStructure
public void commit()
commit
in class AbstractTreeStructure
public boolean hasSomethingToCommit()
hasSomethingToCommit
in class AbstractTreeStructure
public NodeDescriptor createDescriptor(java.lang.Object element, NodeDescriptor parentDescriptor)
createDescriptor
in class AbstractTreeStructure
public boolean isShowWhiteSpaces()
public void setShowWhiteSpaces(boolean showWhiteSpaces)
public boolean isShowTreeNodes()
public void setShowTreeNodes(boolean showTreeNodes)