Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to draw processBar to tree or table?
How to draw processBar to tree or table? [message #959865] Sat, 27 October 2012 02:27 Go to next message
Song David is currently offline Song DavidFriend
Messages: 191
Registered: April 2011
Senior Member
Hi all,

Since the rap has no SWT.PaintItem implement for table or tree, how to draw process bar to table or tree?

just like http://www.java2s.com/Tutorial/Java/0280__SWT/AddProgressBartotablecellColumn.htm

Thanks

David
Re: How to draw processBar to tree or table? [message #960123 is a reply to message #959865] Sat, 27 October 2012 07:25 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
Hi David,
starting with RAP 1.5, Table and Tree support HTML markup for the item
text. You could put a span tag in it and style it as you wish.
HTH,
Ivan

On 10/27/2012 5:27 AM, Song David wrote:
> Hi all,
>
> Since the rap has no SWT.PaintItem implement for table or tree, how to
> draw process bar to table or tree?
>
> just like
> http://www.java2s.com/Tutorial/Java/0280__SWT/AddProgressBartotablecellColumn.htm
>
> Thanks
>
> David
>

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to draw processBar to tree or table? [message #960190 is a reply to message #960123] Sat, 27 October 2012 08:50 Go to previous messageGo to next message
Song David is currently offline Song DavidFriend
Messages: 191
Registered: April 2011
Senior Member
Hi Ivan,
Thank you in advanced, but would you please tell me how to do in RAP 1.4.2? because my application has to run in ie6.

David
Re: How to draw processBar to tree or table? [message #960270 is a reply to message #960190] Sat, 27 October 2012 10:16 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
Hi David,
the only idea that comes to my mind is a custom table editor. Create
your custom editor control based on canvas and set it on the
corresponding column/cell (see TableEditor).
Best,
Ivan


On 10/27/2012 11:50 AM, Song David wrote:
> Hi Ivan,
> Thank you in advanced, but would you please tell me how to do in RAP
> 1.4.2? because my application has to run in ie6.
>
> David

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to draw processBar to tree or table? [message #960439 is a reply to message #960270] Sat, 27 October 2012 13:38 Go to previous message
Song David is currently offline Song DavidFriend
Messages: 191
Registered: April 2011
Senior Member
Hi Ivan,

Thank you very much, I'll try your method.

David
Previous Topic:Needes Plugins/Features for a WAR file
Next Topic:Events not working
Goto Forum:
  


Current Time: Sat Dec 20 11:42:37 GMT 2014

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

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