Hi Lukas,
On 19 Apr 2010, at 10:52, Lukas Renggli wrote:
Very cool indeed, I can use that.
What do I do if I have different kinds of objects per level?
You have to take care of that somehow in the children block. The level option is one possibility to distinguish between objects. Another one is a "isKindOf:", but that you can do yourself. It would be interesting to offer other means of mapping (maybe something that builds a map behind the scene), but I would not know how to do that. If you have ideas, I would be happy to hear them :).
Cheers, Doru
Lukas
On 19 April 2010 10:49, Stéphane Ducasse stephane.ducasse@inria.fr wrote:
this is really cool.
Stef
On Apr 18, 2010, at 11:46 PM, Tudor Girba wrote:
Hi,
I added the possibility to specify the children of a tree also based on the level at which the item resides.
An example can be found here: GLMBasicExamples>>treeWithChildrenByLevel
Stef, this solves a problem of easily showing both categories and selectors (both being represented by symbols) in the same tree :).
Cheers, Doru
-- www.tudorgirba.com
"There are no old things, there are only old ways of looking at them."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Lukas Renggli www.lukas-renggli.ch
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"To lead is not to demand things, it is to make them happen."