Today I gave a talk on the next generation EMF Model Query together with my colleague Christian Mohr. It was well attended and we got some really good feedback.
The EMF Model Query deals with finding EMF model elements. The current version has some limitations, especially with respect to scalability. The basic problem is that you have to pass in the EObjects you’d like to find in your result. This means that you have load all these elements. For large models this is not feasible. Another issue is the missing type safety for your queries. All these things among many others should go away with the new implementation.
The code for the new query is already in the CVS and build will start to show up soon (they are already available on Hudson). Here is a screen-shot to give you an impression of how the syntax looks like.
In one of my next posts I’ll give some more insights, so stay tuned