19 package org.sleuthkit.autopsy.contentviewers.textcontentviewer;
21 import java.awt.Component;
22 import org.openide.nodes.Node;
23 import org.openide.util.NbBundle;
24 import org.openide.util.lookup.ServiceProvider;
35 @ServiceProvider(service = TextViewer.class, position = 1)
42 if ((selectedNode == null) || (!isSupported(selectedNode))) {
47 if (content != null) {
48 panel.setDataView(content, 0);
52 if (scontent != null) {
53 panel.setDataView(scontent);
62 return NbBundle.getMessage(this.getClass(),
"StringsTextViewer.title");
67 return NbBundle.getMessage(this.getClass(),
"StringsTextViewer.toolTip");
86 return (content != null && !(content instanceof BlackboardArtifact) && content.getSize() > 0);
StringsContentPanel panel
static Content getDefaultContent(Node node)
int isPreferred(Node node)
TextViewer createInstance()
boolean isSupported(Node node)
void setNode(Node selectedNode)