19 package org.sleuthkit.autopsy.commonfilesearch;
 
   21 import java.util.Arrays;
 
   22 import java.util.HashSet;
 
   24 import org.openide.nodes.Sheet;
 
   25 import org.openide.util.NbBundle;
 
   55         super(fsContent, 
false);
 
   70         return visitor.
visit(
this);
 
   83         Sheet sheet = super.createSheet();
 
   84         Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
 
   85         Set<String> keepProps = 
new HashSet<>(Arrays.asList(
 
   92         for (Property<?> p : sheetSet.getProperties()) {
 
   93             if (!keepProps.contains(p.getName())) {
 
   94                 sheetSet.remove(p.getName());
 
   97         final String NO_DESCR = Bundle.CommonFilesSearchResultsViewerTable_noDescText();
 
  100              sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_pathColLbl(), Bundle.CommonFilesSearchResultsViewerTable_pathColLbl(), NO_DESCR, this.getContent().getParentPath()));
 
  101             sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_dataSourceColLbl(), Bundle.CommonFilesSearchResultsViewerTable_dataSourceColLbl(), NO_DESCR, this.
getDataSource()));
 
  102             sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_caseColLbl(), Bundle.CommonFilesSearchResultsViewerTable_caseColLbl(), NO_DESCR, 
caseName));
 
  104              sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_localPath(), Bundle.CommonFilesSearchResultsViewerTable_localPath(), NO_DESCR, this.getContent().getParentPath()));
 
  105             sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_valueColLbl(), Bundle.CommonFilesSearchResultsViewerTable_valueColLbl(), NO_DESCR, this.
value));
 
T visit(DataSourcesNode in)
CaseDBCommonAttributeInstanceNode(AbstractFile fsContent, String caseName, String dataSource, String value, AbstractCommonAttributeInstance.NODE_TYPE nodeType)
final AbstractCommonAttributeInstance.NODE_TYPE nodeType