|Decorating the Shell just before it appears [message #1219208]
||Mon, 02 December 2013 15:59
| Sharon Dagan
Registered: November 2013
I'm developing an application that runs on OS X (only).
On this platform, the 'main' toolbar is visually integrated with the window frame, and they appear as one.
On SWT, this can be done by placing ToolItems on the Shell.getToolBar() rather than on a new ToolBar(shell...).
On E4, the *easiest* way to do this *seems* to be by getting a callback after the top level shell was created and before it appears on the screen, and then decorating it.
I tried the UIEvents.UILifeCycle.APP_STARTUP_COMPLETE event, but that's too late (shell already open).
I tried @Inject @Named(IServiceConstants.ACTIVE_SHELL) but that's either too late or too early (null).
Powered by FUDForum
. Page generated in 0.01921 seconds