Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Binding own structure to TreeTable
Binding own structure to TreeTable [message #584435] Mon, 04 January 2010 04:17 Go to previous message
Matthias is currently offline Matthias
Messages: 52
Registered: September 2009
Member
Hi there,
i'm new to Riena, i did the first steps using the tutorials and really liked it so far.
At the moment i'm trying to build a treetable that contains my own model structure (an hierarchy with 5-6 levels). I want to bind the data to the view, so that changes are updated to the model simultaneously. The "bindToModel()" method needs a certain treeElementClass, but i have a whole structure of classes to bind.
It works when i implement ITreeNode to each class of my structure and use ITreeNode.class in the bindToModel() method. But i don't like this approach since at the moment when i set up the structure i don't care if it's getting displayed or not.
Is there a better approach for that, maybe using special content providers? Are the examples somewhere?

thanks, matthias
 
Read Message
Read Message
Previous Topic:Riena Release 1.2.0.0
Next Topic:Riena on Windows 7
Goto Forum:
  


Current Time: Sat May 18 19:01:00 EDT 2013

Powered by FUDForum. Page generated in 0.01710 seconds