Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EGL Development Tools » Contributing to the EDT project(Where do I start?)
Contributing to the EDT project [message #902834] Mon, 20 August 2012 17:13 Go to next message
Dan Darnell is currently offline Dan DarnellFriend
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
I am copying my question over here from the blog comments. There has been some discussion in blog comments about the focus of the EDT team being mainly compiler, generator, and language internals for the next 4-6 months. My whining about wanting more "visible" features (like HTML5 support) led to the inevitable "why don't you contribute that yourself?" Let's assume that I am skilled enough and ambitious enough (not necessarily valid assumptions) to do so. That's where my question comes in:

"I've written quite a few widgets for my own use but something that trips me up when I think about creating widgets suitable for inclusion in an effort like EDT is my concern that there are certain rules that should be followed of which I am not aware. For example, when I look at Dojo widgets and others written by IBM (like those in the HTML5 preview for RBD) I see function calls on "eze$$DOMElement" and "egl" used extensively in the hand-written JavaScript code used to implement widgets and classes. I have no idea what functions these objects provide outside of what I see used when I poke around IBM-created widgets. And as I said, I see calls to functions and properties set that seem like they are probably fundamentally important.

Is there any documentation that outlines the expectations on a widget implementation so that it will play nice in the EDT world? Any documentation for the "eze$$xxxxxx", "egl" and other apparently internal objects that a widget developer should/could/might use?"

--Dan
Re: Contributing to the EDT project [message #902970 is a reply to message #902834] Tue, 21 August 2012 13:10 Go to previous messageGo to next message
Matt Heitz is currently offline Matt HeitzFriend
Messages: 36
Registered: July 2009
Member
Hi Dan,

First of all, thanks for your interest. I'm glad my "why don't you contribute that yourself?" nagging seems to working.

I don't know of any documentation on the "eze$$" and "egl" stuff. I've never written a widget myself, so I'll ask someone else to contact you.

-Matt
Re: Contributing to the EDT project [message #902976 is a reply to message #902834] Tue, 21 August 2012 13:32 Go to previous messageGo to next message
Brian Svihovec is currently offline Brian SvihovecFriend
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
Re: Contributing to the EDT project [message #903106 is a reply to message #902976] Wed, 22 August 2012 03:27 Go to previous message
Dan Darnell is currently offline Dan DarnellFriend
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
Hi Brian,

Thanks for the links and info. Very helpful stuff.

I'll keep plugging away and see what I can come up with.

--Dan
Previous Topic:Dynamic arrays?
Next Topic:gridlayout background
Goto Forum:
  


Current Time: Sun Nov 03 23:44:58 GMT 2024

Powered by FUDForum. Page generated in 0.04121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top