// ĠCopyright Ġ 2 0 0 0 - 2 0 2 1 Ġ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 Ġmob i . hs z . idea . gitignore . actions Ċ Ċ import Ġcom . intellij . openapi . action System . An ActionEvent Ċ import Ġcom . intellij . openapi . components . service Ċ import Ġcom . intellij . openapi . project . D umb Aware Action Ċ import Ġmob i . hs z . idea . gitignore . Ignore Bundle . message Ċ import Ġmob i . hs z . idea . gitignore . fold able Project View . Fold able Project View Service Ċ import Ġmob i . hs z . idea . gitignore . util . Icons Ċ Ċ /** Ċ Ġ* ĠAction Ġthat Ġhide s Ġor Ġshow Ġignored Ġfiles Ġin Ġthe Ġproject Ġtree Ġview . Ċ Ġ*/ Ċ class ĠHide Ignored Files Action Ġ: ĠD umb Aware Action ( get Presentation Text (), Ġ"", ĠIcons . IGNORE ) Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġfold able Project View Service Ġ= Ġservice < Fold able Project View Service >() ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġget Presentation Text () Ġ= Ġmessage (" action . hide Ignored Visibility ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġupdate ( e : ĠAn ActionEvent ) Ġ{ ĊĠĠĠĠĠĠĠ Ġe . presentation . apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis Visible Ġ= Ġ! fold able Project View Service . is Available () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtext Ġ= Ġget Presentation Text () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠactionPerformed ( e : ĠAn ActionEvent ) Ġ= Ġfold able Project View Service . ad vertise ( e . project ) Ċ Ċ } Ċ