Model Explorer (navigator) in GMF [message #167516] |
Wed, 09 January 2008 22:56 |
Eclipse User |
|
|
|
Originally posted by: bbeaulieu1.quillings.com
Hi All,
I'm relatively new to GMF, and I'm having some difficulty around the subject of navigation. I have tried the GMF navigator, and it seems like a decent solution for a single-partition GMF application. However, I think I'm going to end up using two diagrams, as described in the Diagram Partitioning wiki (http://wiki.eclipse.org/Diagram_Partitioning). It doesn't seem to me that I'll be able to use a single navigator to view my model by using the navigator in either of my generated gmfgen files. Is that a fair assessment of the current GMF navigator functionality, or is there some way to tweak it so that a single navigator would include objects from both partitions?
Assuming that I can't and that I have to create my own navigator, can anyone point me in the right direction for how to create one? I've created a view plugin that includes a Tree-style explorer, but I'm not sure of the best way to "connect" the model to the tree. I could traverse it myself, but it seems to me there's got to be a better way to render objects from an EMF model. Any thoughts?
Thanks in advance,
Brad.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02897 seconds