20 package org.sleuthkit.autopsy.commonpropertiessearch;
 
   22 import java.util.List;
 
   23 import org.openide.nodes.ChildFactory;
 
   24 import org.openide.nodes.Children;
 
   25 import org.openide.nodes.Node;
 
   26 import org.openide.nodes.Sheet;
 
   27 import org.openide.util.NbBundle;
 
   47         "CommonAttributeValueNode.CommonAttributeValueNode.format=Value: %s" 
   55         super(Children.create(
 
   56                 new FileInstanceNodeFactory(data), 
true));
 
   62         if (type == null || type.getId() == FILES_TYPE_ID) {
 
   63             this.setDisplayName(data.getTokenFileName());
 
   65             this.setDisplayName(String.format(Bundle.CommonAttributeValueNode_CommonAttributeValueNode_format(), this.
value));
 
   67         this.setIconBaseWithExtension(
"org/sleuthkit/autopsy/images/fileset-icon-16.png"); 
 
   75     int getCommonFileCount() {
 
   88     String getDataSources() {
 
  102         "ValueNode.createSheet.noDescription= " 
  106         Sheet sheet = 
new Sheet();
 
  107         Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
 
  108         if (sheetSet == null) {
 
  109             sheetSet = Sheet.createPropertiesSet();
 
  113         final String NO_DESCR = Bundle.ValueNode_createSheet_noDescription();
 
  115         sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_pathColLbl(), Bundle.CommonFilesSearchResultsViewerTable_pathColLbl(), NO_DESCR, 
""));
 
  116         sheetSet.put(
new NodeProperty<>(Bundle.CommonFilesSearchResultsViewerTable_dataSourceColLbl(), Bundle.CommonFilesSearchResultsViewerTable_dataSourceColLbl(), NO_DESCR, this.getDataSources()));
 
  123         return visitor.
visit(
this);
 
  133         return getClass().getName();
 
  140     static class FileInstanceNodeFactory 
extends ChildFactory<AbstractCommonAttributeInstance> {
 
  145             this.descendants = descendants;
 
  149         protected boolean createKeys(List<AbstractCommonAttributeInstance> list) {
 
  154                 acai.getAbstractFile();
 
  161         protected Node[] createNodesForKey(AbstractCommonAttributeInstance searchResult) {
 
  162             return searchResult.generateNodes();
 
CommonAttributeValueNode(CommonAttributeValue data, CorrelationAttributeInstance.Type type)
Collection< AbstractCommonAttributeInstance > getInstances()
Set< String > getDataSources()
T visit(DataSourcesNode in)
final int commonFileCount
static final int FILES_TYPE_ID