Why my getOrphanChildrenCommand() never be called? [message #163089] |
Sun, 02 January 2005 14:20 |
Eclipse User |
|
|
|
Originally posted by: zhlmmc.hotmail.com
I wrote "getOrphanChildrenCommand(GroupRequest request)" in my
ContainerEditPolicy and installed it in my ContainerEditPart,but the
method was never called? Why?
//I installed ComponentEditPolicy in my ElementEditPart.
Thank you :)
|
|
|
Re: Why my getOrphanChildrenCommand() never be called? [message #163119 is a reply to message #163089] |
Mon, 03 January 2005 01:59 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
1) Is a drag editparts tracker being created and activated?
2) Is it targeting something. I'm not sure, but maybe it doesn't bother
creating the orphan if there is no target at all.
"zhlmmc" <zhlmmc@hotmail.com> wrote in message
news:cr8vuo$5af$1@www.eclipse.org...
> I wrote "getOrphanChildrenCommand(GroupRequest request)" in my
> ContainerEditPolicy and installed it in my ContainerEditPart,but the
> method was never called? Why?
> //I installed ComponentEditPolicy in my ElementEditPart.
> Thank you :)
>
|
|
|
Re: Why my getOrphanChildrenCommand() never be called? [message #163134 is a reply to message #163119] |
Mon, 03 January 2005 08:04 |
Eclipse User |
|
|
|
Originally posted by: zhlmmc.hotmail.com
I have solved it ,thanks.
Randy Hudson wrote:
> 1) Is a drag editparts tracker being created and activated?
> 2) Is it targeting something. I'm not sure, but maybe it doesn't bother
> creating the orphan if there is no target at all.
> "zhlmmc" <zhlmmc@hotmail.com> wrote in message
> news:cr8vuo$5af$1@www.eclipse.org...
>> I wrote "getOrphanChildrenCommand(GroupRequest request)" in my
>> ContainerEditPolicy and installed it in my ContainerEditPart,but the
>> method was never called? Why?
>> //I installed ComponentEditPolicy in my ElementEditPart.
>> Thank you :)
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02570 seconds