[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] getListeners methode no present, why ?

Hello,

Is there any "getter" methode so that I can test if a Control already have
a certain Listener ?
for example getSelectionListener or getListeners ...
If no, why ? Is there a design reason ?
In Swing you have it in JComponent (public <T extends EventListener> T[] getListeners(Class<T> listenerType))
or how I can have a workaround ?


Regards,
Alexandre Didiot