From dddb13f3d6de2913c55a17fbb5c5c333f198b603 Mon Sep 17 00:00:00 2001 From: Kelly Kelly Date: Mon, 26 Jul 2021 11:59:49 -0400 Subject: [PATCH] CVT SummaryViewer - Moved db calls into existing SwingWorker --- .../relationships/Bundle.properties-MERGED | 1 + .../relationships/SummaryPanelWorker.java | 16 ++++-- .../relationships/SummaryViewer.java | 55 ++++++++++++------- 3 files changed, 49 insertions(+), 23 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/communications/relationships/Bundle.properties-MERGED b/Core/src/org/sleuthkit/autopsy/communications/relationships/Bundle.properties-MERGED index c43740776d..65b267bb12 100755 --- a/Core/src/org/sleuthkit/autopsy/communications/relationships/Bundle.properties-MERGED +++ b/Core/src/org/sleuthkit/autopsy/communications/relationships/Bundle.properties-MERGED @@ -59,6 +59,7 @@ SummaryViewer_Device_Account_Description=This account was referenced by a device SummaryViewer_Fetching_References= SummaryViewer_FileRef_Message= SummaryViewer_TabTitle=Summary diff --git a/Core/src/org/sleuthkit/autopsy/communications/relationships/SummaryPanelWorker.java b/Core/src/org/sleuthkit/autopsy/communications/relationships/SummaryPanelWorker.java index e18f3883d9..02ab84029b 100755 --- a/Core/src/org/sleuthkit/autopsy/communications/relationships/SummaryPanelWorker.java +++ b/Core/src/org/sleuthkit/autopsy/communications/relationships/SummaryPanelWorker.java @@ -43,10 +43,12 @@ class SummaryPanelWorker extends SwingWorker accountFileInstancePaths; private final List personaList; private final CentralRepoAccount centralRepoAccount; + private final AccountSummary accountSummary; /** * Constructor. @@ -112,10 +115,11 @@ class SummaryPanelWorker extends SwingWorker accountFileInstancePaths, List personaList, CentralRepoAccount centralRepoAccount) { + SummaryWorkerResults(List accountFileInstancePaths, List personaList, CentralRepoAccount centralRepoAccount, AccountSummary accountSummary) { this.accountFileInstancePaths = accountFileInstancePaths; this.personaList = personaList; this.centralRepoAccount = centralRepoAccount; + this.accountSummary = accountSummary; } /** @@ -148,6 +152,10 @@ class SummaryPanelWorker extends SwingWorker" + "SummaryViewer_Select_account_for_persona=