GoRootElement goRootElement = (GoRootElement) element;
baseText.append(" - " + goRootElement.getDirectory().toString(), fgColor(LOCATION_ANNOTATION_FG));
return baseText;
}
if(element instanceof GoPathEntryElement) {
GoPathEntryElement goPathEntryElement = (GoPathEntryElement) element;
baseText.append(" - ", fgColor(LOCATION_ANNOTATION_FG));
String goPathEntryLocation = goPathEntryElement.getDirectory().toString();
StyledString suffix;
if(goPathEntryElement.isProjectInsideGoPath()) {
suffix = new StyledString(goPathEntryLocation,
new ItalicStyler(fgColor(LOCATION_ANNOTATION_FG)));
} else {
suffix = new StyledString(goPathEntryLocation, fgColor(LOCATION_ANNOTATION_FG));
}