Examples of update()


Examples of org.eclipse.jgit.transport.RemoteConfig.update()

    RefSpec refSpec = new RefSpec();
    refSpec = refSpec.setForceUpdate(true);
    refSpec = refSpec.setSourceDestination(Constants.R_HEADS + "*", dst + "/*"); //$NON-NLS-1$ //$NON-NLS-2$

    config.addFetchRefSpec(refSpec);
    config.update(clonedRepo.getConfig());

    clonedRepo.getConfig().save();

    // run the fetch command
    FetchCommand command = new FetchCommand(clonedRepo);
View Full Code Here

Examples of org.eclipse.osgi.service.runnable.StartupMonitor.update()

    try {
      while (true) {
        StartupMonitor monitor = (StartupMonitor) monitorTracker.getService();
        if (monitor != null) {
          try {
            monitor.update();
          } catch (Throwable e) {
            // ignore exceptions thrown by the monitor
          }
        }
        // can we acquire the semaphore yet?
View Full Code Here

Examples of org.eclipse.php.internal.debug.core.zend.debugger.DefaultExpressionsManager.update()

        .getExpressionManager();
    Expression expression = expressionManager.buildExpression(variable);

    // Get the value from the debugger
    debugTarget.getExpressionManager().getExpressionValue(expression, 1);
    expressionManager.update(expression, 1);
    return expression;
  }

  private class PHPWatchExpressionResult implements IWatchExpressionResult,
      IWatchExpressionResultExtension {
View Full Code Here

Examples of org.eclipse.php.internal.debug.core.zend.debugger.ExpressionsManager.update()

    if (fGlobal) {
      String exp = "$GLOBALS[\"" + fVariable.getFullName().substring(1) //$NON-NLS-1$
          + "\"]"; //$NON-NLS-1$
      variable = new DefaultExpression(exp);
    }
    expressionManager.update(variable, 1);
    fValue = variable.getValue();

    initChildren(fValue);
  }
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.update()

        gc.drawLine(caret.x, caret.y, caret.x, caret.y + size.y);
        gc.setForeground(originalForeground);
      }

      st.redraw();
      st.update();

      // draw new caret
      if (caret == null) {
        caret = newCaret;
      } else {
View Full Code Here

Examples of org.eclipse.swt.widgets.Canvas.update()

              if (canvas == null || canvas.isDisposed()) {
                return;
              }

              canvas.redraw();
              canvas.update();
              if (curSpinIndex == spinImages.length - 1) {
                curSpinIndex = 0;
              } else {
                curSpinIndex++;
              }
View Full Code Here

Examples of org.eclipse.swt.widgets.Combo.update()

          Storage.getInstance().setConfigured(true);
          arg0.display.getActiveShell().dispose();
        } else {
          combo.setBackground(Display.getCurrent().getSystemColor(
              SWT.COLOR_RED));
          combo.update();
          try {
            Thread.sleep(500);
          } catch (InterruptedException e) {
          }
          combo.setBackground(Display.getCurrent().getSystemColor(
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite.update()

  public void setText(String text)
  {
    shell.setText(text);
    Composite windowTitle = (Composite) titleArea.getData("title");
    windowTitle.redraw();
    windowTitle.update();
  }

  public void setBounds(Rectangle bounds)
  {
    shell.setBounds(bounds);
View Full Code Here

Examples of org.eclipse.swt.widgets.Control.update()

            //capture the an image of the "from" view
            Control from    = transitionable.getControl(lastItem);
            Rectangle size  = from.getBounds();
            Image imgFrom   = new Image(from.getDisplay(), size.width, size.height);
            GC gcfrom       = new GC(from);
            from.update();
            gcfrom.copyArea(imgFrom, 0, 0);
            gcfrom.dispose();
           
            //capture an image of the "to" view
            Control to  = transitionable.getControl(currentItem);
View Full Code Here

Examples of org.eclipse.swt.widgets.CoolItem.update()

            updateWrapIndices();

            // Update the sizes.
            for (int i = 0; i < items.length; i++) {
                IContributionItem item = items[i];
                item.update(SIZE);
            }

            // if the coolBar was previously locked then lock it
            if (relock) {
                coolBar.setLocked(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.