예제 #1
0
  @CalledInAwt
  public void execute() {
    FileDocumentManager.getInstance().saveAllDocuments();

    final List<TaskDescriptor> tasks = new LinkedList<TaskDescriptor>();
    tasks.add(new MyInitChecks());
    tasks.add(new SourceUrlCorrection());
    tasks.add(new CheckRepositorySupportsMergeinfo());

    myContinuation.run(tasks);
  }
 @AsynchronousExecution
 public void unshelveChangeList(
     final ShelvedChangeList changeList,
     @Nullable final List<ShelvedChange> changes,
     @Nullable final List<ShelvedBinaryFile> binaryFiles,
     @Nullable final LocalChangeList targetChangeList,
     boolean showSuccessNotification) {
   final Continuation continuation =
       Continuation.createForCurrentProgress(myProject, true, "Unshelve changes");
   final GatheringContinuationContext initContext = new GatheringContinuationContext();
   scheduleUnshelveChangeList(
       changeList,
       changes,
       binaryFiles,
       targetChangeList,
       showSuccessNotification,
       initContext,
       false);
   continuation.run(initContext.getList());
 }