Re: Text search in Diagram [message #128584] |
Tue, 12 August 2008 11:47  |
Eclipse User |
|
|
|
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 #128643 is a reply to message #128597] |
Tue, 12 August 2008 15:45  |
Eclipse User |
|
|
|
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 #620231 is a reply to message #128597] |
Tue, 12 August 2008 15:45  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.06177 seconds