19 package org.sleuthkit.autopsy.datamodel;
21 import org.openide.nodes.AbstractNode;
22 import org.openide.nodes.Children;
23 import org.openide.util.Lookup;
43 static final String FILE_PARENT_NODE_KEY =
"orgsleuthkitautopsydatamodel" +
"FileTypeParentNode";
54 static AbstractFile findLinked(BlackboardArtifact artifact)
throws TskCoreException {
55 BlackboardAttribute pathIDAttribute = artifact.getAttribute(
new BlackboardAttribute.Type(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PATH_ID));
56 if (pathIDAttribute != null) {
57 long contentID = pathIDAttribute.getValueLong();
58 if (contentID != -1) {
59 return artifact.getSleuthkitCase().getAbstractFileById(contentID);
93 super(children, lookup);
abstract boolean isLeafTypeNode()
abstract< T > T accept(DisplayableItemNodeVisitor< T > visitor)
NodeSelectionInfo selectedChildNodeInfo
DisplayableItemNode(Children children, Lookup lookup)
DisplayableItemNode(Children children)
abstract String getItemType()
NodeSelectionInfo getChildNodeSelectionInfo()
void setChildNodeSelectionInfo(NodeSelectionInfo selectedChildNodeInfo)