<s> from puremvc . patterns . command import SimpleCommand <EOL> from libtimesheet . model . TimeProxy import TimeProxy <EOL> from libtimesheet . view . DialogMediator import DialogMediator <EOL> from libtimesheet . view . MenuMediator import MenuMediator <EOL> from libtimesheet . view . DatePickerMediator import DatePickerMediator <EOL> from libtimesheet . view . TimeGridMediator import TimeGridMediator <EOL> from libtimesheet . view . SummaryMediator import SummaryMediator <EOL> class StartupCommand ( SimpleCommand ) : <EOL> def execute ( self , note ) : <EOL> self . facade . registerProxy ( TimeProxy ( ) ) <EOL> mainPanel = note . getBody ( ) <EOL> self . facade . registerMediator ( DialogMediator ( mainPanel ) ) <EOL> self . facade . registerMediator ( MenuMediator ( mainPanel . menuBar ) ) <EOL> self . facade . registerMediator ( TimeGridMediator ( mainPanel . timeGrid ) ) <EOL> self . facade . registerMediator ( SummaryMediator ( mainPanel . summary ) ) <EOL> self . facade . registerMediator ( DatePickerMediator ( mainPanel . datePicker ) ) </s>
