Class StructureViewNodeFactory
java.lang.Object
org.aspectj.ajde.ui.StructureViewNodeFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanacceptNode(IProgramElement parent, IProgramElement child) Don't show code elements under types since they show under the corresponding initializers.protected abstract IStructureViewNodecreateDeclaration(IProgramElement node, AbstractIcon icon, List children) Implementors must override this method in order to create new nodes.protected abstract IStructureViewNodecreateLink(IProgramElement node, AbstractIcon icon) Implementors must override this method in order to create link new nodes.createNode(IProgramElement node) createNode(IProgramElement node, List children) protected abstract IStructureViewNodecreateRelationship(IRelationship relationship, AbstractIcon icon) Implementors must override this method in order to create new relationship nodes.
-
Constructor Details
-
StructureViewNodeFactory
-
-
Method Details
-
createNode
-
createNode
-
createLink
Implementors must override this method in order to create link new nodes. -
createRelationship
protected abstract IStructureViewNode createRelationship(IRelationship relationship, AbstractIcon icon) Implementors must override this method in order to create new relationship nodes. If returned node is null it will not be added to the tree. -
createDeclaration
protected abstract IStructureViewNode createDeclaration(IProgramElement node, AbstractIcon icon, List children) Implementors must override this method in order to create new nodes. -
acceptNode
Don't show code elements under types since they show under the corresponding initializers.
-