private String formName(ReadGraph graph, Resource r) throws DatabaseException {
String name = NameUtils.getSafeName(graph, r);
final Resource project = Simantics.getProjectResource();
- String projectUri = project != null ? graph.getPossibleURI(project) : "";
+ String projectUri = project != null ? graph.getPossibleURI(project) : ""; //$NON-NLS-1$
String uri = graph.getPossibleURI(r);
if (uri != null) {
if (uri.startsWith(projectUri))
uri = uri.substring(projectUri.length());
}
- return uri != null ? name + " (" + uri + ")" : name;
+ return uri != null ? name + " (" + uri + ")" : name; //$NON-NLS-1$ //$NON-NLS-2$
}
private Resource getConfiguration(ReadGraph graph, Resource r) throws DatabaseException {
}
setVisible(true);
} else {
- setContentDescription("Issues not available.");
+ setContentDescription(Messages.IssueView2_IssuesNotAvailable);
setVisible(false);
}
}