Community
Participate
Working Groups
Build ID: I20080617-2000 Zest use a ContentProvider to make GraphNode objects from business-model objects. (see the internal and "only-package-visible" org.eclipse.zest.core.viewers.internal.AbstractStructuredGraphViewer.addGraphModelNode(Object) method..). It isn't possible to create a custom nodes instead of GraphNode class (i.e. instances of GraphContainer) using only business-model/content provider mechanism. I think this should be possible through ContentProvider ...
Is there any progress on this issue? I'm currently evaluating ZEST and would also like to create GraphContainers my beans of the ContentProvider. This bug was originally opened - it seems - on request of Ian in this thread: http://www.eclipse.org/forums/index.php?t=msg&goto=244804&S=d737f352605f0393bd6e57f04a7e7c0b (including URL for reference). (PS.: I'd be willing to contribute if my skills permit and help is wanted.)
(In reply to comment #0) > I think this should be possible through ContentProvider ... In my ContentProvider I implement an INestedContentProvider which (from the Javadoc) is: A content provider for nested graphs. Any entity based content provider (IGraphEntityContentProvider or IGraphEntityRelationshipContentProvider) can also implement this interface. Any node that "hasChildren" will be rendered as a container.
Re-assigning back to inbox, as Ian is no longer active committer.