Package org.eclipse.core.runtime

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


         
          chart = ChartCreator.createPieChart(series, numberOfCategories);
          chartPanel.setChart(chart);
       
        pm.done();
      }
      catch(SQLException exc) {
        MessageDialog.openWarning(display.getActiveShell(), "Error", "Cannot visualise the data in Chart Visualiser.\n");
        if(pm!=null)
          pm.done();
View Full Code Here


        pm.done();
      }
      catch(SQLException exc) {
        MessageDialog.openWarning(display.getActiveShell(), "Error", "Cannot visualise the data in Chart Visualiser.\n");
        if(pm!=null)
          pm.done();
      }
      catch(Exception exc) {
        exc.printStackTrace();
      }
    }
View Full Code Here

          srcmonitor.beginTask("", srcs.length); //$NON-NLS-1$
          for (int j = 0; j < srcs.length; j++) {
            srcs[j].extract(new SubProgressMonitor(srcmonitor, 1));
            sourcepath.add(srcs[j].getPath().toOSString());
          }
          srcmonitor.done();
        } else {
          monitor.worked(1);
        }
      } else {
        monitor.worked(1);
View Full Code Here

        CoreException exception = new CoreException(Status.CANCEL_STATUS);
        exception.setStackTrace(e.getStackTrace());
        throw exception;
      }
    }
    progressMonitor.done();
  }
 
  protected void createTypeMembers(IType type, NewTypeWizardPage.ImportsManager imports, IProgressMonitor monitor) throws CoreException {
    boolean doMain = isCreateMain();
    boolean doConstr = isCreateConstructors();
View Full Code Here

    } else {
      subProgressMonitor = new SubProgressMonitor(progressMonitor, 100 * 1000);
    }
    IResourceDelta delta = resourceDelta;
    if (kind != IncrementalProjectBuilder.FULL_BUILD && kind != IncrementalProjectBuilder.CLEAN_BUILD && !projectNeedsAnUpdate(delta)) {
      subProgressMonitor.done();
      return;
    }
    getLogger().debug("<incremental build>");
    subProgressMonitor.beginTask("building WebObjects layout ...", 100);
    try {
View Full Code Here

        getLogger().debug("building structure took: " + (System.currentTimeMillis() - t0) + " ms");
        t0 = System.currentTimeMillis();
        subProgressMonitor.subTask("copying classes");
        jarBuild(delta, subProgressMonitor, getProject());
        getLogger().debug("copying classes took: " + (System.currentTimeMillis() - t0) + " ms");
        subProgressMonitor.done();
      }
    } catch (Exception up) {
      getLogger().log(up);
      throw up;
    }
View Full Code Here

                        VirtualMachine vm= runnable.getVirtualMachine();
                        if (vm != null) {
                            DroolsDebugModel.newDebugTarget(launch, vm, renderDebugTarget(config.getClassToLaunch(), port), process, true, false, config.isResumeOnStartup());
                            subMonitor.worked(1);
                            subMonitor.done();
                        }
                        return;
                    } catch (InterruptedIOException e) {
                        checkErrorMessage(process);
View Full Code Here

    } catch (CoreException e) {
      if (DLTKCore.DEBUG_PARSER) {
        e.printStackTrace();
      }
    }
    monitor.done();
  }

  private IPath[] generateResources(ModuleDeclaration moduleDeclaration, IPath outputPath,
          IContainer container, ISourceModule sourceModule) {
    List<IPath> result = new ArrayList<IPath>();
View Full Code Here

            } catch (IOException e) {
                e.printStackTrace();
            } catch (CoreException e) {
                e.printStackTrace();
            } finally {
                monitor.done();
                dialog.close();
            }
        }

        return null;
View Full Code Here

                    }
                } finally {
                    request.popMonitor().done();
                }
            } finally {
                monitor.done();
            }
        }
        return modulesToAnalyze;
    }
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.