[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.jdt] Class full name to Source full name
|
- From: Yao Qi <qiyaoltc@xxxxxxxxx>
- Date: Wed, 25 Jul 2007 01:16:25 +0800
- Cancel-lock: sha1:oS5Up3FRND8mygBgm2zElf5Ydtk=
- Newsgroups: eclipse.tools.jdt
- Organization: EclipseCorner
- User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)
I could get the class name as input, and then I want to open the source file in
editor if any.
For example, if input is "java.until.Calendar", this source file could
be opened in JDT editor.
I googled for some time, and find that IClassFile, IPackageFragment, and
ISourceReference may help me. However I do not know how to use these
classes to get what I want.
Am I on a right track? If yes, is there any sample code to tell me how
to use these classes? I a newbie here, and thanks in advance for your
comments on this.
Best Regards
--
Yao Qi <qiyaoltc AT gmail DOT com> GNU/Linux Developer
http://duewayqi.googlepages.com/
linux: No such file or directory