XText in RCP Product

we want to provide users of our RCP product with a text editor for our model. Accordingly, we created an EMF model and an XText grammar. The problem is that our RCP application does not have the structure of the Eclipse IDE project (i.e. we don’t have workspaces or collectors), so we have some problems when creating the XText editor ...

Does anyone have any suggestions?

[EDIT to clarify my question]

I have plugins with EMF model and XText material. If I run these plugins in the β€œstandard” eclipse product, I can create and edit text instances of my model (for example, in the default demo of XText).

However, I need to take one more step: these plugins are needed in the RCP product I'm working on. This product does NOT use eclipse project management. Accordingly, my RCP cannot add the nature of XText to its projects, so the default XText editor does not work properly.

When I was looking for solutions, I only found links from 2009 (as of XText 2.0). In addition, an error was found in this problem ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=289212 ), but the last comment was made about a year ago ...

+5
source share
1 answer

2012 XText IURIEditorInput. [1] , , .

Xtext IURIEditorInput. . , , . , , EmbeddedEditorFactory.newEditor(IEditedResourceProvider).withParent()

[1]: 21, Sebastian Zarnekow (2012-04-02 11:11:25 EDT).

+1

All Articles