public interface IStyledLabelDecorator
ILabelDecorator
to decorate a StyledString
.Modifier and Type | Method and Description |
---|---|
StyledString |
decorateStyledText(StyledString styledString,
java.lang.Object element)
Returns a decorated
StyledString . |
StyledString decorateStyledText(StyledString styledString, java.lang.Object element)
StyledString
. It may return the given styledString
itself if no
decoration has been done.styledString
- the StyledString
to decorate. Must not be null.element
- the object being described by the given styledString
. Must not be null.styledString
. It never returns null.