Loading plugins/org.etsi.mts.tdl.rt.ui/src/org/etsi/mts/tdl/tools/rt/ui/handlers/TranslationHandler.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -128,7 +128,7 @@ public class TranslationHandler extends AbstractHandler { m.put(extension, factory); m.put(extension, factory); Resource outputResource = factory.createResource(URI.createURI(r.getURI().toString()+".tdl")); Resource outputResource = factory.createResource(URI.createURI(r.getURI().toString()+".tdl")); outputResource.getContents().add(p); outputResource.getContents().addAll(EcoreUtil.copyAll(r.getContents())); Map options = new HashMap<>(); Map options = new HashMap<>(); options.put(XMIResourceImpl.OPTION_ENCODING, "UTF-8"); options.put(XMIResourceImpl.OPTION_ENCODING, "UTF-8"); try { try { Loading Loading
plugins/org.etsi.mts.tdl.rt.ui/src/org/etsi/mts/tdl/tools/rt/ui/handlers/TranslationHandler.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -128,7 +128,7 @@ public class TranslationHandler extends AbstractHandler { m.put(extension, factory); m.put(extension, factory); Resource outputResource = factory.createResource(URI.createURI(r.getURI().toString()+".tdl")); Resource outputResource = factory.createResource(URI.createURI(r.getURI().toString()+".tdl")); outputResource.getContents().add(p); outputResource.getContents().addAll(EcoreUtil.copyAll(r.getContents())); Map options = new HashMap<>(); Map options = new HashMap<>(); options.put(XMIResourceImpl.OPTION_ENCODING, "UTF-8"); options.put(XMIResourceImpl.OPTION_ENCODING, "UTF-8"); try { try { Loading