19 package org.sleuthkit.autopsy.datamodel;
21 import java.util.LinkedHashMap;
23 import org.openide.nodes.Sheet;
24 import org.openide.util.NbBundle;
41 this(fsContent,
true);
65 Sheet s = super.createSheet();
66 Sheet.Set ss = s.get(Sheet.PROPERTIES);
68 ss = Sheet.createPropertiesSet();
72 Map<String, Object> map =
new LinkedHashMap<String, Object>();
75 AbstractFilePropertyType[] fsTypes = AbstractFilePropertyType.values();
76 final int FS_PROPS_LEN = fsTypes.length;
77 final String NO_DESCR = NbBundle.getMessage(this.getClass(),
"AbstractFsContentNode.noDesc.text");
78 for (
int i = 0; i < FS_PROPS_LEN; ++i) {
79 final AbstractFilePropertyType propType = AbstractFilePropertyType.values()[i];
80 final String propString = propType.toString();
81 ss.put(
new NodeProperty<>(propString, propString, NO_DESCR, map.get(propString)));
83 if (directoryBrowseMode) {
84 ss.put(
new NodeProperty<>(HIDE_PARENT, HIDE_PARENT, HIDE_PARENT, HIDE_PARENT));
static void fillPropertyMap(Map< String, Object > map, AbstractFile content)
boolean directoryBrowseMode
static final String HIDE_PARENT
synchronized static Logger getLogger(String name)
boolean getDirectoryBrowseMode()