String category = FilterParser.namespaceToCategory(namespace);
if (category != null && category.length() > 0)
label.append(category + ": ", StyledString.QUALIFIER_STYLER);
}
FilterParser fp = new FilterParser();
String filterStr = requirement.getDirectives().get("filter");
if (filterStr == null) {
label.append("<no filter>", UIConstants.ERROR_STYLER);
} else {
Expression exp = fp.parse(filter);
if (exp instanceof WithRangeExpression) {
label.append(((WithRangeExpression) exp).printExcludingRange(), UIConstants.BOLD_STYLER);
RangeExpression range = ((WithRangeExpression) exp).getRangeExpression();
if (range != null)
label.append(" ").append(formatRangeString(range), StyledString.COUNTER_STYLER);