[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Class full name to Source full name

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