Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » How to get names of files in a project selected In Script Explorer?
How to get names of files in a project selected In Script Explorer? [message #32952] Tue, 07 October 2008 05:42 Go to next message
Pawan is currently offline PawanFriend
Messages: 6
Registered: July 2009
Junior Member
Hi
Is there any way to get the names of files present in a project selected
in Script Explorer, if the project name node is not expanded?
Thanks
Re: How to get names of files in a project selected In Script Explorer? [message #33129 is a reply to message #32952] Tue, 07 October 2008 07:24 Go to previous message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
Hi Pawan,

After you have acquired IModelElement (IScriptProject extend it) you can
use

void accept(IModelElementVisitor visitor) throws ModelException

method to iterate over the children elements.

Hope this helps.

Regards,
Alex

Pawan wrote:
> Hi
> Is there any way to get the names of files present in a project selected
> in Script Explorer, if the project name node is not expanded?
> Thanks
>
Previous Topic:compilation unit vs. working copy
Next Topic:Type Hierarchy features
Goto Forum:
  


Current Time: Thu Nov 27 14:53:52 GMT 2014

Powered by FUDForum. Page generated in 0.02855 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software