Package org.eclipse.jdt.internal.ui.preferences

Examples of org.eclipse.jdt.internal.ui.preferences.ProjectSelectionDialog.open()


                        projects.add(p[i]);
                      }
                      ProjectSelectionDialog dialog = new ProjectSelectionDialog(Display.getCurrent().getActiveShell(), projects);
                      dialog.setTitle(Messages.AddMacroLibrary_Title);
                      dialog.setMessage(Messages.AddMacroLibrary_Message);
                      int rtn = dialog.open();
                      if (rtn == IDialogConstants.OK_ID) {
                        if (dialog.getFirstResult() instanceof IJavaProject) {
                          project = ((IJavaProject) dialog.getFirstResult()).getProject();
                        }
                        else {
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.