X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=plugins%2Forg.argeo.slc.client.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fmodel%2FResultFolder.java;h=c564492d889f87b6c6febef4e210f5e7a861b8d9;hb=fd6362dda19f29ca746ecefae779694e6cb43dd4;hp=8abae3f771dd409db938e6f1137e8e3d309379ae;hpb=58e0e18d64a2080680a9f8397b0dfa2894519910;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ResultFolder.java b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ResultFolder.java index 8abae3f77..c564492d8 100644 --- a/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ResultFolder.java +++ b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ResultFolder.java @@ -25,8 +25,7 @@ import org.argeo.slc.jcr.SlcNames; * 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 { +public class ResultFolder extends ParentNodeFolder { /** * @@ -39,8 +38,8 @@ public class ResultFolder extends ParentNodeFolder implements 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( @@ -49,15 +48,15 @@ public class ResultFolder extends ParentNodeFolder implements } } - /** - * 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