20 package org.sleuthkit.autopsy.commonpropertiessearch;
 
   23 import java.util.ArrayList;
 
   24 import java.util.Arrays;
 
   25 import java.util.List;
 
   26 import javax.swing.Action;
 
   27 import org.openide.nodes.Children;
 
   28 import org.openide.nodes.Sheet;
 
   29 import org.openide.util.NbBundle;
 
   30 import org.openide.util.lookup.Lookups;
 
   52         super(Children.LEAF, Lookups.fixed(content));
 
   53         this.crFile = content;
 
   54         this.setDisplayName(
new File(this.crFile.getFilePath()).getName());
 
   64         List<Action> actionsList = 
new ArrayList<>();
 
   66         actionsList.addAll(Arrays.asList(super.getActions(
true)));
 
   68         return actionsList.toArray(
new Action[actionsList.size()]);
 
   73         return visitor.
visit(
this);
 
   90         Sheet sheet = 
new Sheet();
 
   91         Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
 
   93         if (sheetSet == null) {
 
   94             sheetSet = Sheet.createPropertiesSet();
 
  100         final String fullPath = centralRepoFile.
getFilePath();
 
  101         final File file = 
new File(fullPath);
 
  105         String name = file.getName();
 
  109         String parent = file.getParent();
 
  110         if (parent == null) {
 
  117         final String NO_DESCR = Bundle.CommonFilesSearchResultsViewerTable_noDescText();
 
  122              sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_pathColLbl(), Bundle.CommonFilesSearchResultsViewerTable_pathColLbl(), NO_DESCR, parent));
 
  123             sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_dataSourceColLbl(), Bundle.CommonFilesSearchResultsViewerTable_dataSourceColLbl(), NO_DESCR, dataSourceName));
 
  124             sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_caseColLbl(), Bundle.CommonFilesSearchResultsViewerTable_caseColLbl(), NO_DESCR, caseName));
 
  126              sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_localPath(), Bundle.CommonFilesSearchResultsViewerTable_localPath(), NO_DESCR, parent));
 
  127             sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_valueColLbl(), Bundle.CommonFilesSearchResultsViewerTable_valueColLbl(), NO_DESCR, value));
 
final AbstractCommonAttributeInstance.NODE_TYPE nodeType
String getCorrelationValue()
final CorrelationAttributeInstance crFile
CorrelationAttributeInstance getCorrelationAttributeInstance()
Action[] getActions(boolean context)
CorrelationDataSource getCorrelationDataSource()
T visit(DataSourceFilesNode in)
CorrelationCase getCorrelationCase()