|
Re: Using EMF Models as DataSource [message #553534 is a reply to message #553321] |
Tue, 17 August 2010 20:15 |
|
Any chance you could take a screenshot of the problem, ie the table and
explain what you need? email it to me at jasonweathersby at windstream
dot net.
Jason
n 8/17/2010 3:35 AM, bora kiliclar wrote:
> Hi,
>
> i want to use an EMF Model as a DataSource for my Report. I followed
> http://timezra.blogspot.com/2008/04/oda-ecore-getting-starte d-guide.html
> and it worked fine for me. I can create a report using my EMF model as a
> DataSource and adding DataSets to my report.
>
> But now i reached a point where i have some problems with the structure
> of my report. In my EMF Model i have a list of items and when i create a
> DataSet with an OCL query which gets the data out of the list and stores
> it into a table in my report the elements aren't sorted anymore. So the
> entries in the table aren't in the same order like they are in my array
> list. I want to create a table where the first column should have an ID
> and this ID can be the list entries position and afterwards i could sort
> my table ascending for this attribute but how can i get the position? Or
> is there another possibility to get my list in an ordered way?
>
> Besides i have the following problem. I created a class in my EMF Model
> and two subclasses inherit from it. Now i want to create a DataSet for a
> table in which all three classes may be inserted. So i need somekind
> instanceof check?! Any ideas?
>
> Thanks in advance.
|
|
|
Powered by
FUDForum. Page generated in 0.03193 seconds