}
@Override
public StyledString getStyledText(final Object element) {
if (getElementResource(element) == null) {
return new StyledString(super.getText(element));
}
final String text = getText(element);
final StyledString str = new StyledString(text);
final int index = text.indexOf(" - ");
if (index != -1) {
str.setStyle(index, text.length() - index, StyledString.QUALIFIER_STYLER);
}
return str;
}