mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-03 22:39:56 +00:00
cleanup
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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());
|
||||
// });
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user