Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Custom event and listeners
Custom event and listeners [message #444672] Wed, 20 October 2004 10:52 Go to next message
Luc Feys is currently offline Luc FeysFriend
Messages: 15
Registered: July 2009
Junior Member
Hi,

I would like to create a custom event for one of my components and was
wondering what's the right way to do this. I checked the swing code and
found a class 'EventListenerList' which allows definining events and
working with the appropriate listeners in a standard way.
Does there exist an equivalent for 'EventListenerList' in eclipse SWT or
can I find an article somewhere with a description of the recommended
way to create a custom event and corresponding listener type?

Thanks.
Re: Custom event and listeners [message #444677 is a reply to message #444672] Wed, 20 October 2004 13:29 Go to previous messageGo to next message
Luc Feys is currently offline Luc FeysFriend
Messages: 15
Registered: July 2009
Junior Member
I've been digging in the sourcecode and I found what I was looking for.
The class is called EventTable ... but it has package access. So I guess
I'll have to build up my event mechanism from scratch. But at least I've
got an example now. So I'm on the road again.
Re: Custom event and listeners [message #444683 is a reply to message #444677] Wed, 20 October 2004 14:04 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Have a look at how CTabFolder or anything in the org.eclipse.swt.custom
package handles event notification.

"Luc Feys" <lf_killspam@hemmis.be> wrote in message
news:cl5opg$php$1@eclipse.org...
> I've been digging in the sourcecode and I found what I was looking for.
> The class is called EventTable ... but it has package access. So I guess
> I'll have to build up my event mechanism from scratch. But at least I've
> got an example now. So I'm on the road again.
>
Previous Topic:ComboBoxPropertyDescriptor event handling 3.0.1
Next Topic:setting Table font
Goto Forum:
  


Current Time: Sat Oct 24 04:30:53 GMT 2020

Powered by FUDForum. Page generated in 0.02230 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top