| Summary: | [RichTextCellPainter] allow configuration of data and markup converter | ||
|---|---|---|---|
| Product: | [Technology] NatTable | Reporter: | Dirk Fauth <dirk.fauth> |
| Component: | Nebula Extension | Assignee: | Dirk Fauth <dirk.fauth> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 2.0.5 | ||
| Target Milestone: | 2.1.0 | ||
| Hardware: | PC | ||
| OS: | Windows 10 | ||
| See Also: |
https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199277 https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=ca3b345bb62c68ac60dced75378f6411013d4ad5 |
||
| Whiteboard: | |||
|
Description
Dirk Fauth
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199277 Gerrit change https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199277 was merged to [master]. Commit: http://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=ca3b345bb62c68ac60dced75378f6411013d4ad5 Introduced the RichTextConfigAttributes.MARKUP_DISPLAY_CONVERTER configuration attribute so it is possible to configure a dedicated markup display converter that can be registered additionally to a CellConfigAttributes.DISPLAY_CONVERTER. The conversion is extracted into RichTextCellPainter#getHtmlText() to first convert the data via CellConfigAttributes.DISPLAY_CONVERTER. The result is then converted via the RichTextConfigAttributes.MARKUP_DISPLAY_CONVERTER if one is registered. This way the change is backwards compatible for existing configurations, but allows the configuration of an additional markup converter for future configurations. Fixed with 2.1.0 |