org.aspectj.ajde.ui.swing
Class SwingTreeViewNodeFactory

java.lang.Object
  extended by org.aspectj.ajde.ui.StructureViewNodeFactory
      extended by org.aspectj.ajde.ui.swing.SwingTreeViewNodeFactory

public class SwingTreeViewNodeFactory
extends StructureViewNodeFactory


Constructor Summary
SwingTreeViewNodeFactory(IconRegistry iconRegistry)
           
 
Method Summary
protected  IStructureViewNode createDeclaration(IProgramElement node, AbstractIcon icon, java.util.List children)
          Implementors must override this method in order to create new nodes.
protected  IStructureViewNode createLink(IProgramElement node, AbstractIcon icon)
          Implementors must override this method in order to create link new nodes.
protected  IStructureViewNode createRelationship(IRelationship relationship, AbstractIcon icon)
          Implementors must override this method in order to create new relationship nodes.
 
Methods inherited from class org.aspectj.ajde.ui.StructureViewNodeFactory
acceptNode, createNode, createNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingTreeViewNodeFactory

public SwingTreeViewNodeFactory(IconRegistry iconRegistry)
Method Detail

createDeclaration

protected IStructureViewNode createDeclaration(IProgramElement node,
                                               AbstractIcon icon,
                                               java.util.List children)
Description copied from class: StructureViewNodeFactory
Implementors must override this method in order to create new nodes.

Specified by:
createDeclaration in class StructureViewNodeFactory

createLink

protected IStructureViewNode createLink(IProgramElement node,
                                        AbstractIcon icon)
Description copied from class: StructureViewNodeFactory
Implementors must override this method in order to create link new nodes.

Specified by:
createLink in class StructureViewNodeFactory

createRelationship

protected IStructureViewNode createRelationship(IRelationship relationship,
                                                AbstractIcon icon)
Description copied from class: StructureViewNodeFactory
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.

Specified by:
createRelationship in class StructureViewNodeFactory