Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] EPartService finds nothing, if active window lost focus

On Fri, May 16, 2014 at 10:14 AM, Roland Oldenburg <r.oldenburg@xxxxxxxxxxxxxxx> wrote:

Hi list,

 

finding a certain part using the EPartService is not possible anymore when i.e. a dialog has previously gained focus.

 

The flow could be for example:

-       Handler is instantiated,

-       EPartService is injected


You should not use @Inject with handlers,  If you need something, ask for it in the @Execute/@CanExecute method.

PW


--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top