Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF search problem
EMF search problem [message #1047629] Tue, 23 April 2013 13:05 Go to next message
Jaroslav Stružka is currently offline Jaroslav StružkaFriend
Messages: 5
Registered: April 2013
Junior Member
Hi all,

got a little problem with my EMF search in my app. I've generated the search code from this ecore file:
index.php/fa/14479/0/

For a better preview here is a diagram:
index.php/fa/14478/0/

I launch my app and open module. As u can see activity has a result list containing result items.
index.php/fa/14477/0/

index.php/fa/14480/0/

But when i start searching, it will only find the "result item" in "result list" and not in the activities. The search ignores both resultItems and effectiveResultItems (see img diagram above)
index.php/fa/14481/0/

Could some explain me why there is no search result for the "result item" in activity? I ve selected all posibilities in search dialog. So it have to find it, or not? Smile
Re: EMF search problem [message #1047760 is a reply to message #1047629] Tue, 23 April 2013 15:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Jaroslav,

I don't know what you mean by "generated the search code". Does this
have something to do with EEF?

In any case, ResultItems are only contained in ResultLists so even if
there are Activity instances that refer to ResultItems, those
ResultItems are nevertheless contained by ResultItems...


On 23/04/2013 3:46 PM, Jaroslav Stružka wrote:
> Hi all,
>
> got a little problem with my EMF search in my app. I've generated the search code from this ecore file:
>
>
> For a better preview here is a diagram:
>
>
> I launch my app and open module. As u can see activity has a result list containing result items.
>
>
>
>
> But when i start searching, it will only find the "result item" in "result list" and not in the activities. The search ignores both resultItems and effectiveResultItems (see img diagram above)
>
>
> Could some explain me why there is no search result for the "result item" in activity? I ve selected all posibilities in search dialog. So it have to find it, or not? :)


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF search problem [message #1048174 is a reply to message #1047760] Wed, 24 April 2013 06:06 Go to previous messageGo to next message
Jaroslav Stružka is currently offline Jaroslav StružkaFriend
Messages: 5
Registered: April 2013
Junior Member
Ed Merks wrote on Tue, 23 April 2013 11:58
Jaroslav,

I don't know what you mean by "generated the search code". Does this
have something to do with EEF?

In any case, ResultItems are only contained in ResultLists so even if
there are Activity instances that refer to ResultItems, those
ResultItems are nevertheless contained by ResultItems...


The search is not availeble in basic EMF apps. U can only search through files. So i used http://wiki.eclipse.org/EMF_Search . And at first you have to genereta you search engine code from genmodel file.
Re: EMF search problem [message #1048230 is a reply to message #1048174] Wed, 24 April 2013 07:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Jaroslav,

I see. That project isn't active... In any case, my "in any case"
comment still applies, i.e., it sounds to me like it's behaving as I'd
expect...



On 24/04/2013 8:06 AM, Jaroslav Stružka wrote:
> Ed Merks wrote on Tue, 23 April 2013 11:58
>> Jaroslav,
>>
>> I don't know what you mean by "generated the search code". Does this
>> have something to do with EEF?
>>
>> In any case, ResultItems are only contained in ResultLists so even if
>> there are Activity instances that refer to ResultItems, those
>> ResultItems are nevertheless contained by ResultItems...
>
>
> The search is not availeble in basic EMF apps. U can only search
> through files. So i used http://wiki.eclipse.org/EMF_Search . And at
> first you have to genereta you search engine code from genmodel file.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EMF Providers dynamically
Next Topic:Unordered EMap?
Goto Forum:
  


Current Time: Thu Apr 25 10:30:30 GMT 2024

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

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

Back to the top