Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314284 - StyledString is missing
Summary: StyledString is missing
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 10:42 EDT by Benjamin Muskalla CLA
Modified: 2016-06-20 08:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)