In my Eclipse RAP application, I need to have a component change the way it looks whenever any other component opens a dialog box (or any other element in the foreground). How do I have my component detect when this happens? I have tried using Display.addListener/addFilter, but those do not get events when JFace Dialogs open up.
[As an aside, the reason for this is that this component contains a Java applet, and Java applets do not obey z-ordering, so the applet appears on top of the foreground dialog box.]