Class CallHierarchyViewTreeNode
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.editor.callhierarchy.CallHierarchyViewTreeNode
-
- Direct Known Subclasses:
DeferredCallHierarchyViewTreeNode
,PendingCallHierarchyViewTreeNode
public class CallHierarchyViewTreeNode extends Object
Tree node for Call hierarchy Tree
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<CallHierarchyViewTreeNode>
children
-
Constructor Summary
Constructors Constructor Description CallHierarchyViewTreeNode(CallHierarchyViewPart viewPart, CallHierarchyViewTreeNode parent, List<org.eclipse.xtext.resource.IReferenceDescription> descriptions)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(CallHierarchyViewTreeNode child)
Adds new childCollection<CallHierarchyViewTreeNode>
getChildren()
Gets children of this nodeList<org.eclipse.xtext.resource.IReferenceDescription>
getDescriptions()
Gets list ofIReferenceDescription
corresponding to this nodeCallHierarchyViewTreeNode
getParent()
Gets parent of this nodeCallHierarchyViewPart
getViewPart()
Gets actualCallHierarchyViewPart
void
removeChild(CallHierarchyViewTreeNode child)
Remove child from node
-
-
-
Field Detail
-
children
protected Set<CallHierarchyViewTreeNode> children
-
-
Constructor Detail
-
CallHierarchyViewTreeNode
public CallHierarchyViewTreeNode(CallHierarchyViewPart viewPart, CallHierarchyViewTreeNode parent, List<org.eclipse.xtext.resource.IReferenceDescription> descriptions)
Constructor- Parameters:
viewPart
- actualCallHierarchyViewPart
, can't benull
parent
- parent of this node, can benull
if it's root nodedescriptions
- list ofIReferenceDescription
corresponding to this node, can't benull
-
-
Method Detail
-
getViewPart
public CallHierarchyViewPart getViewPart()
Gets actualCallHierarchyViewPart
- Returns:
- actual
CallHierarchyViewPart
, can't benull
-
getParent
public CallHierarchyViewTreeNode getParent()
Gets parent of this node- Returns:
- parent of this node, can be
null
if it's root node
-
getChildren
public Collection<CallHierarchyViewTreeNode> getChildren()
Gets children of this node- Returns:
- children of this node, never
null
-
addChild
public void addChild(CallHierarchyViewTreeNode child)
Adds new child- Parameters:
child
- new child node, can't benull
-
removeChild
public void removeChild(CallHierarchyViewTreeNode child)
Remove child from node- Parameters:
child
- removing child node
-
getDescriptions
public List<org.eclipse.xtext.resource.IReferenceDescription> getDescriptions()
Gets list ofIReferenceDescription
corresponding to this node- Returns:
- list of
IReferenceDescription
corresponding to this node, nevernull
-
-