package Ġio . sn yk . plugin . ui . actions Ċ Ċ import Ġcom . intellij . icons . All Icons Ċ import Ġcom . intellij . openapi . action System . An Action Ċ import Ġcom . intellij . openapi . action System . An ActionEvent Ċ import Ġcom . intellij . openapi . components . service Ċ import Ġcom . intellij . openapi . project . D umb Aware Ċ import Ġio . sn yk . plugin . ui . tool window . S ny k Tool Window Panel Ċ Ċ /** Ċ Ġ* ĠRun Ġscan Ġproject Ġwith ĠS ny k Ġaction . Ċ Ġ*/ Ċ class ĠS ny k Clean Scan Action Ġ: ĠAn Action ( All Icons . Actions . Close ), ĠD umb Aware Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠactionPerformed ( action Event : ĠAn ActionEvent ) Ġ{ ĊĠĠĠĠĠĠĠ Ġaction Event . project !!. service < S ny k Tool Window Panel >(). clean All () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġupdate ( action Event : ĠAn ActionEvent ) Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( action Event . project Ġ!= Ġnull Ġ&& Ġ! action Event . project !!. is Disposed ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġaction Event . presentation . isEnabled Ġ= Ġ! action Event . project !!. service < S ny k Tool Window Panel >(). isEmpty () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ