for example a command prompt in the minibuffer, then we enter a world (with regexp or not)
and we have in response the list of class name matching this expression (and why not the jar/path where is located each classes)
Thx for your response, i will explore this way to implements a solution about this.
so, i just want to say that JDEE + ECB is very nice solution for editing java file in emacs (and more ...)
Congratulation
Christopher
I think what plalleme is looking for enumeration of all classes/interfaces (java types in general) on the classpath. I think the:
jde.util.JdeUtilities jde.util.ProjectClasses or in general jde.util.*
classes deals with that. However I think there is no method to enumerate the ALL types on classpath.
-sandip HINT:
Look into
/** * returns a list of fully qualified classnames matching an * unqualified name in all classpath entries for the project. * * @param unqualifiedName a <code>String</code> value * @return a <code>List</code> value * @exception IOException if an error occurs */ List getClassNames(String unqualifiedName) throws IOException { List rv = new ArrayList(); for (Iterator i = classPathEntries.iterator(); i.hasNext();) {
ClassPathEntry cpe = (ClassPathEntry) i.next(); rv.addAll(cpe.getClassNames(unqualifiedName)); } return rv; }
of jde.util.ProjectClasses
Sandip
-----Original Message-----
From: Paul Kinnucan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 10:23 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Trans.: Class finding
[EMAIL PROTECTED] writes:
> > Hi,
> > is there a way to find all class names in the jde project matching a regexp ?
> i've read the jde doc, but it seems nothing appears about it. (i don't want jump
> to classsource, but just watch all class names then choose one and jump to source)
>
Your question is not very clear. JDE->Find->Expression finds all occurrences of a regular expression in the current directory that matches a regular expression
and displays the results in a buffer. Clicking on any result takes you to the source of the match. JDE->Find->Expression... finds all occurrences of a regular expression
in a directory tree. Why can't you use these commands?
Paul
> Thx
> > Christophe
> > > ----- Fin du message transf�r� -----
> >
