|
Re: Move children between parents [message #241210 is a reply to message #241205] |
Mon, 04 February 2008 06:33 |
Neeraj Bhusare Messages: 177 Registered: July 2009 Location: Canada |
Senior Member |
|
|
Hello Nacef,
The layout policy installed on the parent is involved in the
movement of child editParts. Since you are trying to move editParts across
two parents/containers, you need to provide an implementation for the
createAddCommand() in the layout policy, that returns a command which is
responsible for changing the parent of the moved child.
Hope this helps.
Nacef wrote:
> Hi all,
> I am creating a kind of editor and I want to be able to move some children
> objects between their parents and keep this changes. I took a look at the
> Logic example which does the same thing I want to circuit parts but I
> didn't get where is the code responsible of changing the parent of the
> moved child.
> If some one can explain me in few words the steps that need to be
> performed to get this result it would be really great.
> Thanks
Twitter : @NeerajBhusare
Blog : https://nbhusare.github.io/
Best regards, Neeraj
|
|
|
Powered by
FUDForum. Page generated in 0.01665 seconds