Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMF search returns duplicate results
EMF search returns duplicate results [message #620244] Tue, 19 August 2008 18:11
Vineet is currently offline VineetFriend
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
Previous Topic:[Compare] Set the OPTION_IGNORE_ID upon startup?
Next Topic:[Teneo] Use several ecore file for the same model
Goto Forum:
  


Current Time: Sun Mar 29 16:28:29 GMT 2020

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

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

Back to the top