Hi,
In VW7.5 and the last version of Moose, I do not know why these two methods: "ViewRenderer>>sortNodes:" and "Group>>sort:" do not work well. In action, I think that they do not do any modification on the group/collection! Why? Thus, actually, for sorting a group, I was obligated to do: (aGroup asOrderedCollection sort: aBlock) [collection asOrderedCollection].
bests, Hani
Hani ABDEEN Student Phd thesis (Remodularization of Architectural Elements in OO Softwares) Laboratory LISTIC - Them LSE Annecy - University de Savoie
Hi,
Thanks for pointing this out.
Indeed, the problem is due to the new implementation of sorted: (it used to be sort: but then it was renamed because sort: now exists in 7.5). Currently, Collection>>sorted: does not affect the current collection, but returns a new one.
I now changed Group>>sorted: and ViewRenderer>>sortNodes: to work as they should.
Just a note: please use Group>>sorted: instead of Group>>sort:.
Cheers, Doru
On Jul 4, 2007, at 5:18 PM, Hani Abdeen wrote:
Hi,
In VW7.5 and the last version of Moose, I do not know why these two methods: "ViewRenderer>>sortNodes:" and "Group>>sort:" do not work well. In action, I think that they do not do any modification on the group/collection! Why? Thus, actually, for sorting a group, I was obligated to do: (aGroup asOrderedCollection sort: aBlock) [collection asOrderedCollection].
bests, Hani
Hani ABDEEN Student Phd thesis (Remodularization of Architectural Elements in OO Softwares) Laboratory LISTIC - Them LSE Annecy - University de Savoie
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.iam.unibe.ch/~girba www.iam.unibe.ch/~girba/blog/
"We cannot reach the flow of things unless we let go."