fileIcon_.setResource(fileTypeRegistry.getIconForFile(fsItem));
headerLabel_.setText(filename1);
// if the file is text file then show a view link for it
FileType fileType = fileTypeRegistry.getTypeForFile(fsItem);
boolean showLink = !suppressViewLink
&& fileType != null
&& fileType instanceof TextFileType;
if (showLink)
{