package Ġcom . github . vs ay 0 1 . mvp setup . listeners Ċ Ċ import Ġcom . github . vs ay 0 1 . mvp setup . services . My Project Service Ċ import Ġcom . intellij . openapi . project . Project Ċ import Ġcom . intellij . openapi . project . Project Manager Listener Ċ Ċ internal Ġclass ĠMy Project Manager Listener Ġ: ĠProject Manager Listener Ġ{ Ċ ĉ override Ġfun Ġproject Opened ( project : ĠProject ) Ġ{ Ċĉ ĉ project Instance Ġ= Ġproject Ċĉ ĉ project . getService ( My Project Service :: class . java ) Ċ ĉ } ĊĊ ĉ override Ġfun Ġproject Closing ( project : ĠProject ) Ġ{ Ċĉ ĉ project Instance Ġ= Ġnull Ċĉ ĉ super . project Closing ( project ) Ċ ĉ } ĊĊ ĉ comp anion Ġobject Ġ{ Ċĉ ĉ var Ġproject Instance : ĠProject ? Ġ= Ġnull Ċ ĉ } Ċ } Ċ