Examples of PythonSelectionLibrariesDialog


Examples of org.python.pydev.ui.pythonpathconf.PythonSelectionLibrariesDialog

            List<String> split = StringUtils.split(s, '_');
            if (split.size() > 0) {
                mapStartToLib.put(split.get(0), s);
            }
        }
        PythonSelectionLibrariesDialog runnable = new PythonSelectionLibrariesDialog(new ArrayList<String>(
                mapStartToLib.values()), libFoldersForPythonpath, false);
        runnable.setMsg("Please select the libraries you want in your PYTHONPATH.");

        List<String> selection;
        if (selectLibraries != null) {
            selection = selectLibraries.call(new ArrayList<String>(mapStartToLib.values()));
        } else {
            RunInUiThread.sync(runnable);
            boolean result = runnable.getOkResult();
            if (result == false) {
                //Canceled by the user
                return false;
            }
            selection = runnable.getSelection();
        }

        //If we got here, all is OK, let's go on and show the templateNamesAndDescriptions that'll be added to the PYTHONPATH (as external folders)
        variableSubstitution.put(AppEngineConstants.GOOGLE_APP_ENGINE_VARIABLE, loc.getAbsolutePath());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.