Package runjettyrun.tabs.action.helper

Examples of runjettyrun.tabs.action.helper.ProjectSelectionDialog


   *
   * @see IAction#run()
   */
  public void run() {
    List<IJavaProject> projects = getPossibleAdditions();
    ProjectSelectionDialog dialog= new ProjectSelectionDialog(getShell(),projects);
    dialog.setTitle("Project Selection");
    MultiStatus status = new MultiStatus(Plugin.PLUGIN_ID, IJavaDebugUIConstants.INTERNAL_ERROR,
        "One or more exceptions occurred while adding projects.", null)//$NON-NLS-1$

    if (dialog.open() == Window.OK) {
      Object[] selections = dialog.getResult();

      List<IJavaProject> additions = new ArrayList<IJavaProject>(selections.length);
      for (int i = 0; i < selections.length; i++) {
        IJavaProject jp = (IJavaProject)selections[i];
          additions.add(jp);
View Full Code Here

TOP

Related Classes of runjettyrun.tabs.action.helper.ProjectSelectionDialog

Copyright © 2018 www.massapicom. 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.