else if (nextCatalog.getCatalogLocation().startsWith("platform:")) {
result += " (" + XMLCatalogMessages.UI_LABEL_PLATFORM_RESOURCE + ")";
}
}
else if (object instanceof IDelegateCatalog) {
IDelegateCatalog nextCatalog = (IDelegateCatalog) object;
// result = nextCatalog.getCatalogLocation();
result = nextCatalog.getStartString() + " " + XMLCatalogMessages.UI_LABEL_ARROW + " " + URIUtils.convertURIToLocation(nextCatalog.getCatalogLocation());
if (nextCatalog.getCatalogLocation().startsWith("file:")) {
result += " (" + XMLCatalogMessages.UI_LABEL_FILE_SYSTEM_RESOURCE + ")";
}
else if (nextCatalog.getCatalogLocation().startsWith("platform:")) {
result += " (" + XMLCatalogMessages.UI_LABEL_PLATFORM_RESOURCE + ")";
}
}
result = TextProcessor.process(result);
return result != null ? result : object.toString();