StatusBar, MessageBox, ... breaking UI window? [message #132580] |
Wed, 13 May 2009 09:03 |
Kristian Rink Messages: 64 Registered: July 2009 |
Member |
|
|
Folks;
not sure how to completely get to the bottom of this problem: In a given
situation I want to have the user notified that something actually happened
after "clicking an icon" in my RAP application coolbar. Well... So far I
tried to go for two different approaches:
(a) Use a MessageBox started from within the AbstractHandler implementations
execute() method that gets invoked whenever the button is being presed.
(b) Use some global helper class to access (and write to) the application
status line, more or less following the approach outlined in [1].
While both approaches basically work, in both situations I see that either
after the status line has been updated or after the message box has been
displayed, the UI perspective gets messed up completely: It seems the "RAP
application window" is extended way beyond the boundaries of the screen, the
status line is not visible anymore, neither are my views at the bottom of
the screen (well, not completely, parts of the Forms components which are in
one of the views still are there yet somehow painted "over" another view).
Only way to restore this, by then, is to restart the RAP session which is
_rather_ inconvenient... So to ask:
- Is this a known issue / limitation, ...?
- Is there a workaround? At least the approach in [1] of how to access the
status bar from a non-view component seems somewhat clumsy, and I want to
make sure it's not the code itself causing a misbehaviour.
- Any other information required to track this down?
TIA and all the best,
Kristian
[1] http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg05917.html
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02733 seconds