Examples of BusyIndicatorRunnableContext


Examples of org.eclipse.dltk.ui.util.BusyIndicatorRunnableContext

  public RutaBuildpathPropertyPage() {
  }

  @Override
  protected BuildpathsBlock createBuildPathBlock(IWorkbenchPreferenceContainer pageContainer) {
    return new RutaBuildPathsBlock(new BusyIndicatorRunnableContext(), this, getSettings().getInt(
            INDEX), false, pageContainer);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.util.BusyIndicatorRunnableContext

    super(mainPage);
  }

  @Override
  protected BuildpathsBlock createBuildpathBlock(IStatusChangeListener listener) {
    return new RutaBuildPathsBlock(new BusyIndicatorRunnableContext(), listener, 0,
            useNewSourcePage(), null);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.util.BusyIndicatorRunnableContext

    super(mainPage);
  }

  @Override
  protected BuildpathsBlock createBuildpathBlock(IStatusChangeListener listener) {
    return new RutaBuildPathsBlock(new BusyIndicatorRunnableContext(), listener, 0,
            useNewSourcePage(), null);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.util.BusyIndicatorRunnableContext

  public RutaBuildpathPropertyPage() {
  }

  @Override
  protected BuildpathsBlock createBuildPathBlock(IWorkbenchPreferenceContainer pageContainer) {
    return new RutaBuildPathsBlock(new BusyIndicatorRunnableContext(), this, getSettings()
            .getInt(INDEX), false, pageContainer);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.util.BusyIndicatorRunnableContext

  }

  @Override
  protected BuildpathsBlock createBuildPathBlock(
      IWorkbenchPreferenceContainer pageContainer) {
    return new PHPBuildPathsBlock(new BusyIndicatorRunnableContext(), this,
        getSettings().getInt(INDEX), false, pageContainer);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.util.BusyIndicatorRunnableContext

  public IncludePathProperties() {
  }

  protected AbstractIncludepathsBlock createBuildPathBlock(
      IWorkbenchPreferenceContainer pageContainer) {
    return new PHPIncludePathsBlock(new BusyIndicatorRunnableContext(),
        this, getSettings().getInt(INDEX), false, pageContainer);
  }
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext

    browsePackage = new Button(classGroup, SWT.PUSH);
    browsePackage.setText(ClickPlugin.getString("action.browse"));
    browsePackage.addSelectionListener(new SelectionAdapter(){
      public void widgetSelected(SelectionEvent evt){
        IRunnableContext context= new BusyIndicatorRunnableContext();
        int style = PackageSelectionDialog.F_REMOVE_DUPLICATES |
                    PackageSelectionDialog.F_SHOW_PARENTS |
                    PackageSelectionDialog.F_HIDE_DEFAULT_PACKAGE;

        JavaSearchScope scope = new JavaSearchScope();
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext

        ISchedulingRule schedulingRule = ResourcesPlugin.getWorkspace()
                .getRoot();
        PtolemySortMembersOperation operation = new PtolemySortMembersOperation(
                compilationUnit, null, false);
        try {
            BusyIndicatorRunnableContext context = new BusyIndicatorRunnableContext();
            PlatformUI.getWorkbench().getProgressService().runInUI(context,
                    new WorkbenchRunnableAdapter(operation, schedulingRule),
                    schedulingRule);
        } catch (InvocationTargetException e) {
            OutputConsole.outputError(e.getMessage());
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext

   
    browsePackage = new Button(classGroup, SWT.PUSH);
    browsePackage.setText(ClickPlugin.getString("action.browse"));
    browsePackage.addSelectionListener(new SelectionAdapter(){
      public void widgetSelected(SelectionEvent evt){
        IRunnableContext context= new BusyIndicatorRunnableContext();
        int style = PackageSelectionDialog.F_REMOVE_DUPLICATES |
                    PackageSelectionDialog.F_SHOW_PARENTS |
                    PackageSelectionDialog.F_HIDE_DEFAULT_PACKAGE;
       
        JavaSearchScope scope = new JavaSearchScope();
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext

    IJavaProject project = invocationContext.getCompilationUnit().getJavaProject();
    IClasspathEntry entry = BuildPathSupport.getTestNGClasspathEntry();
    if (entry != null) {
      Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
      try {
        addToClasspath(shell, project, entry, new BusyIndicatorRunnableContext());
      }
      catch (JavaModelException e) {
        ErrorDialog.openError(shell,
                              ResourceUtil.getString("AddTestNGLibraryProposal.error"), //$NON-NLS-1$
                              ResourceUtil.getString("AddTestNGLibraryProposal.cannotAdd"), //$NON-NLS-1$
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.