|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object classpathhelper.util.AbstractTree classpathhelper.eclipse.ui.classloaderview.ContentElement
Visual tree node representing a ContentDetail
representing
a resource in the classpath.
Field Summary |
Fields inherited from interface classpathhelper.eclipse.ui.IDecorable |
BLOCKED, BLOCKED_DIFF, IGNORED, UNREFERENCED, UNRESOLVED, WONTLOAD |
Constructor Summary | |
ContentElement(Location theLocation,
ContentDescription content,
CGClassLoader theClassLoader,
boolean theDisplayContents)
|
Method Summary | |
protected void |
determineDecorations()
Internal method that determines the values of this class with respect to decorations (unresolved, blocked, etc). |
ITree[] |
getChildren()
Getter for this nodes children. |
Image |
getIconName()
The associated Icon. |
boolean |
hasChildren()
Does this node have children. |
boolean |
hasUnresolved()
Getter for unresolved flag. |
boolean |
hasWontLoad()
Will this not load or does this element contain elements that won't load. |
boolean |
isBlocked()
Getter method indicating whether this class is blocked. |
boolean |
isBlockedDiffVersion()
Getter method indicating whether this class is blocked by a different version. |
boolean |
isIgnored()
method required by IDecorable , always returns false. |
boolean |
isUnreferenced()
Is this element referred to by anyone? |
protected void |
loadBlockedLocations()
Internal method for loading blocked locations. |
protected void |
loadChildren()
Method called to load the visual children of this node. |
void |
setBlocked(boolean blocked)
Setter method, indicating whether this class is blocked. |
void |
setBlockedDiffVersion(boolean blocked)
Setter method, indicating whether this class is blocked by a class with a different version. |
boolean |
supportingDecorations()
Flag indicating whether or not this node should display decorations |
java.lang.String |
toString()
|
Methods inherited from class classpathhelper.util.AbstractTree |
addChild, addChildren, getParent, getRoot, removeAllChildren, removeChild, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContentElement(Location theLocation, ContentDescription content, CGClassLoader theClassLoader, boolean theDisplayContents)
theLocation
- The location to load the class details from.content
- The description of the content represented by this object.theClassLoader
- The ClassLoader to load the detail information
from.theDisplayContents
- boolean indicating whether or not the class should
have children to display its contents.Method Detail |
public void setBlocked(boolean blocked)
blocked
- flag indicating whether or not this class element
is blocked by another location on the classpath.public boolean isBlocked()
isBlocked
in interface IDecorable
true
if this class is blocked, otherwise
false
public boolean isUnreferenced()
IDecorable
isUnreferenced
in interface IDecorable
true
if this element has no references
to it (other than possibly itself), otherwise false
.public boolean isIgnored()
IDecorable
, always returns false.
isIgnored
in interface IDecorable
false
public void setBlockedDiffVersion(boolean blocked)
Setter method, indicating whether this class is blocked by a class with a different version.
This property is subtly different from setBlocked(boolean)
in that this property also indicates that the blocking class is different
from the class at this location.
blocked
- flag indicating whether or not this class element
is blocked by another location on the classpath.public boolean isBlockedDiffVersion()
isBlockedDiffVersion
in interface IDecorable
true
if this class is blocked, otherwise
false
public boolean hasUnresolved()
hasUnresolved
in interface IDecorable
true
if this class has unresolved references
otherwise, false
.public boolean supportingDecorations()
supportingDecorations
in interface IDecorable
true
If decorations should be shown
otherwise false
public boolean hasWontLoad()
IDecorable
hasWontLoad
in interface IDecorable
true
if this node has elements that won't load
(possibly itself), otherwise false
protected void determineDecorations()
protected void loadChildren()
protected void loadBlockedLocations()
public Image getIconName()
ITree
getIconName
in interface ITree
public boolean hasChildren()
ITree
hasChildren
in interface ITree
hasChildren
in class AbstractTree
public ITree[] getChildren()
ITree
getChildren
in interface ITree
getChildren
in class AbstractTree
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |