* UI Tree component that wrap a node of type ResultFolder. list either other
* folders and/or a list of results. keeps a reference to its parent.
*/
-public class ResultFolder extends ParentNodeFolder implements
- Comparable<ResultFolder> {
+public class ResultFolder extends ParentNodeFolder {
/**
*
super(parent, node, name);
try {
// initialize passed status if possible
- if (node.hasNode(SlcNames.SLC_STATUS))
- setPassed(node.getNode(SlcNames.SLC_STATUS)
+ if (node.hasNode(SlcNames.SLC_AGGREGATED_STATUS))
+ setPassed(node.getNode(SlcNames.SLC_AGGREGATED_STATUS)
.getProperty(SlcNames.SLC_SUCCESS).getBoolean());
} catch (RepositoryException re) {
throw new SlcException(
}
}
- /**
- * Overriden to return an ordered list of children
- */
- public synchronized Object[] getChildren() {
- Object[] children = super.getChildren();
- return ResultParentUtils.orderChildren(children);
- }
-
- public int compareTo(ResultFolder o) {
- return super.compareTo(o);
- }
+ // /**
+ // * Overriden to return an ordered list of children
+ // */
+ // public synchronized Object[] getChildren() {
+ // Object[] children = super.getChildren();
+ // return ResultParentUtils.orderChildren(children);
+ // }
+ //
+ // public int compareTo(ResultFolder o) {
+ // return super.compareTo(o);
+ // }
}
\ No newline at end of file