|Add a ShellListener [message #1123100]
||Wed, 02 October 2013 03:42
| Sebastien Pennec
Registered: April 2013
I would like to add a Shell listener to my app (full E4), to be notified when the main shell is activated and deactivated.
When is the first/best moment when this is possible?
I have a class that is linked to the lifeCycleURI of my product, but its @PostContruct method is called before any shell is created.
An addon is called to early, too.
Obviously, the Activator is also called to early.
Can anybody help? Thanks!
EDIT: to make thinks clearer: I used to have an WorkbenchWindowAdvisor, whose method postWindowCreate() was perfect for this job. Is there something similar in E4?
[Updated on: Wed, 02 October 2013 03:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02231 seconds