[Mono-dev] TreeView parser?

Piotr Zurek p.zurek at gmail.com
Wed Mar 29 15:14:44 EST 2006


Hi guys,

I needed and tree data structure build out of similar objects. Each of
those objects is simply an ArrayList with some overhead needed for my
application. Obviously those  objects can contain any number of
subobjects and so forth.
I have two questions related to that approach:
1. Is it a good solution? Was it a good idea to create such a structre
out of objects derived from ArrayList?
2. How do I parse that structure into TreeView model (both in GTK and
SWF)? I have a problem coming up with and flexible solution that is
independent from the "depth" of my tree.

I need that "intermediate" data model, because treeview is not the
only view I'm going to use. The treeview is supposed to show me if the
structure is build well.

Cheers
piotr


More information about the Mono-devel-list mailing list