コード例 #1
0
  // called NOT under ChangeListManagerImpl lock
  public void notifyStartProcessingChanges(final VcsModifiableDirtyScope scope) {
    final Collection<Change> oldChanges = new ArrayList<Change>();
    for (LocalChangeList list : myMap.values()) {
      final Collection<Change> affectedChanges =
          ((LocalChangeListImpl) list).startProcessingChanges(myProject, scope);
      if (!affectedChanges.isEmpty()) {
        oldChanges.addAll(affectedChanges);
      }
    }
    for (Change change : oldChanges) {
      myIdx.changeRemoved(change);
    }
    // scope should be modified for correct moves tracking
    correctScopeForMoves(scope, oldChanges);

    myLocallyDeleted.cleanAndAdjustScope(scope);
    mySwitchedHolder.cleanAndAdjustScope(scope);
  }
コード例 #2
0
 public void notifyVcsStarted(AbstractVcs vcs) {
   myLocallyDeleted.notifyVcsStarted(vcs);
   mySwitchedHolder.notifyVcsStarted(vcs);
 }
コード例 #3
0
 public boolean isContainedInLocallyDeleted(final FilePath filePath) {
   return myLocallyDeleted.isContainedInLocallyDeleted(filePath);
 }
コード例 #4
0
 public void addLocallyDeleted(final LocallyDeletedChange change) {
   myLocallyDeleted.addFile(change);
 }
コード例 #5
0
 public DeletedFilesHolder getLocallyDeleted() {
   return myLocallyDeleted.copy();
 }