How can I add xText editor to Eclipse (e4) RCP Application?
问题 I've already made a xtext editor (2.5). I try to use this editor in a part in my RCP application. I use this code: Injector injector = MyDslActivator.getInstance().getInjector(MyDslActivator.XTEXT_DSL_MYDSL); EmbeddedEditorFactory factory = injector.getInstance(EmbeddedEditorFactory.class); editor = factory.newEditor(resourceProvider).showErrorAndWarningAnnotations().withParent(container); But I got an error java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse