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;
33 @ServiceProvider(service = TextViewer.class, position = 1)
40 if ((selectedNode == null) || (!isSupported(selectedNode))) {
45 if (content != null) {
46 panel.setDataView(content, 0);
50 if (scontent != null) {
51 panel.setDataView(scontent);
60 return NbBundle.getMessage(this.getClass(),
"StringsTextViewer.title");
65 return NbBundle.getMessage(this.getClass(),
"StringsTextViewer.toolTip");
84 return (content != null && content.getSize() > 0);
StringsContentPanel panel
static Content getDefaultContent(Node node)
int isPreferred(Node node)
TextViewer createInstance()
boolean isSupported(Node node)
void setNode(Node selectedNode)