You want:
ResourcesPlugin.getWorkspace().getRoot().getLocation().toString();
質問
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