Skip to main content



      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 03:20 Go to next message
Eclipse UserFriend
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 03:09 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 08:27:14 EDT 2025

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

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

Back to the top