Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Link to Link Connection - Problems
Link to Link Connection - Problems [message #165852] Wed, 19 December 2007 10:26 Go to next message
Eclipse UserFriend
Originally posted by: david.s58.hotmail.fr

Hi everybody !

I experience a problem by creating a link to link connection.

I think the link mapping and the model mapping is done correctly. However,
when I create a link to link connection, and if I want to delete it after,
it is not working.

After a F5 the link-to-link connection is recreated automatically. ( even
if I deleted it before )

I saw there is a bug, but mine seems to be different :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=180786

If anyone has an idea, please feel free to explain me !

again thank you for this board, it helps a lot...And sorry for my english
Re: Link to Link Connection - Problems [message #165907 is a reply to message #165852] Wed, 19 December 2007 13:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david.s58.hotmail.fr

NB : A node to link connection has the same problems. I try delete it in
the graphical editor but it reappears.
Re: Link to Link Connection - Problems [message #166114 is a reply to message #165907] Thu, 20 December 2007 13:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david.s58.hotmail.fr

nobody has a solution to this problem ? When I delete the links, they
reappear...
Re: Link to Link Connection - Problems [message #166122 is a reply to message #166114] Thu, 20 December 2007 14:13 Go to previous messageGo to next message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
It seems that your editor is synchronized with your underlying domain
model (property 'Synchronized' in the GenDiagram element of your
*.gmfgen file). In this case, a "Delete from Diagram" action would only
delete the graphical instance of your link, but when refreshing your
editor using F5, the link may reappear (note that this behavior is
strange as the "Delete From Diagram" action should be disabled in the
case of a synchronized editor). You should either perform a "Delete From
Model" action to completely remove the link from your model and its
graphical occurences. Hope it helps.

Dave a écrit :
> nobody has a solution to this problem ? When I delete the links, they
> reappear...
>
Re: Link to Link Connection - Problems [message #166591 is a reply to message #166122] Wed, 02 January 2008 17:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexpgwag.ig.com.br

Hello,

Thanks Jacques Lescot!

I was facing the same problem, that Dave has related. I have a link to
link, when I delete it and press F5 the link was recreated. The tip to
delete from Model really works , I click with the second button of the
mouse and press delete from Model and the link was not recreated again.

But I want to know if there is a way to delete the link from diagram and
from the model using delete only?!

Regards,



Jacques LESCOT wrote:

> It seems that your editor is synchronized with your underlying domain
> model (property 'Synchronized' in the GenDiagram element of your
> *.gmfgen file). In this case, a "Delete from Diagram" action would only
> delete the graphical instance of your link, but when refreshing your
> editor using F5, the link may reappear (note that this behavior is
> strange as the "Delete From Diagram" action should be disabled in the
> case of a synchronized editor). You should either perform a "Delete From
> Model" action to completely remove the link from your model and its
> graphical occurences. Hope it helps.

> Dave a écrit :
>> nobody has a solution to this problem ? When I delete the links, they
>> reappear...
>>
Re: Link to Link Connection - Problems [message #166664 is a reply to message #166591] Thu, 03 January 2008 10:37 Go to previous messageGo to next message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
I don't think this is registered, but a CTRL+DEL shortcut would be
reasonable to perform a "Delete From Model".
Howevere there are many bugs related to the way of defining its own
keybindings : see https://bugs.eclipse.org/bugs/show_bug.cgi?id=159850,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=134495 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=163697 which are all
targeted for the 2.1 release.

Alex Pinheiro a écrit :
> Hello,
> Thanks Jacques Lescot!
>
> I was facing the same problem, that Dave has related. I have a link to
> link, when I delete it and press F5 the link was recreated. The tip to
> delete from Model really works , I click with the second button of the
> mouse and press delete from Model and the link was not recreated again.
>
> But I want to know if there is a way to delete the link from diagram and
> from the model using delete only?!
>
> Regards,
>
>
>
> Jacques LESCOT wrote:
>
>> It seems that your editor is synchronized with your underlying domain
>> model (property 'Synchronized' in the GenDiagram element of your
>> *.gmfgen file). In this case, a "Delete from Diagram" action would
>> only delete the graphical instance of your link, but when refreshing
>> your editor using F5, the link may reappear (note that this behavior
>> is strange as the "Delete From Diagram" action should be disabled in
>> the case of a synchronized editor). You should either perform a
>> "Delete From Model" action to completely remove the link from your
>> model and its graphical occurences. Hope it helps.
>
>> Dave a écrit :
>>> nobody has a solution to this problem ? When I delete the links, they
>>> reappear...
>>>
>
>
Re: Link to Link Connection - Problems [message #166672 is a reply to message #166591] Thu, 03 January 2008 10:40 Go to previous message
Eclipse UserFriend
Originally posted by: david.s58.hotmail.fr

Thank you ( merci ? ) jacques, your explanation is working fine !
Previous Topic:Connection length in pixels, howto get that info?
Next Topic:Open request eaten problem
Goto Forum:
  


Current Time: Wed May 15 00:51:34 GMT 2024

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

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

Back to the top