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

Bug 359213

Summary: RUI Widget onConstructionFunction does not run at initialization
Product: z_Archived Reporter: Huang Ji Yong <hjiyong>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: greer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Huang Ji Yong CLA 2011-09-28 07:55:01 EDT
Take Tooltip.egl in RUI widget project as an example.
In tooltip.egl file, the definition of Tooltip is
handler Tooltip type RUIWidget {onConstructionFunction = start}
Which contains an onConstructionFunction .

In the construction function of generated js file, the start function is not invoked.
'eze$$runtimePropertiesFile': 'org.eclipse.edt.rui.widgets.Tooltip',
		"constructor": function() {
			this.eze$$setInitial();			
		}

I believe this.start() should be invoked after this.eze$$setInitial()
Comment 1 Scott Greer CLA 2011-09-28 12:24:44 EDT
Fixed.
Comment 2 Huang Ji Yong CLA 2011-10-21 00:39:45 EDT
Verified in 201110202102