package Ġcom . so yle . stories . scene . scene List Ċ Ċ import Ġcom . so yle . stories . common . Notifier Ċ import Ġcom . so yle . stories . common . list ens To Ċ import Ġcom . so yle . stories . gui . View Ċ import Ġcom . so yle . stories . scene . delete Scene . Scene Deleted Receiver Ċ import Ġcom . so yle . stories . scene . in cons ist encies . Scene In cons ist encies Receiver Ċ import Ġcom . so yle . stories . use case . pro se . detect Invalid Ment ions . Detect Invalid ated Ment ions Ċ import Ġcom . so yle . stories . scene . items . Scene Item ViewModel Ċ import Ġcom . so yle . stories . scene . rename Scene . Scene Rename d Receiver Ċ import Ġcom . so yle . stories . scene . scene List . present ers .* Ċ import Ġcom . so yle . stories . use case . scene . createNew Scene . Create New Scene Ċ import Ġcom . so yle . stories . use case . scene . delete Scene . Delete Scene Ċ import Ġcom . so yle . stories . use case . scene . list All Sc enes . List All Sc enes Ċ import Ġcom . so yle . stories . use case . scene . reorder Scene . Re order Scene Ċ import Ġcom . so yle . stories . use case . scene . symbol . track Symbol In Scene . Detect Unused Symbols In Scene Ċ Ċ class ĠScene List Presenter ( ĊĠĠĠ Ġprivate Ġval Ġview : ĠView . Nullable < Scene List ViewModel >, ĊĠĠĠ Ġcreate Scene Notifier : ĠNot ifier < Create New Scene . Output Port >, ĊĠĠĠ Ġrename Scene Notifier : ĠNot ifier < Scene Rename d Receiver >, ĊĠĠĠ Ġdelete Scene Notifier : ĠNot ifier < Scene Deleted Receiver >, ĊĠĠĠ Ġscene Re ordered : ĠNot ifier < Re order Scene . Output Port >, ĊĠĠĠ Ġinvalid Ment ions Notifier : ĠNot ifier < Detect Invalid ated Ment ions . Output Port >, ĊĠĠĠ Ġunused Symbols Detected Notifier : ĠNot ifier < Detect Unused Symbols In Scene . Output Port >, ĊĠĠĠ Ġscene In cons ist encies Notifier : ĠNot ifier < Scene In cons ist encies Receiver > Ċ ) Ġ: ĠList All Sc enes . Output Port Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġsub Present ers Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠ ĠCreate Scene Presenter ( view ) Ġlist ens To Ġcreate Scene Notifier , ĊĠĠĠĠĠĠĠ ĠRename Scene Presenter ( view ) Ġlist ens To Ġrename Scene Notifier , ĊĠĠĠĠĠĠĠ ĠDelete Scene Presenter ( view ) Ġlist ens To Ġdelete Scene Notifier , ĊĠĠĠĠĠĠĠ ĠRe order Scene Presenter ( view ) Ġlist ens To Ġscene Re ordered , ĊĠĠĠĠĠĠĠ ĠDet ected Invalid Ment ions Presenter ( view ). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlist ens To ( unused Symbols Detected Notifier ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlist ens To ( invalid Ment ions Notifier ) ĊĠĠĠĠĠĠĠ Ġ}, ĊĠĠĠĠĠĠĠ ĠScene In cons ist encies Presenter ( view ) Ġlist ens To Ġscene In cons ist encies Notifier ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġoverride Ġfun Ġreceive List All Sc enes Response ( response : ĠList All Sc enes . Response Model ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . update Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠScene List ViewModel ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġtool Title Ġ= Ġ" Sc enes ", ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġempty Label Ġ= Ġ" No ĠSc enes Ġto Ġdisplay ", ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcreate Scene Button Label Ġ= Ġ" Create ĠNew ĠScene ", ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġscenes Ġ= Ġresponse . scenes . map (:: Scene Item ViewModel ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġrename Scene Failure Message Ġ= Ġnull ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ