8835 Commits

Author SHA1 Message Date
Brian Sweeney
9fb65e6ff2 pulled the two subclasses into their own files 2018-04-19 11:32:36 -06:00
Brian Sweeney
bcfa75c5f9 refactored builder to use nicer abstraction 2018-04-19 11:32:36 -06:00
Brian Sweeney
33e904b80c unused imports 2018-04-19 11:32:35 -06:00
Brian Sweeney
df8491bf0c ensure that panel closes on search 2018-04-19 11:32:35 -06:00
Brian Sweeney
dc6659bbde comment 2018-04-19 11:32:34 -06:00
Brian Sweeney
fa1e11ee6c light refactoring (nothing functional - just stylistic) 2018-04-19 11:32:34 -06:00
Brian Sweeney
0b686b2308 renamed a variable, removed a useless listener 2018-04-19 11:32:34 -06:00
Brian Sweeney
54b60f010f moved db calls into swing worker 2018-04-19 11:32:33 -06:00
Brian Sweeney
448ccff22a style cleanup 2018-04-19 11:32:33 -06:00
Brian Sweeney
7fb8076317 removed unused usings 2018-04-19 11:32:33 -06:00
Brian Sweeney
ce73c7c839 cleanup 2018-04-19 11:32:32 -06:00
Brian Sweeney
370bc45010 cleanup
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerTable.java
2018-04-19 11:32:32 -06:00
Brian Sweeney
57ba6b9118 needed to close a db connection manually or we needed to wrap in try with resouces 2018-04-19 11:32:31 -06:00
Brian Sweeney
edd63895f0 removed redundant declaration 2018-04-19 11:32:31 -06:00
Brian Sweeney
583e1d1511 Merge branch '3624-tree-table-view' of https://github.com/briangsweeney/autopsy into 3624-tree-table-view
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
#	Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerTable.java
2018-04-19 11:32:31 -06:00
Andrew Ziehl
63c4518fc2 WIP, the child node stays selected but we bypass the propertyChange ? Also force sets selectedChild in DataResultViewerTable
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
#	Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerTable.java
2018-04-19 11:32:30 -06:00
Brian Sweeney
35c6add977 tweaking stuff to try and get child selection working 2018-04-19 11:32:30 -06:00
Andrew Ziehl
02faf93f1c TODOs and cleanup. 2018-04-19 11:32:29 -06:00
Andrew Ziehl
7fda8e9f2e Move ChildFactories into classes which use them. Make CommonFilesMetaDataBuilder to handle queries/ list of model building / deduping files. Simplifies CommonFilesMetaData by separating business logic from model and CommonFilesPanel. Removes yet another query by re-using the dataSourceIdMap from CommonFilesPanel for model creation, so now CommonFiles is down to 2 queries total, including UI building. 2018-04-19 11:32:29 -06:00
Andrew Ziehl
7c82d04edd Cleanup CommonFilesMetaData, add in dedup optimization changes 2018-04-19 11:32:28 -06:00
Andrew Ziehl
005175b1fc fix sqlwhere clause 2018-04-19 11:32:28 -06:00
Andrew Ziehl
dc02ae73f3 re-work child factories to have better model inheritance. Need to update package locations, fix sqlWhereClause 2018-04-19 11:32:28 -06:00
Brian Sweeney
a915956c61 set display name,
get rid of extra data,
added decorators to start supporting context menu
2018-04-19 11:32:27 -06:00
Brian Sweeney
991fd11b31 new constructors with support for children with custom display name 2018-04-19 11:32:27 -06:00
Brian Sweeney
68a7442b13 removed an unused import 2018-04-19 11:32:26 -06:00
Brian Sweeney
e53eefbdda all the important data is here, its just weird how the nodes all get the value 'Name in the first column 2018-04-19 11:32:26 -06:00
Brian Sweeney
77dafabeb2 harmonizing columns 2018-04-19 11:32:25 -06:00
Brian Sweeney
facf4ca4cd harmonizing columns between the two node types 2018-04-19 11:32:25 -06:00
Brian Sweeney
e52a39f5bf added default visitor behavior for CommonFilesSearchNode 2018-04-19 11:32:25 -06:00
Brian Sweeney
fffb248d90 CommonFilesSearchNode should extend DisplayableItemNode to properly implement content menu interface 2018-04-19 11:32:24 -06:00
Brian Sweeney
f57c3b4593 disable enableTreeModel - which drills down and fiddles with outlineView directly. turns out it was not necessary and was poor style anyway 2018-04-19 11:32:24 -06:00
Brian Sweeney
8733f8c950 comments on state of progress - TODOs 2018-04-19 11:32:24 -06:00
Brian Sweeney
481e0c0d39 POC code - getting childnodes to show up 2018-04-19 11:32:23 -06:00
Brian Sweeney
3845d5a8aa algorithm debugged and simplified 2018-04-19 11:32:23 -06:00
Brian Sweeney
357574b474 harmonizing code 2018-04-19 11:32:22 -06:00
Brian Sweeney
1f7f974bb3 Merge branch 'Branch_3629_common_datasource' of https://github.com/briangsweeney/autopsy into 3624-tree-table-view
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesMetaData.java
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
2018-04-19 11:32:22 -06:00
Andrew Ziehl
e66915ba28 boolean logic fixes 2018-04-19 11:32:22 -06:00
Andrew Ziehl
5f1e2f36d9 Merge branch 'develop' of https://github.com/briangsweeney/autopsy into Branch_3629_common_datasource
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesChildren.java
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesMetaData.java
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
2018-04-19 11:32:21 -06:00
Andrew Ziehl
c57cb7da8c Code cleanup, update UI to disable 'across data sources' radio button instead of disabling common files search altogether when open case has one datasource. 2018-04-19 11:32:21 -06:00
Andrew Ziehl
640cec499c Fix instance count query 2018-04-19 11:32:20 -06:00
Andrew Ziehl
17e5d84ceb functional within datasources query / UI
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
2018-04-19 11:32:20 -06:00
Andrew Ziehl
ec560e4785 hook up panel UI elements.
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
2018-04-19 11:32:19 -06:00
Andrew Ziehl
b9d2812096 error/ code cleanup
# Conflicts:
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesMetaData.java
#	Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
2018-04-19 11:32:19 -06:00
Brian Sweeney
5ac57f3853 whitespace 2018-04-19 11:32:19 -06:00
Brian Sweeney
d8a6c98420 fixed an algorithmic bug in collating files 2018-04-19 11:32:18 -06:00
Brian Sweeney
3c1243860b new algorithm and model types for supporting children (the actual files) of common file nodes 2018-04-19 11:32:18 -06:00
Brian Sweeney
01c20dfb9c whitespace 2018-04-19 11:32:17 -06:00
Brian Sweeney
6906e37d48 common files search results supports child row 2018-04-19 11:32:17 -06:00
Brian Sweeney
da38d847dc white space and unneeded imports cleanup 2018-04-19 11:32:17 -06:00
Brian Sweeney
8a982c72e1 exception handling 2018-04-19 11:32:16 -06:00