OrphanChildCommand [message #102782] |
Wed, 29 October 2003 21:00  |
Eclipse User |
|
|
|
Originally posted by: snowice.asiamail.com
Hi,
I would like to know what's is the rold of the OrphanChildCommand in the
Logic example, in terms of implementation, it looks highly similar to the
DeleteCommand. When is it actually invoked?
Thanks.
regards,
Evon
|
|
|
|
|
|
|
|
Re: OrphanChildCommand [message #102892 is a reply to message #102782] |
Thu, 30 October 2003 11:34  |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.Rigidsoftware.com
On Thu, 30 Oct 2003 02:00:35 +0000, Evon wrote:
> Hi,
> I would like to know what's is the rold of the OrphanChildCommand in
> the
> Logic example, in terms of implementation, it looks highly similar to
> the DeleteCommand. When is it actually invoked?
>
> Thanks.
> regards,
> Evon
Orphan occurs for instance when you have 2 container Edit Parts in the
display. And you drag a child from within its container, over into
another container. That will be an orphan-add operation.
I don't see how
connections can possibly survive an EditPart changing containers though...
I found no proactical use for orphan and so far I am not using it. Perhaps
as I near completion I will find a usage.
|
|
|
Powered by
FUDForum. Page generated in 0.02596 seconds