Skip to main content



      Home
Home » Eclipse Projects » GEF » Forward a Request to a childEditPart?
Forward a Request to a childEditPart? [message #37854] Wed, 30 October 2002 16:24 Go to next message
Eclipse UserFriend
In each editPart, there is a performRequest(Request request) to handle
different types of request

Can I forward that request to the child of the receiving editPart? If yes,
how?

I want to do something like this:

public void performRequest(Request request) {

getChildEditPart.performRequest(request);

}

The EditPart (parent) only saves reference to the children MODEL and from
children Model I can' not get the children EditPart?

Thank you.
Re: Forward a Request to a childEditPart? [message #37887 is a reply to message #37854] Wed, 30 October 2002 16:48 Go to previous message
Eclipse UserFriend
To clarify, the reason why I have this case in the executation of
performRequest() of parent, it will ADD A NEW child to itself and it will
forward that new request to new child.

"yinglcs" <yinglcs@netscape.com> wrote in message
news:appgt3$jpa$1@rogue.oti.com...
> In each editPart, there is a performRequest(Request request) to handle
> different types of request
>
> Can I forward that request to the child of the receiving editPart? If yes,
> how?
>
> I want to do something like this:
>
> public void performRequest(Request request) {
>
> getChildEditPart.performRequest(request);
>
> }
>
> The EditPart (parent) only saves reference to the children MODEL and from
> children Model I can' not get the children EditPart?
>
> Thank you.
>
>
>
>
Previous Topic:How to write efficient GEF application
Next Topic:problem displaying(creating?) a connection
Goto Forum:
  


Current Time: Sat May 10 18:34:00 EDT 2025

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

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

Back to the top