public String getDeployFolder() { return ServerUtil.makeGlobal( getServer().getRuntime(), new Path(getAttribute(DEPLOY_DIRECTORY, ""))) .toString(); //$NON-NLS-1$ }
public String openBrowseDialog(IServerAttributes server, String original) { DirectoryDialog d = new DirectoryDialog(new Shell()); String filterPath = ServerUtil.makeGlobal(server.getRuntime(), new Path(original)).toString(); d.setFilterPath(filterPath); return d.open(); }