classpathhelper.eclipse.ui.classloaderview
Class ClassLoaderElement

java.lang.Object
  extended byclasspathhelper.util.AbstractTree
      extended byclasspathhelper.util.AbstractTreeRoot
          extended byclasspathhelper.eclipse.ui.classloaderview.ClassLoaderElement
All Implemented Interfaces:
ITree, ITreeRoot

public class ClassLoaderElement
extends AbstractTreeRoot

Visual element representing a class loader. This objects children are typically ClassPathElement objects. Typically the root of the tree is not actually displayed.

Since:
1.0
Author:
bharris

Constructor Summary
ClassLoaderElement(ClassPathHelperViewPart theViewPart, CGClassLoader theClassLoader)
           
 
Method Summary
 void dispose()
          Called when this tree is nolonger needed.
 Image getIconName()
          The associated Icon.
 ClassPathHelperViewPart getViewPart()
          The view part associated with this visual tree element.
 
Methods inherited from class classpathhelper.util.AbstractTreeRoot
addTreeNodeChangeListener, addTreeStructureChangeListener, fireTreeNodeChangeEvent, fireTreeNodeChangeEvent, fireTreeStructureAddEvent, fireTreeStructureAddEvent, fireTreeStructureRemoveEvent, removeTreeNodeChangeListener, removeTreeStructureChangeListener
 
Methods inherited from class classpathhelper.util.AbstractTree
addChild, addChildren, getChildren, getParent, getRoot, hasChildren, removeAllChildren, removeChild, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface classpathhelper.util.ITree
getChildren, getParent, hasChildren
 

Constructor Detail

ClassLoaderElement

public ClassLoaderElement(ClassPathHelperViewPart theViewPart,
                          CGClassLoader theClassLoader)
Parameters:
theViewPart - The view this visual tree element was created for.
theClassLoader - The class loader this node will represent.
Since:
1.2
Method Detail

dispose

public void dispose()
Called when this tree is nolonger needed. (will cancel any outstanding jobs).

Since:
1.0

getViewPart

public ClassPathHelperViewPart getViewPart()
The view part associated with this visual tree element.

Returns:
The view part.
Since:
1.2

getIconName

public Image getIconName()
Description copied from interface: ITree
The associated Icon.

Returns:
The Icon for this node.