Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF navigator window
GMF navigator window [message #1075989] Tue, 30 July 2013 09:11 Go to next message
Peter Hudak is currently offline Peter Hudak
Messages: 6
Registered: July 2013
Junior Member
Hello!

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?

Thanks
Re: GMF navigator window [message #1096363 is a reply to message #1075989] Wed, 28 August 2013 05:34 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

what is the difference between the two outlines.

Ralph

[Updated on: Wed, 28 August 2013 05:34]

Report message to a moderator

Re: GMF navigator window [message #1097426 is a reply to message #1096363] Thu, 29 August 2013 13:54 Go to previous messageGo to next message
Peter Hudak is currently offline Peter Hudak
Messages: 6
Registered: July 2013
Junior Member
Hello,

the outline window is for a quick overview on the structure of classes and elements, but in the navigator window you can also do actions on elements (for example add, delete). I successfully found a solution: https://bugs.eclipse.org/bugs/show_bug.cgi?id=206778.

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?

Thanks,
Peter
Re: GMF navigator window [message #1099830 is a reply to message #1097426] Mon, 02 September 2013 05:14 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

what is your exact definition of a sub diagram?

Ralph
Re: GMF navigator window [message #1099950 is a reply to message #1099830] Mon, 02 September 2013 08:32 Go to previous messageGo to next message
Peter Hudak is currently offline Peter Hudak
Messages: 6
Registered: July 2013
Junior Member
Dear Ralph,

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!

Thanks,
Peter
Re: GMF navigator window [message #1106548 is a reply to message #1099950] Wed, 11 September 2013 04:39 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

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.

Ralph
Re: GMF navigator window [message #1116321 is a reply to message #1106548] Wed, 25 September 2013 04:44 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

for latest updates on this you can put yourself on CC of this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=417987.

Ralph

[Updated on: Wed, 25 September 2013 04:45]

Report message to a moderator

Previous Topic:AbstractTransactionalCommand
Next Topic:Conflicting handlers with combined EMF/GMF Editor
Goto Forum:
  


Current Time: Wed Aug 20 06:55:18 EDT 2014

Powered by FUDForum. Page generated in 0.06723 seconds