19 package org.sleuthkit.autopsy.datamodel;
21 import java.util.prefs.PreferenceChangeEvent;
22 import java.util.prefs.PreferenceChangeListener;
23 import org.openide.nodes.FilterNode;
24 import org.openide.nodes.Node;
25 import org.openide.util.NbBundle;
47 public void preferenceChange(PreferenceChangeEvent evt) {
48 switch (evt.getKey()) {
69 this.displayName = displayName;
73 if (name.equals(DATA_SOURCES.getName())) {
75 }
else if (name.equals(VIEWS.getName())) {
110 if (n == null || n.getParentNode() == null) {
113 }
else if (n.getParentNode().getParentNode() == null) {
173 AbstractFile file = arg.getLookup().lookup(AbstractFile.class);
174 if (file != null && (file.getKnown() == TskData.FileKnown.KNOWN)) {
KnownFileFilterChildren(Node arg, KnownFileFilterNode.SelectionContext context)
static boolean filterFromDataSources
KnownFileFilterNode(Node arg, SelectionContext context)
static final String HIDE_KNOWN_FILES_IN_DATA_SOURCES_TREE
static final String HIDE_KNOWN_FILES_IN_VIEWS_TREE
KnownFileFilterNode(Node arg, boolean filter)
static boolean hideKnownFilesInViewsTree()
SelectionContext(String displayName)
static boolean filterFromViews
static SelectionContext getSelectionContext(Node n)
KnownFileFilterChildren(Node arg, boolean filter)
static boolean hideKnownFilesInDataSourcesTree()
static SelectionContext getContextFromName(String name)
static void addChangeListener(PreferenceChangeListener listener)
Node[] createNodes(Node arg)