Community
Participate
Working Groups
Some times it is necessary to monitor the SWT widget hierarchy for addition and removal of widgets. For example, this can be useful for applying a common theming (colors and fonts) to the Application GUI. For example, in AWT/Swing one can use recursively added java.awt.event.ContainerListener or to do the monitorig. Or even better using: java.awt.Toolkit.getDefaultToolkit().addAWTEventListener(AWT EventListener instance, java.awt.event.ContainerEvent.COMPONENT_ADDED); one can monitor the java.awt.Component (analog of SWT's control) in a central place. I can imagine support for this on the Display objects. This facility should support monitoring of Shell creation also. This could be made available as a shellOpened event.
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.