19 package org.sleuthkit.autopsy.allcasessearch;
22 import java.util.ArrayList;
23 import java.util.Arrays;
24 import java.util.List;
25 import javax.swing.Action;
26 import org.openide.nodes.Children;
27 import org.openide.nodes.Sheet;
28 import org.openide.util.NbBundle;
29 import org.openide.util.lookup.Lookups;
45 super(Children.LEAF, Lookups.fixed(content));
46 this.instance = content;
47 this.setDisplayName(
new File(this.instance.getFilePath()).getName());
61 List<Action> actionsList =
new ArrayList<>();
63 actionsList.addAll(Arrays.asList(super.getActions(
true)));
65 return actionsList.toArray(
new Action[actionsList.size()]);
70 return visitor.
visit(
this);
84 "CorrelationAttributeInstanceNode.columnName.name=Name",
85 "CorrelationAttributeInstanceNode.columnName.case=Case",
86 "CorrelationAttributeInstanceNode.columnName.dataSource=Data Source",
87 "CorrelationAttributeInstanceNode.columnName.value=Value",
88 "CorrelationAttributeInstanceNode.columnName.known=Known",
89 "CorrelationAttributeInstanceNode.columnName.path=Path",
90 "CorrelationAttributeInstanceNode.columnName.comment=Comment",
91 "CorrelationAttributeInstanceNode.columnName.device=Device"
95 Sheet sheet =
new Sheet();
96 Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
99 sheetSet = Sheet.createPropertiesSet();
106 final File file =
new File(path);
107 final String name = file.getName();
110 final String dataSourceName = dataSource.
getName();
112 final String comment = centralRepoFile.
getComment();
116 final String NO_DESCR =
"";
119 Bundle.CorrelationAttributeInstanceNode_columnName_name(),
120 Bundle.CorrelationAttributeInstanceNode_columnName_name(), NO_DESCR, name));
122 Bundle.CorrelationAttributeInstanceNode_columnName_case(),
123 Bundle.CorrelationAttributeInstanceNode_columnName_case(), NO_DESCR, caseName));
125 Bundle.CorrelationAttributeInstanceNode_columnName_dataSource(),
126 Bundle.CorrelationAttributeInstanceNode_columnName_dataSource(), NO_DESCR, dataSourceName));
128 Bundle.CorrelationAttributeInstanceNode_columnName_value(),
129 Bundle.CorrelationAttributeInstanceNode_columnName_value(), NO_DESCR, value));
131 Bundle.CorrelationAttributeInstanceNode_columnName_known(),
132 Bundle.CorrelationAttributeInstanceNode_columnName_known(), NO_DESCR, known));
134 Bundle.CorrelationAttributeInstanceNode_columnName_path(),
135 Bundle.CorrelationAttributeInstanceNode_columnName_path(), NO_DESCR, path));
137 Bundle.CorrelationAttributeInstanceNode_columnName_comment(),
138 Bundle.CorrelationAttributeInstanceNode_columnName_comment(), NO_DESCR, comment));
140 Bundle.CorrelationAttributeInstanceNode_columnName_device(),
141 Bundle.CorrelationAttributeInstanceNode_columnName_device(), NO_DESCR, device));
CorrelationAttributeInstance getCorrelationAttributeInstance()
final CorrelationAttributeInstance instance
String getCorrelationValue()
TskData.FileKnown getKnownStatus()
CorrelationDataSource getCorrelationDataSource()
T visit(DataSourceFilesNode in)
Action[] getActions(boolean context)
CorrelationCase getCorrelationCase()