Examples of run()


Examples of org.eclipse.ui.dialogs.PropertyDialogAction.run()

                        public void setSelection(ISelection selection)
                        {
                            // empty impl
                        }
                    });
            action.run();
        }
    }

    /*
     * @see org.eclipse.ui.texteditor.IUpdate#update()
View Full Code Here

Examples of org.eclipse.ui.internal.actions.NewWizardShortcutAction.run()

    IWorkbenchWindow window = PlatformUI.getWorkbench()
        .getActiveWorkbenchWindow();
    if (window != null) {
      NewWizardShortcutAction wizardAction = new NewWizardShortcutAction(
          window, wizardDescriptor);
      wizardAction.run();
    }
  }

  public String getId() {
    return wizardDescriptor.getId();
View Full Code Here

Examples of org.eclipse.ui.internal.cheatsheets.actions.CheatSheetCategoryBasedSelectionAction.run()

    String cheatSheetId = event.getParameter(PARAM_ID_CHEAT_SHEET_ID);

    if (cheatSheetId == null) {
      CheatSheetCategoryBasedSelectionAction action = new CheatSheetCategoryBasedSelectionAction();
      action.run();
    } else {
      OpenCheatSheetAction action = new OpenCheatSheetAction(cheatSheetId);
      action.run();
    }
View Full Code Here

Examples of org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run()

            status.merge(e.getStatus());
          }
        }
      };

      p.run(true, false, runnable);
    } catch (InvocationTargetException e) {
      status
          .merge(new Status(IStatus.ERROR,
              IDEWorkbenchPlugin.IDE_WORKBENCH, 1,
              IDEWorkbenchMessages.InternalError, e
View Full Code Here

Examples of org.eclipse.ui.intro.config.IIntroAction.run()

        try {
            if (actionObject instanceof IIntroAction) {
                IIntroAction introAction = (IIntroAction) actionObject;
                IIntroSite site = IntroPlugin.getDefault().getIntroModelRoot()
                    .getPresentation().getIntroPart().getIntroSite();
                introAction.run(site, parameters);
            } else if (actionObject instanceof IAction) {
                IAction action = (IAction) actionObject;
                action.run();

            } else if (actionObject instanceof IActionDelegate) {
View Full Code Here

Examples of org.eclipse.ui.progress.IJobRunnable.run()

                Job job = new Job(e.getKey())
                {
                    @Override
                    protected IStatus run(IProgressMonitor monitor)
                    {
                        return run.run(monitor);
                    }
                };
                job.schedule();
            }
View Full Code Here

Examples of org.eclipse.ui.progress.IProgressService.run()

  @Override
  public void run() {
    IProgressService progressService = PlatformUI.getWorkbench().getProgressService();

    try {
      progressService.run(true, false, mRunnable);
    } catch (InvocationTargetException e) {

      Status status = new Status(IStatus.ERROR, CasEditorPlugin.ID, 0, getRootCauseStackTrace(e),
              null);
View Full Code Here

Examples of org.eclipse.ui.wizards.datatransfer.ImportOperation.run()

    try {
      ImportOperation op = new ImportOperation(destPath, rootDir,
          structureProvider, new ImportOverwriteQuery(), files);
      op.setCreateContainerStructure(false);
      op.run(monitor);
    } catch (InterruptedException e) {
      // should not happen
    }
  }
View Full Code Here

Examples of org.eclipse.wb.internal.core.editor.actions.SwitchAction.run()

  }

  private static void switchToDesign(IEditorPart javaEditor) {
    SwitchAction switchAction = new SwitchAction();
    switchAction.setActiveEditor(null, javaEditor);
    switchAction.run();
  }
}
View Full Code Here

Examples of org.eclipse.wst.jsdt.ui.actions.OpenAction.run()

        // it's JS element, follow opening JS editor
        ScriptExplorerPart part = getPart();
        IViewSite viewSite = part.getViewSite();
        OpenAction openAction = new OpenAction(viewSite);
        if (openAction != null && openAction.isEnabled()) {
          openAction.run();
          return;
        }
      }
    }
    // use our action to do the open operation
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.