open editor checked by Xtext [message #916824] |
Wed, 19 September 2012 14:11 |
Juliane Mueller Messages: 30 Registered: August 2011 |
Member |
|
|
Dear all,
I created my own Xtext-grammar and I want to open a corresponding editor by workbenchPage.openEditor(resource, grammar-ID);. Normally I need a FileEditorInput as resource, but in my case I want to use a String.
Therefor I had the idea of using a ResourceWorkingCopyFileEditorInput in my application, but nothing opens and a java.lang.NullPointerException appears.
I think the problem lies in the proper use of the ResourceWorkingCopyFileEditorInput.
Has anyone of you an idea how to find a solution?
Best regards, Juliane.
[Updated on: Thu, 20 September 2012 07:00] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.32536 seconds