1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-03 22:39:56 +00:00
This commit is contained in:
Brian Sweeney
2018-04-06 06:59:43 -06:00
parent 370bc45010
commit ce73c7c839
3 changed files with 2 additions and 13 deletions

View File

@@ -171,6 +171,7 @@ public final class CommonFilesPanel extends javax.swing.JPanel {
CommonFilesSearchNode commonFilesNode = new CommonFilesSearchNode(metadata);
//TODO consider getting em from ExplorerManager.find(this) rather the this wonky stuff seen here...
DataResultFilterNode dataResultFilterNode = new DataResultFilterNode(commonFilesNode, DirectoryTreeTopComponent.getDefault().getExplorerManager());
TableFilterNode tableFilterWithDescendantsNode = new TableFilterNode(dataResultFilterNode);

View File

@@ -343,10 +343,6 @@ public class DataResultPanel extends javax.swing.JPanel implements DataResult, C
if (this.rootNode != null) {
rootNodeListener.reset();
this.rootNode.addNodeListener(rootNodeListener);
//while (this.rootNode.getChildren().nodes().hasMoreElements()) {
// this.rootNode.getChildren().nodes().nextElement().addNodeListener(rootNodeListener);
//
// }
}
resetTabs(this.rootNode);
@@ -627,13 +623,6 @@ public class DataResultPanel extends javax.swing.JPanel implements DataResult, C
waitingForData = false;
Node childNode = nme.getNode();
new SetupTabsChildrenWorker(childNode).execute();
// if (SwingUtilities.isEventDispatchThread()) {
// setupTabs(nme.getNode());
// } else {
// SwingUtilities.invokeLater(() -> {
// setupTabs(nme.getNode());
// });
// }
}
}

View File

@@ -84,7 +84,6 @@ public class DataResultViewerTable extends AbstractDataResultViewer {
@NbBundle.Messages("DataResultViewerTable.firstColLbl=Name")
static private final String FIRST_COLUMN_LABEL = Bundle.DataResultViewerTable_firstColLbl();
private static final Color TAGGED_COLOR = new Color(255, 255, 195);
private Node selectedChild;
private final String title;
/**
@@ -329,7 +328,7 @@ public class DataResultViewerTable extends AbstractDataResultViewer {
break;
}
}
((TableFilterNode) currentRoot).setChildNodeSelectionInfo(new ContentNodeSelectionInfo(currentRoot.getLookup().lookup(AbstractFile.class)));
((TableFilterNode) currentRoot).setChildNodeSelectionInfo(null);
}
}
});