Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Double-click to open diagram failing
Double-click to open diagram failing [message #1226130] Tue, 31 December 2013 15:14 Go to next message
Eclipse UserFriend
I've been developing a GMF based RCP application and have found my
navigator no longer opens the diagram when I double click on it. Can
anyone advice where I can start looking to diagnose what's up?

Thanks for any pointers.

Nigel
Re: Double-click to open diagram failing [message #1231394 is a reply to message #1226130] Tue, 14 January 2014 10:09 Go to previous messageGo to next message
Eclipse UserFriend
Hi Nigel,

Please place a breakpoint in the generated diagram code ( from the .gmfgen)

xxx.diagram.part -> xxxDiagramEditor class

in the method
private ISelection getNavigatorSelection()
and continue executing step by step.
In this way you can continue to see why the opening is not working, either Diagram problem or something else.

Hope this helps.

[Updated on: Tue, 14 January 2014 10:10] by Moderator

Re: Double-click to open diagram failing [message #1231411 is a reply to message #1231394] Tue, 14 January 2014 11:05 Go to previous messageGo to next message
Eclipse UserFriend
Another hint would be to validate the gmfgen.
Re: Double-click to open diagram failing [message #1232455 is a reply to message #1231411] Thu, 16 January 2014 20:04 Go to previous message
Eclipse UserFriend
Hi Dan, thanks for getting back to me. I've tried both approaches. I
validated the gmfgen and it validated. I then regened the code. The
problem seems to be that the method getNavigatorSelection is not being
generated in the class xxx.part.xxDiagramEditor.java.

Is there somewhere else in the toolchain, e.g in the ecore file or
gmfmap that I need to look at?

Nigel
Previous Topic:I can create a graph editor [GMF] with graphiti instead of GEF??
Next Topic:GMF Diagram Properties Error
Goto Forum:
  


Current Time: Wed Jul 23 17:11:56 EDT 2025

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

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

Back to the top