コード例 #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);
  }
コード例 #2
0
 @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());
 }
コード例 #3
0
  public QuickMerge(
      Project project,
      String sourceUrl,
      WCInfo wcInfo,
      final String branchName,
      final VirtualFile root) {
    myProject = project;
    myBranchName = branchName;
    myRoot = root;
    myVcs = SvnVcs.getInstance(project);
    mySourceUrl = sourceUrl;
    myWcInfo = wcInfo;
    myTitle = "Merge from " + myBranchName;

    myContinuation = Continuation.createFragmented(myProject, true);
  }