| Summary: | Text decorations for master-details outline nodes | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Roded Bahat <rodedb> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | danny.ju, konstantin, rodedb |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Roded Bahat
Will take a look at this for Sapphire 8. My current plan is to allow syntax like the following under the node definition:
<text-decoration>
<text>${ ... }</text>
<color>${ ... }</text>
</text-decoration>
Both text and color will support EL.
Color will default to the standard decorations color.
Multiple decorations can be specified.
Decoration text can evaluate to null in order for the decoration to not be shown.
This feature is demonstrated in the catalog sample. History has been re-written. New commit references are as follows: 8 : http://git.eclipse.org/c/sapphire/org.eclipse.sapphire.git/commit/?id=acdf4fc773209ebbd8fe373e5668bd3cc0b1a9f8 Verified with Sapphire 8.0 Build #107 with catalog.xml.
Also was able to customize with the color decoration
text-decoration>
<text>${ ( Items.Size == 0 ? null : Concat( "(", Items.Size, ")" ) ) }</text>
<color>#00ffff</color>
</text-decoration>
Thanks. Closing. |