19 package org.sleuthkit.autopsy.datamodel;
21 import java.util.Arrays;
22 import org.openide.nodes.Sheet;
23 import org.openide.util.NbBundle;
24 import org.openide.util.lookup.Lookups;
34 public static final String
NAME = NbBundle.getMessage(
ViewsNode.class,
"ViewsNode.name.text");
37 this(sleuthkitCase, 0);
40 public ViewsNode(SleuthkitCase sleuthkitCase,
long dsObjId) {
49 new FileSize(sleuthkitCase, dsObjId))
51 Lookups.singleton(NAME)
55 this.setIconBaseWithExtension(
"org/sleuthkit/autopsy/images/views.png");
66 return visitor.
visit(
this);
71 Sheet sheet = super.createSheet();
72 Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
73 if (sheetSet == null) {
74 sheetSet = Sheet.createPropertiesSet();
78 sheetSet.put(
new NodeProperty<>(NbBundle.getMessage(
this.getClass(),
"ViewsNode.createSheet.name.name"),
79 NbBundle.getMessage(
this.getClass(),
"ViewsNode.createSheet.name.displayName"),
80 NbBundle.getMessage(
this.getClass(),
"ViewsNode.createSheet.name.desc"),
87 return getClass().getName();
T visit(DataSourceFilesNode in)
ViewsNode(SleuthkitCase sleuthkitCase)
ViewsNode(SleuthkitCase sleuthkitCase, long dsObjId)