edit Teneo-saved EMF Model in XText editor in RCP [message #1115780] |
Tue, 24 September 2013 11:18  |
Eclipse User |
|
|
|
Hello,
I ask you for help in the following situation.
What I have done until now:
- Data-Models are created with EMF and stored with Teneo in a database
- models are shown in a handcoded GEF-RCP
- the GEF-Editors for a specific model-object are opened with
workbenchPage.openEditor(new MyEditorInput(root), MyGEFEditor.editorID, false);
The problems are:
? all examples for opening an XText editor programmatically I have found are for models stored in files, but my models are stored in database, so in the CodeExample above "MyEditorInput" will not work
? since there is no XTextEditor generated I don't how to get the .editorID as in the code example
Thank you for your help,
Tom
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05985 seconds