Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TableViewer OwnerDrawLabelProvider alternative
TableViewer OwnerDrawLabelProvider alternative [message #1109410] Sun, 15 September 2013 06:44 Go to next message
Tobias P. is currently offline Tobias P.
Messages: 43
Registered: April 2012
Member
Hello,

i am trying to port a subset of my RCP Application to RAP.

In a TableViewer i have one Column where only a Circle is drawn (red,green or yellow)

Since OwnerDrawLabelProvider is not available in Eclipse RAP (please tell me if i am wrong) what are the alternatives?

The TableViewer can contain more then 1000 Entries at once.

Re: TableViewer OwnerDrawLabelProvider alternative [message #1109953 is a reply to message #1109410] Mon, 16 September 2013 02:59 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1782
Registered: July 2009
Senior Member
Hi Tobias,
you could use TableColumnLabelProvider and set images with Circle.
HTH,
Ivan

On 9/15/2013 1:44 PM, Tobias P. wrote:
> Hello,
>
> i am trying to port a subset of my RCP Application to RAP.
> In a TableViewer i have one Column where only a Circle is drawn
> (red,green or yellow)
>
> Since OwnerDrawLabelProvider is not available in Eclipse RAP (please
> tell me if i am wrong) what are the alternatives?
>
> The TableViewer can contain more then 1000 Entries at once.
>
>

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: TableViewer OwnerDrawLabelProvider alternative [message #1110141 is a reply to message #1109953] Mon, 16 September 2013 08:34 Go to previous messageGo to next message
Tobias P. is currently offline Tobias P.
Messages: 43
Registered: April 2012
Member
Hi Ivan,

thanks for your suggestion. Unfortunately your hint is a bit vague...

A quick google search brought up several hits, but all of them appear to be custom implementations.

Are yout talking about a specific standard RAP TableColumnLabelProvider. If so which plugin offers it?

Thanks in Advance
Tobias
Re: TableViewer OwnerDrawLabelProvider alternative [message #1110160 is a reply to message #1110141] Mon, 16 September 2013 09:11 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1782
Registered: July 2009
Senior Member
Hi Tobias,
sorry for typo. I'm talking about standard JFace ColumnLabelProvider (or
TableColumnViewerLabelProvider).
HTH,
Ivan

On 9/16/2013 3:34 PM, Tobias P. wrote:
> Hi Ivan,
>
> thanks for your suggestion. Unfortunately your hint is a bit vague...
>
> A quick google search brought up several hits, but all of them appear
> to be custom implementations.
>
> Are yout talking about a specific standard RAP
> TableColumnLabelProvider. If so which plugin offers it?
>
> Thanks in Advance
> Tobias

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: TableViewer OwnerDrawLabelProvider alternative [message #1110830 is a reply to message #1109410] Tue, 17 September 2013 07:30 Go to previous message
Tobias P. is currently offline Tobias P.
Messages: 43
Registered: April 2012
Member
Hello Ivan,

thank you for your help. It is not as pretty as it is in the RCP Application, but it is working.
Previous Topic:RAP mouseHover event not supported
Next Topic:Scrolling table placed on ScrolledComposite
Goto Forum:
  


Current Time: Wed Jul 30 13:14:07 EDT 2014

Powered by FUDForum. Page generated in 0.01536 seconds