public boolean isCheckingOutFileInBackground(final IFile file){
synchronized (backgroundFiles) {
    return backgroundFiles.get(file) != null;
  }
}

public boolean isCheckingOutFileInBackground ( final IFile file ) { synchronized ( backgroundFiles ) { return backgroundFiles . get ( file ) != null ; } }
tests whether the specified file is currenlty being checked out by a background thread .
