}, e -> {
dialog.getAnnotationConfigurator().dispose();
if (e != null)
- ExceptionUtils.logAndShowError("Cannot add URL link.", e);
+ ExceptionUtils.logAndShowError("Cannot add URL link.", e); //$NON-NLS-1$
});
}
};
}
public static Resource addUrlDocumentWithDetailSCL(WriteGraph graph, Resource target, String name, String uriString) throws DatabaseException {
- AddUrlDocumentWithDetail urlDocument = new AddUrlDocumentWithDetail(graph, "http://www.simantics.org/Layer0-1.1/ConsistsOf");
+ AddUrlDocumentWithDetail urlDocument = new AddUrlDocumentWithDetail(graph, "http://www.simantics.org/Layer0-1.1/ConsistsOf"); //$NON-NLS-1$
Resource urlResource = urlDocument.doAddUrl(graph, name, uriString);
urlDocument.linkDocument(graph, target, urlResource);
return urlResource;