Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359213 - RUI Widget onConstructionFunction does not run at initialization
Summary: RUI Widget onConstructionFunction does not run at initialization
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 07:55 EDT by Huang Ji Yong CLA
Modified: 2017-02-23 14:15 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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