Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Editor activated when closing
Editor activated when closing [message #116736] Fri, 19 December 2008 14:47 Go to next message
Emmanuel Marchal is currently offline Emmanuel MarchalFriend
Messages: 59
Registered: July 2009
Member
Hi RAP team !

A little question :
Why do you activate (and hence set focus on to) editorPart when closing it
?
If there is a good reason for that, how can I know that my editorPart is
closing in setFocus() (called in the activate method) ?

Thanks !

Emmanuel
Re: Editor activated when closing [message #116902 is a reply to message #116736] Mon, 22 December 2008 11:14 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi Emmanuel,

it seems there is a little difference between RAP and RCP.
Here is the test case I used to verify the behavior:

* open 2 editors
* editor A is active
* close editor B without selecting it
* there is a selection event thrown for editor A which is already active

It seems that RCP does not do this and I think the ActivationEvent of
RWT does something silly here. If this is the use case you're talking
about please open a bug with some details and maybe a little test case.

Thanks!
Benny

Emmanuel Marchal wrote:
> Hi RAP team !
>
> A little question :
> Why do you activate (and hence set focus on to) editorPart when closing
> it ?
> If there is a good reason for that, how can I know that my editorPart is
> closing in setFocus() (called in the activate method) ?
>
> Thanks !
>
> Emmanuel
>
Previous Topic:Combo Size with latest CVS HEAD
Next Topic:RAP wish list
Goto Forum:
  


Current Time: Wed Feb 01 13:07:44 GMT 2023

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

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

Back to the top