Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » DragAndDropCommand
DragAndDropCommand [message #628682] Thu, 23 September 2010 16:37 Go to next message
Robert Onslow is currently offline Robert OnslowFriend
Messages: 13
Registered: April 2010
Junior Member
Dear All,

When executing a drag and drop command of a child EObject from one parent
EObject to another parent EObject, I am only receiving a Notification.ADD
from the second parent. I am not receiving a Notification.REMOVE from the
first parent. Is this something that anyone else has come across?

Robert


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: DragAndDropCommand [message #628925 is a reply to message #628682] Fri, 24 September 2010 17:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Robert,

I doubt a remove could take place without producing a notification.
Likely you're not listening properly.


Robert Onslow wrote:
> Dear All,
>
> When executing a drag and drop command of a child EObject from one
> parent EObject to another parent EObject, I am only receiving a
> Notification.ADD from the second parent. I am not receiving a
> Notification.REMOVE from the first parent. Is this something that
> anyone else has come across?
>
> Robert
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: DragAndDropCommand [message #629435 is a reply to message #628925] Tue, 28 September 2010 09:45 Go to previous message
Robert Onslow is currently offline Robert OnslowFriend
Messages: 13
Registered: April 2010
Junior Member
Ed,
I have a feeling you're right. I will recheck the listeners
Robert
On Fri, 24 Sep 2010 18:54:23 +0100, Ed Merks <Ed.Merks@gmail.com> wrote:

> Robert,
>
> I doubt a remove could take place without producing a notification.
> Likely you're not listening properly.
>
>
> Robert Onslow wrote:
>> Dear All,
>>
>> When executing a drag and drop command of a child EObject from one
>> parent EObject to another parent EObject, I am only receiving a
>> Notification.ADD from the second parent. I am not receiving a
>> Notification.REMOVE from the first parent. Is this something that
>> anyone else has come across?
>>
>> Robert
>>
>>


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Previous Topic:[Announce] Demonstrations at ESE's Modeling Symposium
Next Topic:[EMF] UnresolvedReferenceException on a ID reference with spaces in it.
Goto Forum:
  


Current Time: Fri Apr 19 11:06:11 GMT 2024

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

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

Back to the top