getWorkspaceFolder theia plugin

i was creating a plugin to get the workspace folders but i really dont understand how to use this function does anyone how to use this

[original thread by tomevision]

What do you want to achieve?