Go to the documentation of this file.
19package org.sleuthkit.autopsy.datamodel;
21import org.openide.nodes.Children;
22import org.openide.nodes.Sheet;
23import org.openide.util.NbBundle;
24import org.openide.util.lookup.Lookups;
25import org.sleuthkit.datamodel.SleuthkitCase;
32 private static final String
NAME = NbBundle.getMessage(RecentFilesNode.class,
"RecentFilesNode.name.text");
34 RecentFilesNode(SleuthkitCase skCase) {
35 super(Children.create(
new RecentFilesChildren(skCase),
true), Lookups.singleton(
NAME));
37 super.setDisplayName(
NAME);
38 this.setIconBaseWithExtension(
"org/sleuthkit/autopsy/images/recent_files.png");
48 return visitor.
visit(
this);
53 Sheet sheet = super.createSheet();
54 Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
55 if (sheetSet ==
null) {
56 sheetSet = Sheet.createPropertiesSet();
60 sheetSet.put(
new NodeProperty<>(NbBundle.getMessage(
this.getClass(),
"RecentFilesNode.createSheet.name.name"),
61 NbBundle.getMessage(
this.getClass(),
"RecentFilesNode.createSheet.name.displayName"),
62 NbBundle.getMessage(
this.getClass(),
"RecentFilesNode.createSheet.name.desc"),
69 return getClass().getName();
DisplayableItemNode(Children children)
T visit(DataSourceFilesNode in)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.