I don’t see a good way here. If there is some event pub-sub mechanism already it can leverage, we would avoid coupling between the dialog and widget. Otherwise, looks like we have to pass some handle from the dialog down to the widget, may be some more general interface like below, instead of the dialog type.
Activator: void activate(); void deactive(); Regards, Kai -----Original Message----- From: Emmanuel Lécharny [mailto:[email protected]] Sent: Thursday, August 20, 2015 8:08 PM To: Apache Directory Developers List Subject: [Studio] How to get the button of a Dialog in a widget ? Hi, I'm facing a problem : I have a widget which is embedded into a composite, itself embedded into a compoisite, ... up to a Dialog. When this widget's value is not correct, I want to disable the Dialog button. For that, I need to have access to the Dialog itself. Is there a way to get it, or should I pass the Dialog instance through all the instances up to my widget ?
