Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356867 - Case of RUILib is inconsistent
Summary: Case of RUILib is inconsistent
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Joseph Vincens CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 17:53 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:14 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Vincens CLA 2011-09-06 17:53:36 EDT
in the EDT widget project look at CheckBox
	private function doSetSelected()
		browser String = RUILib.getUserAgent();
the generated JS is
			browser = egl.eglx.ui.rui.RuiLib.getUserAgent();


The RUILib is defined in EGL as 
externaltype RuiLib type NativeType
The JS runtime for the RUILib is implemented as 
 egl.defineClass(
	'eglx.ui.rui', 'RUILib',
{
....
egl.eglx.ui.rui.RUILib["sort"] = function(array, sortFunction) {

The runtime and generated code need to use the same case for RuiLib. I think the runtime should change to use RuiLib, but I'm not sure which is correct.
Comment 1 Joseph Vincens CLA 2011-09-07 16:40:15 EDT
using RuiLib as the case.
Comment 2 Joseph Vincens CLA 2011-09-12 08:37:02 EDT
verified