20 package org.sleuthkit.autopsy.commonfilesearch;
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.lookup.Lookups;
48 super(Children.LEAF, Lookups.fixed(content));
49 this.crFile = content;
50 this.setDisplayName(
new File(this.crFile.getFilePath()).getName());
59 List<Action> actionsList =
new ArrayList<>();
61 actionsList.addAll(Arrays.asList(super.getActions(
true)));
63 return actionsList.toArray(
new Action[actionsList.size()]);
68 return visitor.
visit(
this);
85 Sheet sheet =
new Sheet();
86 Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
89 sheetSet = Sheet.createPropertiesSet();
95 final String fullPath = centralRepoFile.
getFilePath();
96 final File file =
new File(fullPath);
100 final String name = file.getName();
101 final String parent = file.getParent();
105 final String NO_DESCR = Bundle.CommonFilesSearchResultsViewerTable_noDescText();
CorrelationAttributeInstance getCorrelationAttributeInstance()
T visit(DataSourcesNode in)
final CorrelationAttributeInstance crFile
CorrelationDataSource getCorrelationDataSource()
CorrelationCase getCorrelationCase()
Action[] getActions(boolean context)