Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368701

Summary: Replace IClientObject#add/removeListener
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: All   
OS: All   
Whiteboard:

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.