use of elemental.html.SpanElement in project che by eclipse.
the class ResultNode method updatePresentation.
@Override
public void updatePresentation(@NotNull NodePresentation presentation) {
SpanElement spanElement = Elements.createSpanElement(styles.styles().presentableTextContainer());
spanElement.setInnerHTML("Usages of <span class=\"" + resources.css().searchMatch() + "\">" + response.getSearchElementLabel() + "</span> [" + calculateMatchesSize(response.getMatches()) + " occurrences]");
presentation.setUserElement((Element) spanElement);
}
Aggregations