Package org.eclipse.core.runtime

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


    // respond to delta
    if (m_delta != null) {
      if (Activator.getStore().getBoolean(Constants.P_BUILDER_GENERATE_ASYNC)) {
        monitor.beginTask("Building Remote Service's...", 2);
        //
        monitor.subTask("Looking for RemoteService Files");
        findRemoteServiceFiles();
        monitor.worked(1);
        //
        monitor.subTask("Updating RemoteService's Async and Impl parts");
        updateRemoteServices();
View Full Code Here


        //
        monitor.subTask("Looking for RemoteService Files");
        findRemoteServiceFiles();
        monitor.worked(1);
        //
        monitor.subTask("Updating RemoteService's Async and Impl parts");
        updateRemoteServices();
        monitor.worked(1);
      }
      {
        monitor.beginTask("Checking *.GWT.XML modifications...", 1);
View Full Code Here

      SynchronousBundleListener bundleListener = new StartupProgressBundleListener(
          progressMonitor, (int) (expectedProgressCount * cutoff));
      WorkbenchPlugin.getDefault().addBundleListener(bundleListener);
      try {
        runnable.run();
        progressMonitor.subTask(WorkbenchMessages.Startup_Done);
        int remainingWork = expectedProgressCount
            - Math.min(progressCount,
                (int) (expectedProgressCount * cutoff));
        progressMonitor.worked(remainingWork);
        progressMonitor.done();
 
View Full Code Here

    // now, rewrite all the IDs
    IProgressMonitor sub = new SubProgressMonitor(monitor, 50);
    sub.beginTask("Rewriting IDs", count);

    Set<String> existingIDs = new HashSet<String>();
    sub.subTask("Rewriting existing IDs");
    {
      // first the root InternetApplication
      if (model instanceof GeneratedElement) {
        GeneratedElement e = (GeneratedElement) model;
       
View Full Code Here

  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

   
    if (monitor.isCanceled())
      return Status.CANCEL_STATUS;
   
    // save it
    monitor.subTask("Saving");
    loadedModel.eResource().save(getSaveOptions());
   
    // finished
    monitor.done();
   
View Full Code Here

        if (progressMonitor == null)
        {
            progressMonitor = new NullProgressMonitor();
        }
       
        progressMonitor.subTask(
            WebappMessages.getString("WarBuilder.message.createwar.monitor"));
        this.webapp.loadValues();
        File outputWar = getOutputWar();
        File userWebFilesDir = getUserWebFilesDir();
        File userWebXML = getWebXML(userWebFilesDir);
View Full Code Here

            monitor = new NullProgressMonitor();
        }

        IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 1);
        subMonitor.beginTask(LaunchingMessages.StandardVMDebugger_Launching_VM____1, 4);
        subMonitor.subTask(LaunchingMessages.StandardVMDebugger_Finding_free_socket____2);

        int port= SocketUtil.findFreePort();
        if (port == -1) {
            abort(LaunchingMessages.StandardVMDebugger_Could_not_find_a_free_socket_for_the_debugger_1, null, IJavaLaunchConfigurationConstants.ERR_NO_SOCKET_AVAILABLE);
        }
View Full Code Here

        // check for cancellation
        if (monitor.isCanceled()) {
            return;
        }

        subMonitor.subTask(LaunchingMessages.StandardVMDebugger_Constructing_command_line____3);

        String program= constructProgramString(config);

        List arguments= new ArrayList(12);
View Full Code Here

        if (monitor.isCanceled()) {
            return;
        }

        subMonitor.worked(1);
        subMonitor.subTask(LaunchingMessages.StandardVMDebugger_Starting_virtual_machine____4);

        ListeningConnector connector= getConnector();
        if (connector == null) {
            abort(LaunchingMessages.StandardVMDebugger_Couldn__t_find_an_appropriate_debug_connector_2, null, IJavaLaunchConfigurationConstants.ERR_CONNECTOR_NOT_AVAILABLE);
        }
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.