Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connection to a shortcut
Connection to a shortcut [message #143420] Thu, 19 July 2007 06:24 Go to next message
Eclipse UserFriend
Originally posted by: fansz.cvon.net

Hello,

I have implemented a connection from an editpart to a shortcut with gmf
2.0 (it's like create a connection to the editpart itself) everything
works fine but when I close diagram and open it again the connection does
not appears and the diagram is marked as dirty. I don't know in which
place I am loosing the connection. However I have other connections from
editparts to other editparts in the same diagram and they appears fine
after reopen the diagram.

Any body knows this behaviour??

Thanks in advance.
Andy.
Re: Connection to a shortcut [message #143432 is a reply to message #143420] Thu, 19 July 2007 06:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fansz.cvsn.net

I have seen in my diagram's docroot canonical edit policy in method
refreshSemantic when I comment
createdConnectionViews.addAll(refreshConnections());
the connection appears correctly. It seems like it isn't able to find the
target destination when is going to re-create the connection.

Any ideas?
Andy.
Re: Connection to a shortcut [message #144066 is a reply to message #143432] Wed, 25 July 2007 08:19 Go to previous message
Eclipse UserFriend
Hello Andy,

What is the problem with getting connection destination? Can you please debug
refreshConnections() and describe the problem a bit more detailed here?

-----------------
Alex Shatalin
Previous Topic:Compatibility GMF1.0.3 / GMF2.0
Next Topic:Missing shortcut icon on deployment
Goto Forum:
  


Current Time: Sat May 10 12:43:57 EDT 2025

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

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

Back to the top