@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()); }
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); }