I am doing to study about PDE(Eclipse Plugin Project).
I need to get workspace path.
My text widget(swt) should to be set current workspace path.
How to get workspace path in eclipse?
You want:
ResourcesPlugin.getWorkspace().getRoot().getLocation().toString();
File -> Switch Workspace -> Other the shown directory is your current workspace
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With