Community
Participate
Working Groups
I can't find a reference to the method, and my app's #postWindowCreate() is never called. Should it be sent before #preWindowOpen()?
(In reply to comment #0) > I can't find a reference to the method, and my app's #postWindowCreate() is > never called. Should it be sent before #preWindowOpen()? In 3.x, postWindowCreate() is called _after_ preWindowOpen().
This Bug seems to exist quite a while. So what's the workaround until 4.3?
To fix this we would need a patch. The only workaround I can think of is to add a org.eclipse.ui.IWindowListener and run the same code in org.eclipse.ui.IWindowListener.windowOpened(IWorkbenchWindow) ... it will be fired slightly later than the postWindowCreate() though. PW
(In reply to comment #3) That works for me. Thanks!
Our application (IBM Installation Manager) relies on this method to set shell size and title. Is there any workaround for the applications to use? Can we move the code to set the shell size and title to 'postWindowOpen()'?
In my last comment, i meant 'set minimum size of the shell' (instead of setting the size of shell).
In 3.x, postWindowCreated() is fired immediately before openIntro(). So one work around is to use postIntro(). I'm working on a patch to call postWindowCreated() in 4.3
Pushed patch to Gerrit: https://git.eclipse.org/r/12077 (I'll get Eric to look at it - it's time he learned to use Gerrit.)
Fix has been committed to HEAD.
Verified fixed in 4.3.0.I20130430-0031