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

Bug 439950

Summary: Ensure the AdaptableTypeListener is only bound to IAdaptables with AdapterMap-annotated methods
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF CommonAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2014-07-20 06:21:26 EDT
Up to now, within MvcModule#configure(), the AdaptableTypeListener is bound with a Matchers.any(). We should replace that to only bind the type listener for IAdaptable subclasses, which provide an AdapterMap annotated method.
Comment 1 Alexander Nyßen CLA 2014-08-05 05:15:30 EDT
Ensured that within AdapterMapInjectionSupport, the AdaptableTypeListener is only registered on IAdaptables. The TypeListener itself will look for annotated methods, so there is no need to do this in the matcher.

Resolving as fixed.