19 package org.sleuthkit.autopsy.datamodel;
 
   22 import org.openide.nodes.AbstractNode;
 
   23 import org.openide.nodes.Children;
 
   24 import org.openide.nodes.Sheet;
 
   25 import org.openide.util.Lookup;
 
   26 import org.openide.util.NbBundle;
 
   27 import org.openide.util.lookup.Lookups;
 
   40         super(children, Lookups.singleton(thing));
 
   48         super(children, lookup);
 
   57         AbstractFile af = Lookup.getDefault().lookup(AbstractFile.class);
 
   61                 this.setIconBaseWithExtension(
"org/sleuthkit/autopsy/images/Folder-icon.png"); 
 
   63                 this.setIconBaseWithExtension(
FileNode.getIconForFileType(af));
 
   71         Sheet s = super.createSheet();
 
   72         Sheet.Set ss = s.get(Sheet.PROPERTIES);
 
   74             ss = Sheet.createPropertiesSet();
 
   80         ss.put(
new NodeProperty<>(NbBundle.getMessage(
this.getClass(), 
"KeyValueNode.createSheet.name.name"),
 
   81                 NbBundle.getMessage(
this.getClass(), 
"KeyValueNode.createSheet.name.displayName"),
 
   82                 NbBundle.getMessage(
this.getClass(), 
"KeyValueNode.createSheet.name.desc"),
 
   85         for (Map.Entry<String, Object> entry : data.
getMap().entrySet()) {
 
   86             String key = entry.getKey();
 
   87             Object value = entry.getValue();
 
   90                     NbBundle.getMessage(
this.getClass(), 
"KeyValueNode.createSheet.map.desc"),
 
Map< String, Object > getMap()
KeyValueNode(KeyValue thing, Children children)
KeyValueNode(KeyValue thing, Children children, Lookup lookup)