Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368701 - Replace IClientObject#add/removeListener
Summary: Replace IClientObject#add/removeListener
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 07:00 EST by Ralf Sternberg CLA
Modified: 2012-01-17 07:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2012-01-16 07:00:04 EST
The method names IClientObject#add/removeListener are misleading as there are no listeners being added to or removed from a collection. Their purpose is just to inform the client that there is interest in a particular type of events and to ask it to listen on these events.

I'd suggest to replace them with a single method

  setListen( String eventType, boolean listen )
Comment 1 Ivan Furnadjiev CLA 2012-01-17 07:10:24 EST
Fixed as suggested. Changes are in CVS HEAD.