Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Why my getOrphanChildrenCommand() never be called?
Why my getOrphanChildrenCommand() never be called? [message #163089] Sun, 02 January 2005 14:20 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 :)
>>
Previous Topic:GEF and Keyboard
Next Topic:no selection feedback / resize handles with ResizableEditPolicy
Goto Forum:
  


Current Time: Thu Apr 25 13:34:06 GMT 2024

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

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

Back to the top