Layer0 l0 = Layer0.getInstance(g);
ModelingResources wr = ModelingResources.getInstance(g);
- String freshLabel = NameUtils.findFreshLabel(g, "Subscription", model);
+ String freshLabel = NameUtils.findFreshLabel(g, Messages.NewSubscription_Subscription, model);
@SuppressWarnings("unused")
Resource subscription = GraphUtils.create2(g, wr.Subscription,
l0.HasName, UUID.randomUUID().toString(),
l0.PartOf, model);
CommentMetadata cm = g.getMetadata(CommentMetadata.class);
- g.addMetadata(cm.add("Created subscription folder " + freshLabel));
+ g.addMetadata(cm.add("Created subscription folder " + freshLabel)); //$NON-NLS-1$
}
});
}