Go to the documentation of this file.
19package org.sleuthkit.autopsy.contentviewers.textcontentviewer;
21import java.awt.Component;
22import org.openide.nodes.Node;
23import org.openide.util.NbBundle.Messages;
24import org.openide.util.lookup.ServiceProvider;
25import org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer;
26import org.sleuthkit.datamodel.AbstractFile;
60 @Messages({
"TextContentViewer.title=Text"})
63 return Bundle.TextContentViewer_title();
66 @Messages({
"TextContentViewer.tooltip=Displays text associated with the selected item"})
69 return Bundle.TextContentViewer_tooltip();
96 AbstractFile file = node.getLookup().lookup(AbstractFile.class);
97 if (file !=
null && (file.isDir() || file.getSize() == 0)) {
101 return panel.isSupported(node);
107 return panel.isPreffered(node);
int isPreferred(Node node)
final TextContentViewerPanel panel
volatile Node currentNode
void setNode(Node selectedNode)
TextContentViewer(boolean isMain)
boolean isSupported(Node node)
DataContentViewer createInstance()
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.