[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Difference between addListener() and addSelectionListener()?

http://www.awprofessional.com/articles/article.asp?p=354574&seqNum=3

The different is Untyped and typed listeners

"Doug Pearson" <doug-list@xxxxxxxxxxxxxx> wrote in message 
news:d8d1bd$84j$1@xxxxxxxxxxxxxxxxxxx
> Anyone know what the difference is between
>    addListener(SWT.Selection, ...) and
>    addSelectionListener(...)?
>
> I always assumed these were equivalent, but I just discovered that when 
> embedding a button in a table the first form fires but the second doesn't.
>
> So clearly there's a difference.
>
> Thanks for any insights,
>
> Doug
>