Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Search for classes with sources
Search for classes with sources [message #119246] Fri, 21 November 2003 12:15 Go to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

I need to collect all classes in project classpath (including project itself)
that are subclasses of some class and for which source code is known. I know
that there it class SearchEngine with method searchAllTypeNames. However I
don't know, how to detect in ITypeNameRequestor.acceptClass that class with
passed name has source and is subclass of needed class.

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: Search for classes with sources [message #119317 is a reply to message #119246] Fri, 21 November 2003 14:30 Go to previous messageGo to next message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
I would use IType.newTypeHierarchy(IJavaProject, IProgressMonitor) instead
of the SearchEngine.

Jerome

"Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
news:8WWZlkCsDHA.2432@fairy.ao.nlmk...
> I need to collect all classes in project classpath (including project
itself)
> that are subclasses of some class and for which source code is known. I
know
> that there it class SearchEngine with method searchAllTypeNames. However I
> don't know, how to detect in ITypeNameRequestor.acceptClass that class
with
> passed name has source and is subclass of needed class.
>
> --
> SY, Konstantin.
> Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: Search for classes with sources [message #120074 is a reply to message #119317] Mon, 24 November 2003 13:40 Go to previous message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Jerome Lanneluc <jerome_lanneluc@fr.ibm.com> wrote:

Thank you.

> I would use IType.newTypeHierarchy(IJavaProject, IProgressMonitor) instead
> of the SearchEngine.

> Jerome

> "Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
> news:8WWZlkCsDHA.2432@fairy.ao.nlmk...
>> I need to collect all classes in project classpath (including project
> itself)
>> that are subclasses of some class and for which source code is known. I
> know
>> that there it class SearchEngine with method searchAllTypeNames. However I
>> don't know, how to detect in ITypeNameRequestor.acceptClass that class
> with
>> passed name has source and is subclass of needed class.
>>
>> --
>> SY, Konstantin.
>> Advanced Eclipse SWT Designer (http://www.swt-designer.com)



--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Previous Topic:CVS problem in M5
Next Topic:Edit JSPs
Goto Forum:
  


Current Time: Thu Nov 07 12:13:04 GMT 2024

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

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

Back to the top