Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Some JavaScript based widget examples/spinn offs
Some JavaScript based widget examples/spinn offs [message #880984] Sun, 03 June 2012 11:12 Go to next message
Thomas Kratz is currently offline Thomas Kratz
Messages: 163
Registered: July 2009
Senior Member
Hi, over the last couple of months I learned what it takes to single source a larger RCP application.

Within this efforts I created some JavaScript/Browser based widgets, that run perfectly well in RAP and the RCP client. I put them on github,

It's a ckEditor (hey guys that was your idea) that can fire dirty events
https://github.com/eiswind/ckeditor-eclipse-rcp

Then, almost the same idea, a groovy code editor (can do many other languages)
https://github.com/eiswind/codemirror-eclipse-rcp

And more a snippet than a reusable sample an integration of the dojo gantt chart that pulls its data from a spring mvc based rest service.
https://github.com/eiswind/gantt-chart-eclipse-rcp

There's also a RAP port of the nebula TableCombo Widget on my github site.

These are just spin offs that maybe can inspire you to do other weird javascript stuff Smile

If you want to try them, goto demo.eiswind.de/mango and sign in with nobody/nobody.

[Updated on: Sun, 03 June 2012 11:13]

Report message to a moderator

Re: Some JavaScript based widget examples/spinn offs [message #885031 is a reply to message #880984] Tue, 12 June 2012 05:52 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 381
Registered: July 2009
Senior Member
Hi.

Thats great stuff! I added it to our wiki:
http://wiki.eclipse.org/RAP/Add-Ons#Add-Ons_for_RAP
I hope to extend that wiki page more, and at some point migrate it to
the rap homepage for greater exposure.

Just one question. It looks like you separated the javascript resources
so it runs in RCP as well. (Which is fine.) However, that means you have
to make the resources available somehow before it runs in RAP. We just
added a chapter about that to the developers guide, perhaps you could
linke there in your READMEs? Here's the url:

http://www.eclipse.org/rap/developers-guide/devguide.php?topic=rwt/custom-widget.html#browserResources

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:JSExecutor.executeJS with result
Next Topic:How to insert widget from sandbox into RAP-Target
Goto Forum:
  


Current Time: Thu Aug 21 08:11:18 EDT 2014

Powered by FUDForum. Page generated in 0.01821 seconds