Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: Text search in Diagram
Re: Text search in Diagram [message #128584] Tue, 12 August 2008 15:47 Go to next message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
You should probably give a try to the EMFT Search component :
http://www.eclipse.org/modeling/emft/?project=search#search.

It provides the fundamental infrastructure and components for search
queries on EMF based models. By default, Search results are
automatically linked with the generated EMF Tree Structure editor, but
it should be possible to customize this a little to map results with a
GMF editor.

I have added the EMFT newsgroup to the "to" list of my reply, I am sure
Lucas could help you more.

Regards,
Jacques

Vineet Khosla a écrit :
> Hi,
>
> Question: Is there a way to visually search for text within the diagram?
> Problem: The diagrams I create are quite huge and often not contained
> more than 10% on the visible screen. Instead of visually scanning the
> entire screen, I want to hit ctrl+f and search the properties of objects
> on the screen (lets say search "name" attribute of class "Person").
>
> Is there a generic or custom way to visually search (doing ctrl+f on the
> backing xml file is not a pretty option).
>
> Thanks
>
> Vineet
>
Re: Text search in Diagram [message #128597 is a reply to message #128584] Tue, 12 August 2008 16:56 Go to previous messageGo to next message
Vineet is currently offline VineetFriend
Messages: 19
Registered: July 2009
Junior Member
Hi Jacques,

Thanks for pointing me in the right direction.
Its amazing how absurdly simple it was to generate a simple search engine
using this
http://wiki.eclipse.org/EMF_Search---Custom_Textual_Search_G eneration .

Right now its a good compromise since it searches the backing xml file. I
am sure with more reading and few pointers I can incorporate it in the
main diagram file.
Will repost to this message with fully qualified results later.

Thanks

Vineet
Re: Text search in Diagram [message #128643 is a reply to message #128597] Tue, 12 August 2008 19:45 Go to previous message
lucas bigeardel is currently offline lucas bigeardelFriend
Messages: 155
Registered: July 2009
Senior Member
Vineet Khosla a écrit :
> Hi Jacques,
>
> Thanks for pointing me in the right direction.
> Its amazing how absurdly simple it was to generate a simple search
> engine using this
> http://wiki.eclipse.org/EMF_Search---Custom_Textual_Search_G eneration .
>

Vineet, I just loved your quote ;-) I'm a quite absurd driven guy myself
sometimes ! as for me that's the way all EMF based meta tools should
work : ABSURDLY WELL !

> Right now its a good compromise since it searches the backing xml file.
> I am sure with more reading and few pointers I can incorporate it in the
> main diagram file.

I can give a hand for the diagram stuff if you need after your
preliminary study

> Will repost to this message with fully qualified results later.
>
> Thanks
>
> Vineet
>
Re: Text search in Diagram [message #620228 is a reply to message #128584] Tue, 12 August 2008 16:56 Go to previous message
Vineet is currently offline VineetFriend
Messages: 19
Registered: July 2009
Junior Member
Hi Jacques,

Thanks for pointing me in the right direction.
Its amazing how absurdly simple it was to generate a simple search engine
using this
http://wiki.eclipse.org/EMF_Search---Custom_Textual_Search_G eneration .

Right now its a good compromise since it searches the backing xml file. I
am sure with more reading and few pointers I can incorporate it in the
main diagram file.
Will repost to this message with fully qualified results later.

Thanks

Vineet
Re: Text search in Diagram [message #620231 is a reply to message #128597] Tue, 12 August 2008 19:45 Go to previous message
lucas bigeardel is currently offline lucas bigeardelFriend
Messages: 155
Registered: July 2009
Senior Member
Vineet Khosla a écrit :
> Hi Jacques,
>
> Thanks for pointing me in the right direction.
> Its amazing how absurdly simple it was to generate a simple search
> engine using this
> http://wiki.eclipse.org/EMF_Search---Custom_Textual_Search_G eneration .
>

Vineet, I just loved your quote ;-) I'm a quite absurd driven guy myself
sometimes ! as for me that's the way all EMF based meta tools should
work : ABSURDLY WELL !

> Right now its a good compromise since it searches the backing xml file.
> I am sure with more reading and few pointers I can incorporate it in the
> main diagram file.

I can give a hand for the diagram stuff if you need after your
preliminary study

> Will repost to this message with fully qualified results later.
>
> Thanks
>
> Vineet
>
Previous Topic:Re: Text search in Diagram
Next Topic:CGLib proxy issue in Teneo 1.0 for One-To-One relationship
Goto Forum:
  


Current Time: Tue Apr 07 14:32:58 GMT 2020

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

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

Back to the top