File tree Expand file tree Collapse file tree
plugin/src/main/java/io/snyk
eclipse/plugin/views/snyktoolview
languageserver/protocolextension Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -335,7 +335,9 @@ public void refreshBrowser(String status) {
335335
336336 @ Override
337337 public void refreshSummary (String summary ) {
338- this .summaryBrowserHandler .setBrowserText (summary );
338+ Display .getDefault ().asyncExec (() -> {
339+ this .summaryBrowserHandler .setBrowserText (summary );
340+ });
339341 }
340342
341343 @ Override
Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ public void snykScan(SnykScanParam param) {
385385 // TODO what data is returned in the SNYK_SCAN_SUMMARY?
386386 @ JsonNotification (value = LsConstants .SNYK_SCAN_SUMMARY )
387387 public void updateSummaryPanel (SummaryPanelParams summary ) {
388+ openToolView ();
388389 this .toolView .refreshSummary (summary .getSummary ());
389390 }
390391
Original file line number Diff line number Diff line change 11package io .snyk .languageserver .protocolextension .messageObjects ;
22
33public class SummaryPanelParams {
4- private String summary ;
4+ private String scanSummary ;
55
66 public String getSummary () {
7- return summary ;
7+ return scanSummary ;
88 }
99
10- public void setSummary (String summary ) {
11- this .summary = summary ;
10+ public void setSummary (String scanSummary ) {
11+ this .scanSummary = scanSummary ;
1212 }
1313}
You can’t perform that action at this time.
0 commit comments