Skip to main content

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

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

-       Handler is executed

o    Show progressDialog

o    … do something …

o    Find certain view using partService.findPart(id) à returns null

 

Is this expected behavior?

Being forced to set the focus back to the worbenchwindow before using partservice seems non-intuitive to me…

 

Regards,

Roland Oldenburg

 

Mit freundlichen Grüßen

Roland Oldenburg
Senior Developer

 

speed4cell  - Testen Sie vor allen anderen neu definiertes AdHoc Reporting mit Excel. Formelbasiert!

 

Ihr Downloadlink: http://www.speed4cell.de/speed4cell-downloaden-einfach-und-unkompliziert/

 

_________________________________________

hsp Handels-Software-Partner GmbH 

Hauptsitz Hamburg

Standort Köln

In de Tarpen 41
22848 Norderstedt

Am Westhover Berg 30
51149 Köln

T +49 40 53 43 69 0
F +49 40 53 43 69 149

T +49 22 03 99 50 0
F +49 22 03 99 50
149


r.oldenburg@xxxxxxxxxxxxxxx
www.hsp-software.de


Social Media
facebook.com/hspgmbh
twitter.com/hspsoftware
_________________________________________

 

Handelsregister Norderstedt HRB 27 30
Geschäftsführer:
 Paul Liese

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten Adressaten
bestimmt. Wenn Sie nicht der bezeichnete Adressat oder dessen Vertreter sein
sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme,
Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail
nicht gestattet ist. Bitte setzen Sie sich in diesem Fall mit dem Absender
der E-Mail in Verbindung und löschen Sie die erhaltene E-Mail bitte unverzüglich.

The information contained in this email is intended solely for the addressee.
Access to this email by anyone else is unauthorized. If you are not the
intended recipient, any form of disclosure, reproduction, distribution or any
action taken or refrained from in reliance on it, is prohibited and may be
unlawful. In the case of unauthorized receipt please notify the sender
immediately.


Back to the top