I'm refactoring my GWT App with the framework Editor.
I'm stuck with a view that contains a CellTree widget. I don't see how to wrap my CustomTreeViewModel with the editor Framework. Maybe I need to subclass the CellTree class?
Precision :
Here is my data structure in the CellTree :
rootLevel is null
ZoneProxy :
ZoneProxy parent;
List<ZoneProxy> childs;
List<PointProxy> points;
So I can have this :
|_ Zone 1
| |_Zone 1.1
| |_Zone 1.2
| |_Point 1
| |_Point 2
|_ Zone 2
.
.
.
I get the CellTree working without the EditorFramework, using two hashMaps :
private Map<ZoneProxy,ListDataProvider<ZoneProxy>> treeListDataZones;
private Map<ZoneProxy,ListDataProvider<PointProxy>> treeListDataPoints;
When a user clicks on a a Point in the tree, I have a right panel that should show the details of the point clicked.
I get the CellTree fills datas with the EditorFramework, but I make the CustomTreeViewModel of the CellTree implementing LeafValueEditor. I don't see how to go deeper with Editors. (I don't know wich Sub Editors I have to create with my data structure)
I think I'm missing something with the EditorFramework, I gonna read the Google DevGuide again.
I don't find any examples using Celltree with the Framework Editor. If someone has a good example, it will help me a lot. :)
Thanks