[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: problems with searching for references

Am Wed, 19 Sep 2007 12:36:35 +0200 schrieb Frederic Fusier:

> Rudolf Ziegaus wrote:
>   > Hello Frederic,
>> 
>> thanks for your reply. No, I did not mean the "File Search" in Eclipse. I
>> was talking about using "References" from the context menu. When I choose
>> the same working set as I do for my own search, I do get a match for a
>> class in "plugin.xml" that I don't get when I use my own search method.
>> Maybe Eclipse is doing additionally a search in all found "plugin.xml"
>> files?
>> 
>> Rudi
> 
> You're right, I never noticed that... and it seems to exist since 3.2!
> Thanks for the tip :-)
> 
> However, this match is not reported by Search Engine, but by the "PDE Java
> Search Participant" which extends the org.eclipse.jdt.ui.queryParticipants
> extension point in MANIFEST.MF of org.eclipse.pde.ui plugin.

You're welcome;-) 

I found the necessary classes. However I have a further question. I'd like
to implement this very functionality in my plugin. What's the best way to
do it? When I copy the class's source code I have to import many internal
packages and I get a "restricted access" message. Is there a better way to
implement this functionality? Or can I suppress the warnings? What does
this message mean btw?

Rudi