| opening a xtext editor without a file [message #650357] |
Mon, 24 January 2011 10:26  |
No real name Messages: 11 Registered: November 2010 |
Junior Member |
|
|
Hi,
I´m trying to open the xtext editor without a file, i have tried to implement different classes like ieditorinput , istorage , idocumentprovider , but i cant make it work perfectly
I manage to open the editor with an istorageeditorinput but when i change something in it throws an excepcion because the model in the editor is null.
I especially have a problem getting the model for the editor without having an ifile.
So how can i open the editor without a file?? what should i extend or implement for this ??
Thanks
|
|
|
|
|
|
|
| Re: opening a xtext editor without a file [message #899789 is a reply to message #899786] |
Thu, 02 August 2012 07:16  |
Sebastian Zarnekow Messages: 2788 Registered: July 2009 |
Senior Member |
|
|
Phil,
please look into the
org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorFactory
Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 02.08.12 13:10, schrieb Phil M. Fischer:
> Hi there,
>
> We are currently concerned with a similar issue. We also do have a
> string in memory that we want to manipulate using an Xtext editor. We
> don't want to have any file interaction. Is there any easier way like
> just calling the editor with that string?
>
> Cheers
>
> Phil
|
|
|
Powered by
FUDForum. Page generated in 0.02121 seconds