Examples of update()


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

          private void updateUi() {
            Display display = Display.getDefault();
            try {
              if (!isCanceled() && !display.isDisposed() && dialog.getShell() != null && !dialog.getShell().isDisposed()) {
                display.readAndDispatch();
                display.update();
              }
            }

            /*
             * Ensure to catch any Exception here and disable the update of the
View Full Code Here

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

      ftpProfilePicker.setButtonText("Profiles");


      testFtpProfileShell.open();
      testFtpProfileShell.update();


      while (!testFtpProfileShell.isDisposed()) {
        if (!display.readAndDispatch())
          display.sleep();
View Full Code Here

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

                    return;
                  }
                  Tree parent = treeItem.getParent();
                  parent.redraw(hitArea.x, hitArea.y + treeItem.getBounds().y,
                      hitArea.width, hitArea.height, true);
                  parent.update();
                }
              }
            });
          }
        };
View Full Code Here

Examples of org.eclipse.ui.IDecoratorManager.update()

   
   
    if (_directAccessDefaultChanged) {
      IDecoratorManager decoratorManager = Activator.getDefault().getWorkbench().getDecoratorManager();
          if (decoratorManager.getEnabled(ExternalResourceIds.DECORATOR_TML_FILE)) {
            decoratorManager.update(ExternalResourceIds.DECORATOR_TML_FILE);              
          }
    }
    _directAccessDefaultChanged = false;
  }
View Full Code Here

Examples of org.eclipse.ui.INavigationLocation.update()

          NavigationHistoryEntry newCurrent = (NavigationHistoryEntry) perTabHistory.forwardEntries
            .removeFirst();
          if (perTabHistory.currentEntry != null) {
            final INavigationLocation location = perTabHistory.currentEntry.location;
            if (location!=null) {
              location.update();
            }
            perTabHistory.backwardEntries.addFirst(perTabHistory.currentEntry);
          }
          perTabHistory.currentEntry = newCurrent;
              try {
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.update()

      String msg = UIPlugin.getLocalString(msgKey);
      msgManager.addMessage(msgKey, msg, null, IMessageProvider.ERROR);
    }
    else
      msgManager.removeMessage(msgKey);
    msgManager.update();
  }

  void showSyntaxError(boolean show) {
    showGeneralError(show, "_UI_Syntax_Error");
  }
View Full Code Here

Examples of org.eclipse.ui.internal.editors.quickdiff.RestoreAction.update()

        TextEditorAction revertDeletion= new RestoreAction(this, true);

        revertSelection.update();
        revertBlock.update();
        revertLine.update();
        revertDeletion.update();

        // only add block action if selection action is not enabled
        if (revertSelection.isEnabled())
          menu.appendToGroup(ITextEditorActionConstants.GROUP_RESTORE, revertSelection);
        else if (revertBlock.isEnabled())
View Full Code Here

Examples of org.eclipse.ui.internal.editors.quickdiff.RevertBlockAction.update()

        TextEditorAction revertSelection= new RevertSelectionAction(this, true);
        TextEditorAction revertBlock= new RevertBlockAction(this, true);
        TextEditorAction revertDeletion= new RestoreAction(this, true);

        revertSelection.update();
        revertBlock.update();
        revertLine.update();
        revertDeletion.update();

        // only add block action if selection action is not enabled
        if (revertSelection.isEnabled())
View Full Code Here

Examples of org.eclipse.ui.internal.editors.quickdiff.RevertLineAction.update()

        TextEditorAction revertBlock= new RevertBlockAction(this, true);
        TextEditorAction revertDeletion= new RestoreAction(this, true);

        revertSelection.update();
        revertBlock.update();
        revertLine.update();
        revertDeletion.update();

        // only add block action if selection action is not enabled
        if (revertSelection.isEnabled())
          menu.appendToGroup(ITextEditorActionConstants.GROUP_RESTORE, revertSelection);
View Full Code Here

Examples of org.eclipse.ui.internal.editors.quickdiff.RevertSelectionAction.update()

        TextEditorAction revertLine= new RevertLineAction(this, true);
        TextEditorAction revertSelection= new RevertSelectionAction(this, true);
        TextEditorAction revertBlock= new RevertBlockAction(this, true);
        TextEditorAction revertDeletion= new RestoreAction(this, true);

        revertSelection.update();
        revertBlock.update();
        revertLine.update();
        revertDeletion.update();

        // only add block action if selection action is not enabled
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.