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<>();
75 final String
NO_DESCR = NbBundle.getMessage(this.getClass(),
"AbstractFsContentNode.noDesc.text");
76 for (AbstractFilePropertyType propType : AbstractFilePropertyType.values()) {
77 final String propString = propType.toString();
78 ss.put(
new NodeProperty<>(propString, propString, NO_DESCR, map.get(propString)));
80 if (directoryBrowseMode) {
81 ss.put(
new NodeProperty<>(HIDE_PARENT, HIDE_PARENT, HIDE_PARENT, HIDE_PARENT));
void addTagProperty(Sheet.Set ss)
static void fillPropertyMap(Map< String, Object > map, AbstractFile content)
boolean directoryBrowseMode
static final String HIDE_PARENT
static final String NO_DESCR
synchronized static Logger getLogger(String name)
boolean getDirectoryBrowseMode()