Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.SubProgressMonitor.subTask()


            spm.beginTask("Getting relationship definitions...", fields.length);
            for (Field element : fields) {
                if (spm != null) {
                    spm.worked(1);
                }
                spm.subTask("Getting " + element.getLabel() + " definition...");
                TreeItem thisChild =
                        createTreeItemChild(childFields, element.getLabel(), true, 0, false, childFieldType);
                thisChild.setData(FQN, fieldPrefix + "." + element.getName());
                thisChild.setData("field", element);
            }
View Full Code Here


    // Trigger reloading and reload before validation infrastructure kicks in
    if (configs.size() > 0) {
      IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 1);
      subMonitor.beginTask("Initializing Spring Model", configs.size());
      for (IBeansConfig config : configs) {
        subMonitor.subTask("Loading '" + config.getElementResource().getFullPath().toString().substring(1)
            + "'");
       
        if (config instanceof IReloadableBeansConfig) {
          ((IReloadableBeansConfig) config).reload();
          config.getBeans();
View Full Code Here

      IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 5);
      checkCancelled(subMonitor);
      subMonitor.beginTask("Starting Spring Script: "+scriptFile.getName(), 5);
      subMonitor.worked(1);
      checkCancelled(subMonitor);
      subMonitor.subTask("Configuring launch parameters...");
 
      IVMRunner runner;
      IVMInstall vm = verifyVMInstall(conf);
      runner = vm.getVMRunner(mode);
 
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.