Package org.python.pydev.ui.dialogs

Examples of org.python.pydev.ui.dialogs.ProjectSelectionDialog.open()


                public void run() {
                    ProjectSelectionDialog dialog = new ProjectSelectionDialog(PyAction.getShell(),
                            PythonNature.PYTHON_NATURE_ID);
                    dialog.setMessage("Choose the project that'll provide the interpreter and\n"
                            + "PYTHONPATH to be used in the launch of the file.");
                    if (dialog.open() == Window.OK) {
                        Object firstResult = dialog.getFirstResult();
                        if (firstResult instanceof IProject) {
                            found[0] = firstResult;
                        } else {
                            found[0] = new CoreException(new StatusInfo(IStatus.ERROR,
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.