Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Is that possible to make custom SWT widget work as native RWT widgets?
Is that possible to make custom SWT widget work as native RWT widgets? [message #879085] Wed, 30 May 2012 13:45
Xihui Chen is currently offline Xihui Chen
Messages: 35
Registered: June 2011
Member
Custom SWT/draw2d widgets are drawn from GC, so each update on custom widget would require the transferring of all painting info from client side. For example: updating a custom label widget will transfer information like "draw a rectangle, fill the background, draw the text", while a native RWT lable widget only need to transfer the text string and browser knows how to rendering the label widget with this text string.
For complicated custom SWT widgets such as Nebula widget, this results in a big overhead on traffic. I have looked at RAP clientScripting, but it can only modify the behavior of existing RWT widgets.

My idea is that converting/compiling GC/draw2d drawing code to Javascript code, so the server only needs to transfer the value to browser and browser knows how to draw it.

Is that possible?

Thanks!

Previous Topic:HTTP ERROR 500 when a table tooltip raises an exception
Next Topic:Is that possible to make custom SWT widget work as native RWT widgets?
Goto Forum:
  


Current Time: Thu Sep 18 05:56:32 GMT 2014

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

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