X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Forg.argeo.slc.client.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fmodel%2FParentNodeFolder.java;h=51ffb11182ab545431ad6478f73f82ff40505ad6;hb=48b6f7647f12f4b96d1914bcafc95efd7f43cc43;hp=d978711f7b620df76042a736582552f2c019c3d8;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/ParentNodeFolder.java b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ParentNodeFolder.java index d978711f7..51ffb1118 100644 --- a/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ParentNodeFolder.java +++ b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ParentNodeFolder.java @@ -88,30 +88,25 @@ public class ParentNodeFolder extends ResultParent { } } - @Override - public synchronized void dispose() { - super.dispose(); - } - public Node getNode() { return node; } - /** - * Overriden in the specific case of "My result" root object to return an - * ordered list of children - */ - public synchronized Object[] getChildren() { - Object[] children = super.getChildren(); - try { - if (node.isNodeType(SlcTypes.SLC_MY_RESULT_ROOT_FOLDER)) - return ResultParentUtils.orderChildren(children); - else - return children; - } catch (RepositoryException re) { - throw new SlcException( - "Unexpected error while initializing simple node folder : " - + getName(), re); - } - } + // /** + // * Overriden in the specific case of "My result" root object to return an + // * ordered list of children + // */ + // public synchronized Object[] getChildren() { + // Object[] children = super.getChildren(); + // try { + // if (node.isNodeType(SlcTypes.SLC_MY_RESULT_ROOT_FOLDER)) + // return ResultParentUtils.orderChildren(children); + // else + // return children; + // } catch (RepositoryException re) { + // throw new SlcException( + // "Unexpected error while initializing simple node folder : " + // + getName(), re); + // } + // } } \ No newline at end of file