Вопрос

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