Skip to main content


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 10:44 Go to next message
Tobias P. is currently offline Tobias P.Friend
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 06:59 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 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 12:34 Go to previous messageGo to next message
Tobias P. is currently offline Tobias P.Friend
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 13:11 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 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 11:30 Go to previous message
Tobias P. is currently offline Tobias P.Friend
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:DateTime widget : java.lang.UnsupportedOperationException: Not a number: "18"
Next Topic:RAP mouseHover event not supported
Goto Forum:
  


Current Time: Fri Apr 19 11:34:19 GMT 2024

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

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

Back to the top