protected boolean isTemplateViewProvider(FileViewProvider viewProvider) {
    return viewProvider.getClass() == myTemplateFileViewProviderClass;
  }
protected boolean isTemplateViewProvider(FileViewProvider viewProvider)