Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Creat automatically element in the current resource
Creat automatically element in the current resource [message #1106503] Wed, 11 September 2013 07:20 Go to next message
junior developer is currently offline junior developer
Messages: 335
Registered: January 2013
Senior Member
Hi all,

I want to Create Automaticallt instance in the current resource.
I use XtextDocumentProvider.

But I do not create element automatically I receive index error.

is it possible it and How Can I do this ? could you share an example if you know?


Best Regards
Re: Creat automatically element in the current resource [message #1122041 is a reply to message #1106503] Tue, 01 October 2013 07:09 Go to previous message
Lars Martin is currently offline Lars Martin
Messages: 24
Registered: July 2009
Junior Member
Jan has written a good tutorial [1] on this topic which could be a good starting point for you. (if I understood you correctly)

And I recommend to post some code snippets so the experts here may have the chance to give you an advice.

Regards, Lars M.

[1] http://koehnlein.blogspot.de/2010/06/semantic-model-access-in-xtext.html
Previous Topic:SortBy in xtend
Next Topic:Preserve Line Breaks
Goto Forum:
  


Current Time: Tue Sep 30 17:58:19 GMT 2014

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

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