IGoProjectElement goProjectElement = (IGoProjectElement) element;
StyledString baseText = new StyledString(goProjectElement.getName());
if(element instanceof GoRootElement) {
GoRootElement goRootElement = (GoRootElement) element;
baseText.append(" - " + goRootElement.getDirectory().toString(), fgColor(LOCATION_ANNOTATION_FG));
return baseText;
}
if(element instanceof GoPathEntryElement) {
GoPathEntryElement goPathEntryElement = (GoPathEntryElement) element;