Skip to main content


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 13:11 Go to next message
Peter Hudak is currently offline Peter HudakFriend
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 09:34 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

what is the difference between the two outlines.

Ralph

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

Report message to a moderator

Re: GMF navigator window [message #1097426 is a reply to message #1096363] Thu, 29 August 2013 17:54 Go to previous messageGo to next message
Peter Hudak is currently offline Peter HudakFriend
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 09:14 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
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 12:32 Go to previous messageGo to next message
Peter Hudak is currently offline Peter HudakFriend
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 08:39 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
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 08:44 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
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 08:45]

Report message to a moderator

Previous Topic:AbstractTransactionalCommand
Next Topic:GMF set & get View Location
Goto Forum:
  


Current Time: Fri Apr 19 09:23:32 GMT 2024

Powered by FUDForum. Page generated in 0.02444 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top