[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.jdt] Re: Class full name to Source full name
|
- From: Yao Qi <qiyaoltc@xxxxxxxxx>
- Date: Wed, 25 Jul 2007 20:20:33 +0800
- Cancel-lock: sha1:fCSmnoHt15qDxCNwwNRexsI6WuI=
- Newsgroups: eclipse.tools.jdt
- Organization: Eclipse
- User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)
Eddie Man <superman_eddie@xxxxxxxxxxxx> writes:
> IProject project; // your eclipse project
> IJavaProject javaProject = JavaCore.create(project);
> IType type = javaProject.findType("java.util.Calendar");
> JavaUI.openInEditor(type);
>
Hi, Eddie,
That works for me! I could open the source file according to its class name.
Thanks.
Best Regards
--
Yao Qi <qiyaoltc AT gmail DOT com> GNU/Linux Developer
http://duewayqi.googlepages.com/
linux: No such file or directory