|
|
Re: Contributing to the EDT project [message #902976 is a reply to message #902834] |
Tue, 21 August 2012 13:32 |
Brian Svihovec Messages: 55 Registered: July 2009 |
Member |
|
|
Dan,
Some high level information on defining new widgets can be found in the existing RBD documentation:
http://pic.dhe.ibm.com/infocenter/rbdhelp/v8r5m0/index.jsp?topic=%2Fcom.ibm.egl.lr.doc%2Ftopics%2Fregl_ui_richui_extending.html
http://pic.dhe.ibm.com/infocenter/rbdhelp/v8r5m0/index.jsp?topic=%2Fcom.ibm.egl.lr.doc%2Ftopics%2Fregl_ui_richui_external_type.html
I can try to provide some additional information in this thread, and any additional topics can be discussed on the EDT Developers Forum - http://dev.eclipse.org/mailman/listinfo/edt-dev
All EGL runtime fields and functions are qualified by the 'egl' namespace (i.e. egl.IE, egl.createElement(), etc ). These fields and functions are placed within the 'egl' namespace so that they do not collide with other JavaScript elements being included in an EGL Rich UI application. You can find most of these definitions in the org.eclipse.edt.runtime.javascript project, as part of the files egl.js and egl_development.js.
All of the 'important' fields defined within an EGL 'Class' are qualified with 'eze$$'. Similar to the 'egl' runtime namespace, this naming convention is used to avoid any potential conflicts between a user defined field and a runtime field that is critical to the function of the application. You can find the definitions of these fields in the runtime.javascript project as well, as part of the files egl.js, under the defineWidget function, and in eglx\ui\rui\Widget.js.
As for writing your own widgets, I would recommend looking over the existing set of widgets to try and locate a runtime field or function that meets your needs. If you can't find anything, you can ask in the dev forum and we can try to help out.
-Brian
|
|
|
|
Powered by
FUDForum. Page generated in 0.02737 seconds