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

Bug 506347

Summary: Specify ITargetPolicyResolver as a domain adapter.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 5.0.0 (Oxygen) M3   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-10-21 09:46:52 EDT
The ITargetPolicyResolver should implement IAdaptable.Bound<IDomain>, and the field injection should be replaced with getAdapter() calls within the tool implementations.
Comment 1 Matthias Wienand CLA 2016-10-21 10:01:42 EDT
I changed the ITargetPolicyResolver to extend IAdaptable.Bound<IDomain> and used IAdaptable.Bound.Impl<IDomain> as the super type for DefaultTargetPolicyResolver. Additionally, I added a binding within MvcFxModule, and updated the tool implementations to query the ITargetPolicyResolver from the IDomain. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M3.