I would like to make a navigator window for my GMF generated diagram editor. I have got an outline window like on the bottom of the picture but I want the upper one. How can I make a navigator window like that?
Now I have a navigator window but I want to create additional subdiagrams which are going to be shown in this navigator tree structure. You can do this in an .ecorediag file, you can add multiple diagrams to a package. How can I do this in GMF? Do you have any idea?
I want to implement the same as in the Ecore tools. You can create more diagrams for a model file, but these diagrams appears in the navigator window's treeview, not in separated diagram files. Look at the "Diagram management through outline" header at this site: http://wiki.eclipse.org/Ecore_Tools/New_and_Noteworthy. I hope you can help me!
did you check out their source code? This would directly give you the implementation. You have two options to get it either you choose the import plugins and fragments import in eclipse which allows you to import installed plugins into your workspace and debug them or you download the source from git.