Skip to main content


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 ChenFriend
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:[WAR Product] What is the state of WAR Product?
Next Topic:Is that possible to make custom SWT widget work as native RWT widgets?
Goto Forum:
  


Current Time: Thu Mar 28 11:50:29 GMT 2024

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

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

Back to the top