Examples of subTask()


Examples of org.jboss.forge.addon.ui.progress.UIProgressMonitor.subTask()

         else
         {
            id = AddonId.from(buildCoordinate.getGroupId() + ":" + buildCoordinate.getArtifactId(),
                     buildCoordinate.getVersion());
         }
         progressMonitor.subTask("Removing previous addon installation (" + id + ")");
         RemoveRequest removeRequest = addonManager.remove(id);
         removeRequest.perform();
         Addons.waitUntilStopped(registry.getAddon(id));
         progressMonitor.worked(1);
View Full Code Here

Examples of org.jboss.forge.addon.ui.progress.UIProgressMonitor.subTask()

         RemoveRequest removeRequest = addonManager.remove(id);
         removeRequest.perform();
         Addons.waitUntilStopped(registry.getAddon(id));
         progressMonitor.worked(1);

         progressMonitor.subTask("Installing addon (" + id + ")");
         InstallRequest installRequest = addonManager.install(id);
         installRequest.perform();
         progressMonitor.done();
         return Results.success("Addon " + id + " was installed successfully.");
      }
View Full Code Here

Examples of org.openiaml.model.inference.InfiniteSubProgressMonitor.subTask()

  public IStatus doExecute(IFile o, IProgressMonitor monitor2) throws InferenceException, FileNotFoundException, IOException, CoreException {
    IProgressMonitor monitor = new InfiniteSubProgressMonitor(monitor2, 100);
   
    monitor.beginTask("Removing phantom edges: '" + o.getName() + "'", 60);
   
    monitor.subTask("Loading model");
    try {
      loadedModel = ModelLoader.load(o);
    } catch (ModelLoadException e) {
      return errorStatus(e);
    }
View Full Code Here

Examples of org.openstreetmap.josm.gui.progress.ProgressMonitor.subTask()

            }
        });

        Collection<PluginInformation> pluginsToLoad = PluginHandler.buildListOfPluginsToLoad(splash,monitor.createSubTaskMonitor(1, false));
        if (!pluginsToLoad.isEmpty() && PluginHandler.checkAndConfirmPluginUpdate(splash)) {
            monitor.subTask(tr("Updating plugins"));
            pluginsToLoad = PluginHandler.updatePlugins(splash, null, monitor.createSubTaskMonitor(1, false), false);
        }

        monitor.indeterminateSubTask(tr("Installing updated plugins"));
        PluginHandler.installDownloadedPlugins(true);
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.