Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » 2.3.0 refreshChildren problem
2.3.0 refreshChildren problem [message #554453] Mon, 23 August 2010 08:55 Go to next message
iwad_gmf is currently offline iwad_gmfFriend
Messages: 3
Registered: August 2010
Junior Member
We are developing a tool with GMF and when we updated to the new 2.3.0 version we encountered an strange error that didn't happen before:

- When a children is dragged inside a parent, the view (editpart) is cloned by the method refreshChildren and a new editpart appears. It is linked to the same element, if it is removed both dissapear from the container.

refreshChildren when debugged is executed several times for the container when we drag a "button" object, and in the second pass getModelChildren returns different NodeImpl objects pointing to the same element. Both ButtonEditPart and Button2EditPart are present in the container.

Is this some kind of bug or are we doing something wrong?

Thanks

[Updated on: Mon, 23 August 2010 09:18]

Report message to a moderator

Re: 2.3.0 refreshChildren problem [message #554558 is a reply to message #554453] Mon, 23 August 2010 14:25 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

I also noticed behavior break with reparent.
Perhaps this bug can help you: https://bugs.eclipse.org/bugs/show_bug.cgi?id=318585

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: 2.3.0 refreshChildren problem [message #554711 is a reply to message #554453] Tue, 24 August 2010 08:02 Go to previous message
iwad_gmf is currently offline iwad_gmfFriend
Messages: 3
Registered: August 2010
Junior Member
It worked, thanks!

However, it would be good to know what kind of features are disabled when applying this patch apart from (as you say in your post) c&p so we are not surprised again.


Regards

[Updated on: Tue, 24 August 2010 08:03]

Report message to a moderator

Previous Topic:Disable diagram menu
Next Topic:Hiding palette programatically
Goto Forum:
  


Current Time: Fri Apr 26 16:44:39 GMT 2024

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

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

Back to the top