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

Bug 284567

Summary: Move IWidgetGraphicsAdapter to Widget
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Benjamin Muskalla CLA 2009-07-24 08:35:58 EDT
IWidgetGraphicsAdapter is currenlty bounds to controls instead of Widgets. This affects the IWidgetGraphicsAdapter implementation itself and also the lifecycle methods which currently live in ControlLCAUtil. In order to reuse rounded corners and gradients in custom widgets (and even Items - see bug 279640 ) everything should be moved to Widget and WidgetLCAUtil.
Comment 1 Ivan Furnadjiev CLA 2009-08-14 06:58:21 EDT
The code is moved from ControlLCAUtil to WidgetLCAUtil. New class WidgetGraphicsAdapter is created. Only widgets (not controls) that support background gradient/rounded border should create an instance of it in the corresponding widget implementation.