Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » open editor checked by Xtext
open editor checked by Xtext [message #916824] Wed, 19 September 2012 14:11
Juliane Mueller is currently offline Juliane MuellerFriend
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

Previous Topic:Loading and navigating a DSL Model
Next Topic:Keyword alias
Goto Forum:
  


Current Time: Thu Apr 25 12:10:00 GMT 2024

Powered by FUDForum. Page generated in 0.32536 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top