public void perform(WriteGraph graph) throws DatabaseException {
graph.markUndoPoint();
save(graph, inputResource, originalText);
- Layer0Utils.addCommentMetadata(graph, "Saved SCL Module " + graph.getRelatedValue2(inputResource, Layer0.getInstance(graph).HasName, Bindings.STRING));
+ Layer0Utils.addCommentMetadata(graph, "Saved SCL Module " + graph.getRelatedValue2(inputResource, Layer0.getInstance(graph).HasName, Bindings.STRING)); //$NON-NLS-1$
}
});
} catch (DatabaseException e) {
Layer0 L0 = Layer0.getInstance(graph);
Resource parent = graph.getPossibleObject(inputResource, L0.PropertyOf);
if(parent == null)
- return "No parent";
- return graph.getPossibleRelatedValue(parent, L0.HasName) + " (Code)";
+ return "No parent"; //$NON-NLS-1$
+ return graph.getPossibleRelatedValue(parent, L0.HasName) + " (Code)"; //$NON-NLS-1$
}
@Override