Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350591 - Notification event is not fired from ListenerItemProvider when Listener class is set
Summary: Notification event is not fired from ListenerItemProvider when Listener class...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.5   Edit
Assignee: Kim Tsao CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 10:51 EDT by Kim Tsao CLA
Modified: 2011-06-28 20:27 EDT (History)
3 users (show)

See Also:
cbridgha: review+


Attachments
Fix for ListenerItemProvider (983 bytes, text/plain)
2011-06-28 10:56 EDT, Kim Tsao CLA
shr31223: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
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