| Summary: | loadedNum variable identifying | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Alex Mising name <PsiersAdmin> |
| Component: | Nebula | Assignee: | Donald Dunne <donald.g.dunne> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Alex Mising name
According to the javadoc (see below), getChildren(getRoot()) is just as valid as getElement(getRoot()). Notice the "(including a root)".
What's the reason you want/need this changed?
/**
* Returns the child elements of the given parent element.
* <p>
* The difference between this method and <code>IStructuredContentProvider.getElements</code>
* is that <code>getElements</code> is called to obtain the
* tree viewer's root elements, whereas <code>getChildren</code> is used
* to obtain the children of a given parent element in the tree (including a root).
* </p>
* The result is not modified by the viewer.
*
* @param parentElement the parent element
* @return an array of child elements
*/
public Object[] getChildren(Object parentElement);
Given the above reasons, this bug is not valid. closing bug |