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

Bug 437599

Summary: Defer WidgetAdapter creation to save footprint
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ivan Furnadjiev CLA 2014-06-17 10:28:38 EDT
In some cases (virtual Nebula Grid items which will not be rendered), creating WidgetAdapter in Widget constructor increases the memory consumption of such items unnecessarily. We should find a way to transport the widget parent from widget constructor to the place, where the WidgetAdapter will be created (Widget#getAdapter).
Comment 1 Ivan Furnadjiev CLA 2014-06-17 10:29:44 EDT
Fixed in master with change https://git.eclipse.org/r/28384.