Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Validating the workspace Path(I want to validate the workspace location path entered by the user during the eclipse launch.)
Validating the workspace Path [message #932763] Thu, 04 October 2012 08:04
Amol Deshpande is currently offline Amol Deshpande
Messages: 6
Registered: February 2012
Junior Member
Hi,
i have extended the eclipse functionality to create our own IDE.
1 - when i launch the "eclipse.exe" eclipse, Validation for admin rights is executed.
2 - I don't have admin rights, so i continue without admin rights.
3 - Then the Dialog box for selection of the Workspace location pops up.Now this is the place i am stuck. Consider the following scenario :
a. I don't have admin rights.
b. I don't have read and write privileges for the "C:\Program Files " location.
c. if i set the path of the workspace to C:\program Files, it is allowing me to create the workspace.

I want to validate the workspace location path given by the user during run time.
There is one method in the Workspace class called validateLinkLocationURI(IResource resource, URI location);
but doesn't suffice.

can anyone guide me through?
thanks in advance.
Previous Topic:How to get BundleContext of a plugin?
Next Topic:Addding plugin to Marketplace
Goto Forum:
  


Current Time: Sat Aug 02 00:33:08 EDT 2014

Powered by FUDForum. Page generated in 0.01890 seconds