package Ġorg . github . erik z iel ke . goto project Ċ Ċ import Ġcom . intellij . openapi . application . Application Manager Ċ import Ġcom . intellij . openapi . components . Persistent State Component Ċ import Ġcom . intellij . openapi . components . Service Ċ import Ġcom . intellij . openapi . components . State Ċ import Ġcom . intellij . openapi . components . Storage Ċ import Ġcom . intellij . openapi . project . Project Ċ Ċ @ Service Ċ @ State ( name Ġ= Ġ" Go To Project ", Ġstorage s Ġ= Ġ[ Storage ( value Ġ= Ġ" Go To Project Window . xml ") ]) Ċ class ĠGo To Project Application Component Ġ: ĠPersistent State Component < Go To Project Window Settings ?> Ġ{ ĊĠĠĠ Ġprivate Ġvar Ġstate : ĠGo To Project Window Settings Ġ= ĠGo To Project Window Settings () ĊĠĠĠ Ġvar Ġfocused Before : ĠProject ? Ġ= Ġnull ĊĠĠĠ Ġvar Ġlast Focus Lost : ĠProject ? Ġ= Ġnull ĊĊĠĠĠ Ġoverride Ġfun ĠgetState (): ĠGo To Project Window Settings Ġ= Ġstate ĊĊĠĠĠ Ġoverride Ġfun Ġload State ( state : ĠGo To Project Window Settings ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . state Ġ= Ġstate ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Jvm Static ĊĠĠĠĠĠĠĠ Ġval Ġinstance : ĠGo To Project Application Component ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget () Ġ= ĠApplication Manager . getApplication (). getService ( Go To Project Application Component :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ