質問

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top