classpathhelper.eclipse.ui.packagebrowseview
Class PackageElement
java.lang.Object
classpathhelper.util.AbstractTree
classpathhelper.eclipse.ui.packagebrowseview.PackageElement
- All Implemented Interfaces:
- ITree
- public class PackageElement
- extends AbstractTree
Element representing a Java package. Classes are organized by
package to help organize the display of class information.
Implementation Notes
This class uses lazy loading to populate its children only
when it is visually expanded.
- Since:
- 1.2
- Author:
- bharris
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_PKG_LABEL
public static final java.lang.String DEFAULT_PKG_LABEL
- See Also:
- Constant Field Values
PackageElement
public PackageElement(Package thePackage,
CGClassLoader theClassLoader)
- Parameters:
theClassLoader
- The classloader loading this location.- Since:
- 1.2
getIconName
public Image getIconName()
- Description copied from interface:
ITree
- The associated Icon.
- Returns:
- The Icon for this node.
hasChildren
public boolean hasChildren()
- Description copied from interface:
ITree
- Does this node have children.
- Specified by:
hasChildren
in interface ITree
- Overrides:
hasChildren
in class AbstractTree
getChildren
public ITree[] getChildren()
- Description copied from interface:
ITree
- Getter for this nodes children.
- Specified by:
getChildren
in interface ITree
- Overrides:
getChildren
in class AbstractTree
toString
public java.lang.String toString()