public override void HandleNotification(PureMVC.Interfaces.INotification notification) { base.HandleNotification(notification); switch (notification.Name) { case StatusProxy.CHANGE_STATUS_TEXT: pluginUI.Invoke((MethodInvoker)delegate { pluginUI.setStatusText(notification.Body as String); }); break; case StatusProxy.CHANGE_PROJECT_TEXT: pluginUI.Invoke((MethodInvoker)delegate { pluginUI.setProjectText(notification.Body as String); }); break; case StatusProxy.CHANGE_TIME: //Console.WriteLine("HandleNotification TimerProxy.CHANGE_TIMER"); pluginUI.Invoke((MethodInvoker)delegate { pluginUI.setTime((TimeSpan)notification.Body); }); break; } }
public override void HandleNotification(PureMVC.Interfaces.INotification notification) { base.HandleNotification(notification); switch (notification.Name) { case SettingsProxy.CHANGE_SETTING_OBJECT: pluginMain.setSettingObject(notification.Body as SlimtimerSettings); break; } }
public override void HandleNotification(PureMVC.Interfaces.INotification notification) { throw new NotImplementedException(); }
public override void Execute(PureMVC.Interfaces.INotification notification) { base.Execute(notification); SettingsProxy settingsProxy = Facade.RetrieveProxy(SettingsProxy.NAME) as SettingsProxy; settingsProxy.LoadSettings(); }