コード例 #1
0
 private void execAsync(Runnable process, TaskInfo task, Frame frame) {
   ApplicationManagerEx.getApplicationEx()
       .runProcessWithProgressSynchronously(
           process,
           task.getTitle(),
           task.isCancellable(),
           project,
           SwingUtilities.getRootPane(frame));
 }
コード例 #2
0
 private Object startCommand(TaskInfo task) {
   return ((CommandProcessorEx) CommandProcessor.getInstance())
       .startCommand(project, task.getTitle(), null, UndoConfirmationPolicy.REQUEST_CONFIRMATION);
 }