Page 1 of 1

Java Extensions - project directory

Posted: Thu Aug 09, 2012 3:29 pm
by jwalker
In a WorkspaceAccessPluginExtension, how can you get the directory of the current project that is opened?

Re: Java Extensions - project directory

Posted: Thu Aug 09, 2012 3:48 pm
by Radu
Hi,

You could try to use the API:

Code: Select all

ro.sync.exml.workspace.api.util.UtilAccess.expandEditorVariables(String, URL)
like:

Code: Select all

pluginWorkspaceAccess.getUtilAccess().expandEditorVariables("${pd}", null);
Regards,
Radu

Re: Java Extensions - project directory

Posted: Thu Aug 09, 2012 4:16 pm
by jwalker
That is exactly what I needed. Thanks!