Package org.eclipse.jface.operation

Examples of org.eclipse.jface.operation.IRunnableWithProgress.run()


          projectName,
          /*codeset*/
          codeset
      ));
     
      importOp.run(new NullProgressMonitor());
 
      //TODO: we are not checking if there are extra projects beyond the expected one.
      IProject project = StsTestUtil.getProject(projectName);
      assertNoErrors(project);
    } catch (Throwable e) {
View Full Code Here


      String projectName = importConf.getProjectName();
      final IRunnableWithProgress importOp = buildType.getImportStrategy().createOperation(importConf);
//      buildJob(new GradleRunnable("import "+guide.getName() + " " + codeset.getName() + " "+buildType) {
//        @Override
//        public void doit(IProgressMonitor mon) throws Exception {
          importOp.run(new NullProgressMonitor());
//        }
//      });
 
      //TODO: we are not checking if there are extra projects beyond the expected one.
      IProject project = getProject(projectName);
View Full Code Here

      IRunnableWithProgress oper = getImportStrategy().createOperation(ImportUtils.importConfig(
          new Path(location.getValue()),
          projectNameValue,
          cs
      ));
      oper.run(new SubProgressMonitor(mon, 3));

      IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectNameValue);
      addToWorkingSets(project, new SubProgressMonitor(mon, 1));

    } catch (IOException e) {
View Full Code Here

        } else {
          IRunnableWithProgress oper = bt.getImportStrategy().createOperation(ImportUtils.importConfig(
              g,
              cs
          ));
          oper.run(new SubProgressMonitor(mon, 1));
        }
      }
      if (enableOpenHomePage.getValue()) {
        openHomePage();
      }
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.