classpathhelper.eclipse.ui.packageview
Class ClassLoaderElement

java.lang.Object
  extended byclasspathhelper.util.AbstractTree
      extended byclasspathhelper.util.AbstractTreeRoot
          extended byclasspathhelper.eclipse.ui.packageview.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.2
Author:
bharris

Constructor Summary
ClassLoaderElement(PackagesViewPart theViewPart, CGClassLoader theClassLoader)
           
 
Method Summary
 void dispose()
          Called when this tree is nolonger needed.
 Image getIconName()
          The associated Icon.
 PackagesViewPart getViewPart()
          Returns the view part associated with this tree model.
 
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(PackagesViewPart theViewPart,
                          CGClassLoader theClassLoader)
Parameters:
theViewPart - The viewer wrapping these tree nodes.
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.2

getViewPart

public PackagesViewPart getViewPart()
Returns the view part associated with this tree model.

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.