classpathhelper.eclipse.ui
Interface IDecorable

All Known Implementing Classes:
ClassElement, ClassElement, ClassPathElement, ClassPathElement, ClassPathElement, ContentElement, ContentElement, PackageElement, PackageElement

public interface IDecorable

Interface that indentifies an element that can be decorated via LabelDecorator.

Since:
1.0
Author:
bharris

Field Summary
static java.lang.String BLOCKED
          Tree node property representing a node that is blocked by another node earlier in the classpath.
static java.lang.String BLOCKED_DIFF
          Tree node property representing a node that is blocked by another node that has different bytes.
static java.lang.String IGNORED
          Tree node indicating that a location is ignored by the classpath.
static java.lang.String UNREFERENCED
          Tree node indicating that a node is unreferenced by other nodes.
static java.lang.String UNRESOLVED
          Tree node indicating that a node has unresolved classes.
static java.lang.String WONTLOAD
          Tree node indicating that a node has elements or is an element that won't load.
 
Method Summary
 boolean hasUnresolved()
          Does this element have unresolved references.
 boolean hasWontLoad()
          Will this not load or does this element contain elements that won't load.
 boolean isBlocked()
          Is this element blocked (or does it contain blocked elements).
 boolean isBlockedDiffVersion()
          Is this element blocked (or does it contain blocked elements), that have a different version.
 boolean isIgnored()
          Is this element is ignored.
 boolean isUnreferenced()
          Is this element referred to by anyone?
 boolean supportingDecorations()
          Method added to allow nodes to indicate whether or not they are supporting decorations.
 

Field Detail

BLOCKED

public static final java.lang.String BLOCKED
Tree node property representing a node that is blocked by another node earlier in the classpath.

Since:
1.1
See Also:
Constant Field Values

BLOCKED_DIFF

public static final java.lang.String BLOCKED_DIFF
Tree node property representing a node that is blocked by another node that has different bytes.

Since:
1.1
See Also:
Constant Field Values

IGNORED

public static final java.lang.String IGNORED
Tree node indicating that a location is ignored by the classpath.

Since:
1.1
See Also:
Constant Field Values

UNRESOLVED

public static final java.lang.String UNRESOLVED
Tree node indicating that a node has unresolved classes.

Since:
1.1
See Also:
Constant Field Values

UNREFERENCED

public static final java.lang.String UNREFERENCED
Tree node indicating that a node is unreferenced by other nodes.

Since:
1.1
See Also:
Constant Field Values

WONTLOAD

public static final java.lang.String WONTLOAD
Tree node indicating that a node has elements or is an element that won't load.

Since:
1.1
See Also:
Constant Field Values
Method Detail

isBlocked

public boolean isBlocked()
Is this element blocked (or does it contain blocked elements).

Returns:
true If this element is blocked, false if this element isn't or cannot be blocked.
Since:
1.0

isBlockedDiffVersion

public boolean isBlockedDiffVersion()
Is this element blocked (or does it contain blocked elements), that have a different version.

Returns:
true If this element is blocked, false if this element isn't or cannot be blocked.
Since:
1.0

isIgnored

public boolean isIgnored()
Is this element is ignored.

Returns:
true If this element is ignored, false if this element isn't or cannot be ignored.
Since:
1.0

hasUnresolved

public boolean hasUnresolved()
Does this element have unresolved references.

Returns:
true If this element has unresolved, false if this element isn't or cannot have unresolved.
Since:
1.0

isUnreferenced

public boolean isUnreferenced()
Is this element referred to by anyone?

Returns:
true if this element has no references to it (other than possibly itself), otherwise false.
Since:
1.0

supportingDecorations

public boolean supportingDecorations()

Method added to allow nodes to indicate whether or not they are supporting decorations. Some node types are used in multiple places and in some contexts don't require decorations. In other cases a node might indicate that they do not support decorations while they are still calculating their details.

Returns:
true if this node is currently supporting decorations, otherwise false
Since:
1.0

hasWontLoad

public boolean hasWontLoad()
Will this not load or does this element contain elements that won't load. Elements typically won't load if something they depend on won't load.

Returns:
true if this node has elements that won't load (possibly itself), otherwise false
Since:
1.1