|How to load an EMFText model in a standalone Java application [message #1070750]
||Thu, 18 July 2013 15:33
| d 627
Registered: March 2013
I like to load my EMFText model in a standalone java application. I have been looking for a possible answer but nothing yet. I found this piece of code but for Xtext
Injector injector = new MyDslStandaloneSetup().createInjectorAndDoEMFRegistration();
XtextResourceSet resourceSet = injector.getInstance(XtextResourceSet.class);
Resource resource = resourceSet.getResource(
Model model = (Model) resource.getContents().get(0);
I need to do exactly the same but using EMFText instead of Xtext. Is it possible?
I would really appreciate any help or answer.
Powered by FUDForum
. Page generated in 0.02288 seconds