path[0]= dialog.getOutputLocation();
fOutputLocation= dialog.getOutputLocation();
    public static IOutputLocationQuery getDefaultOutputLocationQuery(final Shell shell, final IPath projectOutputLocation, final List classpathList) {        return new IOutputLocationQuery() {            final boolean[] result= new boolean[1];            final IPath[] path= new IPath[1];            public boolean doQuery(final CPListElement element) {                Display.getDefault().syncExec(new Runnable() {                    public void run() {                        Shell sh= shell != null ? shell : JavaPlugin.getActiveWorkbenchShell();                        OutputLocationDialog dialog= new OutputLocationDialog(sh, element, classpathList);                        result[0]= dialog.open() == Window.OK;                        path[0]= dialog.getOutputLocation();                    }                });                return result[0];            }                        public IPath getOutputLocation() {                return path[0];            }                        public ClasspathModifierQueries.IOutputFolderQuery getOutputFolderQuery(IPath p) {                return getDefaultFolderQuery(shell, projectOutputLocation);            }        };    }