Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314284

Summary: StyledString is missing
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: ivan, mv2axx
Version: 1.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Benjamin Muskalla CLA 2010-05-25 10:42:22 EDT
We currently miss the functionality of the StyledString and IStyledLabelProvider. Maybe we can support a subset of the TextStyle by injecting pure HTML into the Table/Tree instead of using their owner-draw mechanism.
Comment 1 Tiago Leao CLA 2016-06-18 07:18:47 EDT
and 6 years later, this is still missing? It is included in the source git://git.eclipse.org/gitroot/rap/org.eclipse.rap.git but the binaries are missing from the latest target http://download.eclipse.org/rt/rap/3.1

why?
Comment 2 Ivan Furnadjiev CLA 2016-06-20 02:58:49 EDT
(In reply to Tiago Leao from comment #1)
> and 6 years later, this is still missing? It is included in the source
> git://git.eclipse.org/gitroot/rap/org.eclipse.rap.git but the binaries are
> missing from the latest target http://download.eclipse.org/rt/rap/3.1
> 
> why?

The class StyledString is completely commented - http://git.eclipse.org/c/rap/org.eclipse.rap.git/tree/bundles/org.eclipse.rap.jface/src/org/eclipse/jface/viewers/StyledString.java
Unfortunately, it's still not possible to directly draw in a table/tree cell. Please use markup instead - enable markup support in Tree/Table.
Comment 3 Tiago Leao CLA 2016-06-20 08:41:52 EDT
(In reply to Ivan Furnadjiev from comment #2)
> (In reply to Tiago Leao from comment #1)
> > and 6 years later, this is still missing? It is included in the source
> > git://git.eclipse.org/gitroot/rap/org.eclipse.rap.git but the binaries are
> > missing from the latest target http://download.eclipse.org/rt/rap/3.1
> > 
> > why?
> 
> The class StyledString is completely commented -
> http://git.eclipse.org/c/rap/org.eclipse.rap.git/tree/bundles/org.eclipse.
> rap.jface/src/org/eclipse/jface/viewers/StyledString.java
> Unfortunately, it's still not possible to directly draw in a table/tree
> cell. Please use markup instead - enable markup support in Tree/Table.

I see... hard to believe I didn't see it being completely commented... 

Anyway, thanks for the advice!(In reply to Ivan Furnadjiev from comment #2)