Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Why getOrphanChildrenCommand(GroupRequest request) ist not called?
Why getOrphanChildrenCommand(GroupRequest request) ist not called? [message #208141] Fri, 27 January 2006 09:57 Go to next message
Eclipse UserFriend
Originally posted by: catalin.apostu.lineas.de

Hi,

The getOrphanChildrenCommand(GroupRequest request) method from the class
that I derived from ContainerEditPolicy is not called when I orphan a
child (I move it from one container component to another). Do you now why?
I have installed my derived edit policy class for the container’s edit
part.
Re: Why getOrphanChildrenCommand(GroupRequest request) ist not called? [message #208178 is a reply to message #208141] Sat, 28 January 2006 10:31 Go to previous messageGo to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
wrong signature of function. Use

protected Command getOrphanChildrenCommand(Request request)

and NOT
protected Command getOrphanChildrenCommand(GroupRequest request)

Catalin Apostu wrote:
> Hi,
>
> The getOrphanChildrenCommand(GroupRequest request) method from the class
> that I derived from ContainerEditPolicy is not called when I orphan a
> child (I move it from one container component to another). Do you now
> why? I have installed my derived edit policy class for the container?s
> edit part.
>
>
Re: Why getOrphanChildrenCommand(GroupRequest request) ist not called? [message #208228 is a reply to message #208178] Mon, 30 January 2006 08:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: catalin.apostu.lineas.de

Thank you.
It didn't work like you suggested. I've changed the method's signature to

private Command getOrphanChildrenCommand(Request request)

but nothing happend. Do you have another ideea?

I discovered that the REQ_ORPHAN_CHILDREN request is not generated and
sent.

Today I will still work on it.

Regards,
Catalin Apostu
Re: Why getOrphanChildrenCommand(GroupRequest request) ist not called? [message #208273 is a reply to message #208228] Mon, 30 January 2006 17:11 Go to previous message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
Catalin Apostu wrote:
> Thank you. It didn't work like you suggested. I've changed the method's
> signature to
> private Command getOrphanChildrenCommand(Request request)
>
NOT private!
Previous Topic:Breakpoint markers on rulers in gef
Next Topic:getContentPane and dealing with different sets of children
Goto Forum:
  


Current Time: Fri Apr 19 03:45:04 GMT 2024

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

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

Back to the top