Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Pls Help: How to get a selected file path?
Pls Help: How to get a selected file path? [message #1015872] Mon, 04 March 2013 04:35 Go to next message
Tea Mint is currently offline Tea MintFriend
Messages: 1
Registered: March 2013
Junior Member
I'm making an eclipse plugin which has a pop-up menu.
When I right click on some file, How can I get the path of selected file in Action class?

Please help me.
Thank you.
Re: Pls Help: How to get a selected file path? [message #1016758 is a reply to message #1015872] Thu, 07 March 2013 15:31 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 2013-03-07 03:18, Tea Mint wrote:
> I'm making an eclipse plugin which has a pop-up menu.
> When I right click on some file, How can I get the path of selected file
> in Action class?

Plugin-spy is your friend, see

http://scratsh.wordpress.com/2009/06/09/eclipse-3-5-plug-in-spy-and-menus/

HTH & Greetings from Bremen,

Daniel Krügler
Previous Topic:Set errormarks in File given by filename
Next Topic:Pls help, How to remove/hide some context menu item in my custom editor
Goto Forum:
  


Current Time: Sat Dec 20 03:05:04 GMT 2014

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

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