File tree Expand file tree Collapse file tree
plugin/src/main/java/io/snyk/eclipse/plugin/views/snyktoolview Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ public void reset() {
1717 super .reset ();
1818 List <IProject > openProjects = ResourceUtils .getAccessibleTopLevelProjects ();
1919
20+ if (openProjects .isEmpty ()) {
21+ var contentRoot = new ContentRootNode ("No projects in workspace to scan" , null );
22+ this .addChild (contentRoot );
23+
24+ }
25+
2026 for (IProject project : openProjects ) {
2127 Path path = ResourceUtils .getFullPath (project );
2228 var contentRoot = new ContentRootNode (project .getName (), path );
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ public EnableAllSeveritiesHandler() {
2424 public Object execute (ExecutionEvent event ) throws ExecutionException {
2525 super .execute (event );
2626
27- TreeFilterManager .getInstance ().removeTreeFilter (this .preferenceKey );
28-
2927 return null ;
3028 }
3129
You can’t perform that action at this time.
0 commit comments