19 package org.sleuthkit.autopsy.datamodel;
21 import org.openide.nodes.AbstractNode;
22 import org.openide.nodes.Children;
23 import org.openide.nodes.Sheet;
24 import org.openide.util.Lookup;
44 static final String FILE_PARENT_NODE_KEY =
"orgsleuthkitautopsydatamodel" +
"FileTypeParentNode";
57 if (pathIDAttribute != null) {
59 if (contentID != -1) {
94 super(children, lookup);
153 Sheet currentSheet = this.getSheet();
154 Sheet.Set currentPropsSet = currentSheet.get(Sheet.PROPERTIES);
155 Property<?>[] currentProps = currentPropsSet.getProperties();
157 for (
int i = 0; i < currentProps.length; i++) {
158 if (currentProps[i].getName().equals(newProp.getName())) {
159 currentProps[i] = newProp;
163 currentPropsSet.put(currentProps);
164 currentSheet.put(currentPropsSet);
165 this.setSheet(currentSheet);
abstract boolean isLeafTypeNode()
abstract< T > T accept(DisplayableItemNodeVisitor< T > visitor)
NodeSelectionInfo selectedChildNodeInfo
DisplayableItemNode(Children children, Lookup lookup)
DisplayableItemNode(Children children)
SleuthkitCase getSleuthkitCase()
AbstractFile getAbstractFileById(long id)
synchronized final void updatePropertySheet(NodeProperty<?>...newProps)
abstract String getItemType()
BlackboardAttribute getAttribute(BlackboardAttribute.Type attributeType)
NodeSelectionInfo getChildNodeSelectionInfo()
void setChildNodeSelectionInfo(NodeSelectionInfo selectedChildNodeInfo)