/** Switches the state of problem acceptance according to the value in the preference store. */
 protected void enableHandlingTemporaryProblems() {
   boolean enable = isHandlingTemporaryProblems();
   for (Iterator<?> iter = getFileInfosIterator(); iter.hasNext(); ) {
     FileInfo info = (FileInfo) iter.next();
     if (info.fModel instanceof IProblemRequestorExtension) {
       IProblemRequestorExtension extension = (IProblemRequestorExtension) info.fModel;
       extension.setIsHandlingTemporaryProblems(enable);
     }
   }
 }
  @Override
  protected FileInfo createFileInfo(Object element) throws CoreException {
    FileInfo info = super.createFileInfo(element);

    IAnnotationModel requestor = info.fModel;
    if (requestor instanceof IProblemRequestorExtension) {
      IProblemRequestorExtension extension = (IProblemRequestorExtension) requestor;
      extension.setIsActive(false);
      extension.setIsHandlingTemporaryProblems(isHandlingTemporaryProblems());
    }

    return info;
  }