Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SashForm SWT.SMOOTH
SashForm SWT.SMOOTH [message #991830] Thu, 20 December 2012 09:44 Go to next message
Tiburon T is currently offline Tiburon TFriend
Messages: 61
Registered: October 2011
Member
Hello!

I am looking for a way to make a SashForm, that constantly repaints its contents while the sash is moved. I read that the style flag SWT.SMOOTH should trigger this behavior... For me it is not working in RAP and unfortunately I have no way to try it in RCP.

Does the RAP SashForm support SWT.SMOOTH or is there a common workaround like a listener or something?
Re: SashForm SWT.SMOOTH [message #991995 is a reply to message #991830] Thu, 20 December 2012 16:16 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
SWT.SMOOTH is a hint and it is not supported by RAP. As layout is
calculated on the server-side supporting SWT.SMOOTH will generate a lot
of network traffic. If you want to be notified when Sash is dragged use
selection listener. The event detail field will contain SWT.DRAG in this
case.
HTH,
Ivan

On 12/20/2012 11:44 AM, Tiburon Mising name wrote:
> Hello!
>
> I am looking for a way to make a SashForm, that constantly repaints
> its contents while the sash is moved. I read that the style flag
> SWT.SMOOTH should trigger this behavior... For me it is not working in
> RAP and unfortunately I have no way to try it in RCP.
>
> Does the RAP SashForm support SWT.SMOOTH or is there a common
> workaround like a listener or something?

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: SashForm SWT.SMOOTH [message #996490 is a reply to message #991995] Wed, 02 January 2013 07:50 Go to previous message
Tiburon T is currently offline Tiburon TFriend
Messages: 61
Registered: October 2011
Member
Hi,

thank you for your answer. I'm sure with the listener I can find a solution for our SashForm.

Tiburon
Previous Topic:Getting resize events from js
Next Topic:RAP vs SWT Selection Listener for singleton menus
Goto Forum:
  


Current Time: Fri Apr 19 19:26:08 GMT 2024

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

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

Back to the top