|Generate Report from Xtext Editor model [message #692567]
||Mon, 04 July 2011 14:51
| Ralf Zahn
Registered: July 2009
I use Xtext to define a DSL and to generate an editor for the DSL. So I have the grammar, an *.ecore file, and I can access the Ecore model of the editor content (instances of EObject)|
I'd like to create an editor action to generate a PDF that uses the Ecore model of the current editor content as Data Source.
Which kind of Data Source should I use? Ecore ODA Data Source and EMF Ecore Data Source do not work for me because I cannot create a Data Set (the Next buttons are disabled when entering the query or the page to choose column is always empty). (I'm not familiar with OCL) Are there any working tutorials? (http://timezra.blogspot.com/2008/04/oda-ecore-getting-started-guide.html does not work for me) The ExtLibrary Example does not work too. And the documentation is not very extensive.
Or do you have any example report file where I can test the report without using any wizard with disabled buttons?
Thanks for your support.
Powered by FUDForum
. Page generated in 0.06695 seconds