package Ġdocker . volumes Ċ Ċ import Ġcom . intellij . Abstract Bundle Ċ import Ġcom . intellij . notification . Notification Display Type Ċ import Ġcom . intellij . notification . Notification Group Ċ import Ġcom . intellij . notification . Notification Type Ċ import Ġcom . intellij . notification . Notifications Ċ import Ġcom . intellij . openapi . project . Project Ċ import Ġdocker . volumes . Docker Volumes Bundle . message Pointer Ċ import Ġorg . jetbrains . annotations . Non N ls Ċ import Ġorg . jetbrains . annotations . Property Key Ċ Ċ @ Non N ls Ċ private Ġconst Ġval ĠB UNDLE Ġ= Ġ" messages . Docker Volumes Bundle " Ċ Ċ @ Non N ls Ċ private Ġval ĠNOT IFICATION _ GROUP Ġ= ĠNotification Group (" Docker Ġvolumes ", ĠNotification Display Type . BAL LO ON , Ġtrue ) Ċ Ċ object ĠDocker Volumes Bundle Ġ: ĠAbstract Bundle ( B UNDLE ) Ġ{ ĊĊĠĠĠ Ġ@ Suppress (" Spread Operator ") ĊĠĠĠ Ġ@ Jvm Static ĊĠĠĠ Ġfun Ġmessage (@ Property Key ( resource Bundle Ġ= ĠB UNDLE ) Ġkey : ĠString , Ġvar arg Ġparams : ĠAny ) Ġ= ĠgetMessage ( key , Ġ* params ) ĊĊĠĠĠ Ġ@ Suppress (" Spread Operator ") ĊĠĠĠ Ġ@ Jvm Static ĊĠĠĠ Ġfun Ġmessage Pointer (@ Property Key ( resource Bundle Ġ= ĠB UNDLE ) Ġkey : ĠString , Ġvar arg Ġparams : ĠAny ) Ġ= Ġrun Ġ{ ĊĠĠĠĠĠĠĠ Ġmessage ( key , Ġ* params ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun Ġnotify About Error ( errorMessage : ĠString , Ġproject : ĠProject ?) Ġ{ ĊĠĠĠ Ġval Ġnotification Ġ= ĠNOT IFICATION _ GROUP . create Notification ( errorMessage , ĠNotification Type . ERROR ) ĊĊĠĠĠ Ġnotification . setTitle ( message Pointer (" error . notification . title ")) ĊĠĠĠ ĠNotifications . Bus . notify ( notification , Ġproject ) Ċ } Ċ