Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Project Path in the target directory(To find the paths of the opened projects in the Project Explorer)
Project Path in the target directory [message #658581] Wed, 09 March 2011 06:16 Go to next message
Niddhi  is currently offline Niddhi Friend
Messages: 5
Registered: September 2010
Junior Member
Hi,

Please help me..i m stuck for almost a week now..

I am developing a Eclipse Plugin in Java which has 2 options:
1. To open a new project through code.
2. To do some processing on the project already opened.
First part is done.
For the second option, if the user directly chooses this option, then i must know the path of the opened project in the Project Explorer through java code.

Kindly let me know how to find the path of the projects opened in the Project Explorer Window of the running Workbench through the java code...

Any help/hint is appreciated..

Thanks,
Niddhi
Re: Project Path in the target directory [message #658671 is a reply to message #658581] Wed, 09 March 2011 12:45 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 03/09/2011 01:16 AM, Niddhi wrote:
> Kindly let me know how to find the path of the projects opened in the
> Project Explorer Window of the running Workbench through the java code...

See
http://www.eclipse.org/articles/Article-WorkbenchSelections/ article.html
for getting the selection.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Highlighting text
Next Topic:Main menu drop down event .
Goto Forum:
  


Current Time: Fri Apr 26 04:54:08 GMT 2024

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

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

Back to the top