Community
Participate
Working Groups
There is no way to insert code after the shell has been opened, but before the blocking code in the org.eclipse.jface.window.Window class. I tried to override the open() method on the Window class, but the runEventLoop(...) method is private, and I had no way to access the exception handler. So, I could not recreate the same behavior as the Window class. I also tried adding a ShellListener to the shell, but the shellActivated(...) method is called before the shell is actually shown.
Could you please outline your use case? How would you solve the problem in RCP? Which SWT/JFace API is missing or works different than in RCP?
Sorry, I think I logged this under the wrong product. Is there another product I should log it under for a problem with the JFace API in RCP?
Please move this bug to Platform / UI and set the version number.
Sorry for not reacting to this bug report, it fell through the cracks because the assignee was still set to "rap.w4t-inbox@eclipse.org". I do have the same questions as Ralf though - what exactly are you trying to do?
I want to be able to perform an action once I know that the shell is showing to the user. For example, if I have a data set that I am trying to show to the user, and on load it is determined to be to large to show, I would like to be able to show a filter dialog for the data as soon as the shell opens.
(In reply to comment #5) > I want to be able to perform an action once I know that the shell is showing to > the user. For example, if I have a data set that I am trying to show to the > user, and on load it is determined to be to large to show, I would like to be > able to show a filter dialog for the data as soon as the shell opens. Could you install an Activate-Listener on the shell?
(In reply to comment #6) > (In reply to comment #5) > > I want to be able to perform an action once I know that the shell is showing to > > the user. For example, if I have a data set that I am trying to show to the > > user, and on load it is determined to be to large to show, I would like to be > > able to show a filter dialog for the data as soon as the shell opens. > > Could you install an Activate-Listener on the shell? Upps should have read the description better :-( you already tried this.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.