Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » finding the path of the selected file
finding the path of the selected file [message #717819] Mon, 22 August 2011 13:08
Mohammad  is currently offline Mohammad
Messages: 1
Registered: August 2011
Junior Member
Hello,

I need to develop an eclipse plug-in which takes the path of a text file and calls a c++ binary file (Linux platform). I need the path of the file so that I can make a system call of the form: ./run -i "path" (my binary is run).
What I need is to be able to grab the path of the file that I'm currently seeing in eclipse and then plug it into my Linux command in the system call and then display the output. Can someone help me with that? I mean how can I get the path of the file I am seeing in eclipse. Or at least the path of the file currently selected in workbench.

Thanx
Previous Topic:Custom Text Editor Plugin
Next Topic:Problem deploying plugin
Goto Forum:
  


Current Time: Fri Oct 24 12:47:15 GMT 2014

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

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