// ĠCopyright Ġ 2 0 0 0 - 2 0 2 0 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġcom . intellij . analysis . problems View . tool Window Ċ Ċ import Ġcom . intellij . analysis . problems View . Problems Collector Ċ import Ġcom . intellij . analysis . problems View . Problems Listener Ċ import Ġcom . intellij . openapi . vfs . Virtual File Ċ Ċ internal Ġclass ĠCollector Based Root ( panel : ĠPro blems View Panel , Ġval Ġcollector : ĠPro blems Collector ) Ġ: ĠRoot ( panel ) Ġ{ ĊĠ Ġinternal Ġconstructor ( panel : ĠPro blems View Panel ) Ġ: Ġthis ( panel , ĠPro blems Collector . getInstance ( panel . project )) Ġ{ ĊĠĠĠ Ġpanel . project . message Bus . connect ( this ). subscribe ( Problems Listener . TOPIC , Ġthis ) ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġget Problem Count () Ġ= Ġcollector . get Problem Count () ĊĠ Ġoverride Ġfun Ġget Problem Files () Ġ= Ġcollector . get Problem Files () ĊĊĠ Ġoverride Ġfun ĠgetFile Problem Count ( file : ĠVirtual File ) Ġ= Ġcollector . getFile Problem Count ( file ) ĊĠ Ġoverride Ġfun ĠgetFile Problems ( file : ĠVirtual File ) Ġ= Ġcollector . getFile Problems ( file ) ĊĊĠ Ġoverride Ġfun Ġget Other Problem Count () Ġ= Ġcollector . get Other Problem Count () ĊĠ Ġoverride Ġfun Ġget Other Problems () Ġ= Ġcollector . get Other Problems () Ċ } Ċ