Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to unregister Listeners?
How to unregister Listeners? [message #74394] Mon, 18 February 2008 23:39 Go to next message
David Seidel is currently offline David SeidelFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I have written a Plugin, which is connected to a Service via an Extension
Point. This service informs the Plugin about "changes". The Plugin can
provide these Events to its UI-Elements. Therefore an UI-Element (e.g.
TreeViewer, ListViewer) can register itself to the Plugin as a Listener.
After the registration, the Plugin forwards the Events to the UI-Element.
Every new UI registers several UI-Elements to the Plugin, in order to
refresh these Elements if an event occurs. In case of RAP I need to
unregister the UI-Elements, after the Client (Browser) is closed.
How to handle this?

Regards,
David
Re: How to unregister Listeners? [message #74522 is a reply to message #74394] Tue, 19 February 2008 07:14 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

I think you need to listen to the session's timeout to unhook the
listener you've added during the session. The SessionStoreListener may
be what you're looking for.


Ciao
Frank


-----Ursprüngliche Nachricht-----
Von: David [mailto:david.seidel@prodyna.de]
Bereitgestellt: Dienstag, 19. Februar 2008 00:39
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: How to unregister Listeners?
Betreff: How to unregister Listeners?


Hi,

I have written a Plugin, which is connected to a Service via an
Extension Point. This service informs the Plugin about "changes". The
Plugin can provide these Events to its UI-Elements. Therefore an
UI-Element (e.g.
TreeViewer, ListViewer) can register itself to the Plugin as a Listener.

After the registration, the Plugin forwards the Events to the
UI-Element.
Every new UI registers several UI-Elements to the Plugin, in order to
refresh these Elements if an event occurs. In case of RAP I need to
unregister the UI-Elements, after the Client (Browser) is closed.
How to handle this?

Regards,
David
Previous Topic:namespaces for ui-plugins
Next Topic:CLabel problem
Goto Forum:
  


Current Time: Fri Apr 26 15:55:47 GMT 2024

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

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

Back to the top