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

Bug 350591

Summary: Notification event is not fired from ListenerItemProvider when Listener class is set
Product: [WebTools] WTP Java EE Tools Reporter: Kim Tsao <ktsao>
Component: jst.j2eeAssignee: Kim Tsao <ktsao>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: cbridgha, ccc, shr31223
Version: unspecifiedFlags: cbridgha: review+
Target Milestone: 3.2.5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix for ListenerItemProvider shr31223: iplog+

Description Kim Tsao CLA 2011-06-28 10:51:20 EDT
Build Identifier: M20110210-1200

This is a problem in our adopter product where an undo action for a listener deletion is performed.  After the listener class is set, the ListenerItemProvider.notifyChanged() method is called where it does nothing.  This results in our UI not being refreshed and the listener label is set to the default text '<listener>'.

Reproducible: Always
Comment 1 Kim Tsao CLA 2011-06-28 10:56:07 EDT
Created attachment 198741 [details]
Fix for ListenerItemProvider

I've added a proposed fix to the problem
Comment 2 Chuck Bridgham CLA 2011-06-28 11:59:57 EDT
approved - thanks
Comment 3 Roberto Sanchez Herrera CLA 2011-06-28 20:15:40 EDT
Code committed to R3_2_maintenance for WTP 3.2.5
Comment 4 Roberto Sanchez Herrera CLA 2011-06-28 20:26:57 EDT
Committed to HEAD for WTP 3.3.1 and 3.4