Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:14 Go to next message
Nigel Daniels is currently offline Nigel DanielsFriend
Messages: 40
Registered: May 2011
Member
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 15:09 Go to previous messageGo to next message
Dan Tololoi is currently offline Dan TololoiFriend
Messages: 33
Registered: September 2012
Location: Iasi, Romania
Member

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 15:10]

Report message to a moderator

Re: Double-click to open diagram failing [message #1231411 is a reply to message #1231394] Tue, 14 January 2014 16:05 Go to previous messageGo to next message
Dan Tololoi is currently offline Dan TololoiFriend
Messages: 33
Registered: September 2012
Location: Iasi, Romania
Member

Another hint would be to validate the gmfgen.
Re: Double-click to open diagram failing [message #1232455 is a reply to message #1231411] Fri, 17 January 2014 01:04 Go to previous message
Nigel Daniels is currently offline Nigel DanielsFriend
Messages: 40
Registered: May 2011
Member
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: Fri Apr 19 00:35:05 GMT 2024

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

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

Back to the top