Thank you.
From the unit object below, can i get the methods, variables etc in that particular PHP class/script.
Can you help me a reference to any website/resource, which can be help meÂfurther.
On Tue, Apr 17, 2012 at 6:48 PM, èåä
<zhaozhongwei@xxxxxxxxxxxxxxxx> wrote:
ISourceModule unit = (ISourceModule)ÂPHPStructuredEditor.getModelElement();
Hi,ÂI want to write a plugin for PHP files, which will do some specific task for me. From my plugin, i want to get the php class/script details and do some manipulation with that.Â
For a java file we do thisÂfinal IWorkingCopyManager manager = JavaUI.getWorkingCopyManager();Âand from the open editor, we get the ICompilationUnit object and from that we get all the methods,fields etc present in that java file.Â
How can i do the same kind of thing for a PHP file.ÂCan anyone please help...ÂThanks in advance!!ÂÂ
_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev
--
Thanks!
Best Regards!
Zhao
_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev
--
Regards,
Krishnaveni S