EMF search returns duplicate results [message #620244] |
Tue, 19 August 2008 18:11 |
Vineet Messages: 19 Registered: July 2009 |
Junior Member |
|
|
I generated a text search engine for my EMF model and it works very well.
One slight problem though...it returns all results twice.
Putting debug points, I found that there is ModelSearchQuery.java class
which is overriding the following method that gets called twice:
@Override
public IStatus search(Object resource, boolean notify,
IProgressMonitor monitor) {.......}
Any idea why it gets called twice?
One note though, I generated the search code and then made Ecore model
changes and regenerated the code again.
I assumed that EMF Search also implements EMF core type of code merge (by
that i mean, when we do "Generate All" from EMF genmodel file, there is
very decent code regenration and merge happening).
Am I correct in assuming that EMF Search's code generation is doing the
same too?
Thanks,
Vineet
|
|
|
Powered by
FUDForum. Page generated in 0.54869 seconds