Go to the documentation of this file.
19package org.sleuthkit.autopsy.datamodel;
21import java.util.ArrayList;
23import javax.swing.Action;
24import org.openide.nodes.Sheet;
25import org.openide.util.NbBundle;
26import org.sleuthkit.datamodel.UnsupportedContent;
27import org.sleuthkit.datamodel.Tag;
39 "UnsupportedContentNode.displayName=Unsupported Content",})
41 super(unsupportedContent);
44 this.setDisplayName(Bundle.UnsupportedContentNode_displayName());
46 this.setIconBaseWithExtension(
"org/sleuthkit/autopsy/images/file-icon.png");
58 List<Action> actionsList =
new ArrayList<>();
60 for (Action a : super.getActions(
true)) {
64 return actionsList.toArray(
new Action[actionsList.size()]);
69 "UnsupportedContentNode.createSheet.name.name=Name",
70 "UnsupportedContentNode.createSheet.name.displayName=Name",
71 "UnsupportedContentNode.createSheet.name.desc=no description",})
74 Sheet sheet = super.createSheet();
75 Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
76 if (sheetSet ==
null) {
77 sheetSet = Sheet.createPropertiesSet();
81 sheetSet.put(
new NodeProperty<>(Bundle.UnsupportedContentNode_createSheet_name_name(),
82 Bundle.UnsupportedContentNode_createSheet_name_displayName(),
83 Bundle.UnsupportedContentNode_createSheet_name_desc(),
84 this.getDisplayName()));
91 return visitor.
visit(
this);
101 return visitor.
visit(
this);
106 return getClass().getName();
118 return new ArrayList<>();
List< Tag > getAllTagsFromDatabase()
Action[] getActions(boolean popup)
UnsupportedContentNode(UnsupportedContent unsupportedContent)
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.