classpathhelper.eclipse.ui.locationsview
Class ClassLoaderElement

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

public class ClassLoaderElement
extends AbstractTreeRoot

Visual element representing a class loader. This objects children are typically ClassPathElement objects.

Since:
1.0
Author:
bharris

Constructor Summary
ClassLoaderElement(LocationsViewPart theViewPart, CGClassLoader theClassLoader)
           
 
Method Summary
 void dispose()
          Called when this tree is nolonger needed.
 Image getIconName()
          The associated Icon.
 LocationsViewPart getViewPart()
          The view part that created this tree.
 
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(LocationsViewPart theViewPart,
                          CGClassLoader theClassLoader)
Parameters:
theViewPart - The view that created this tree.
theClassLoader - The class loader this node will represent.
Since:
1.0
Method Detail

dispose

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

Since:
1.0

getViewPart

public LocationsViewPart getViewPart()
The view part that created this tree.

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.