|Validating the workspace Path [message #932763]
||Thu, 04 October 2012 12:04
| Amol Deshpande
Registered: February 2012
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.
Powered by FUDForum
. Page generated in 0.01613 seconds