public override void PackMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <PackMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.Pack.ResourceManager.str_37b749b8_18c9_498b_abc8_3d0ee722bd93_Title, "37b749b8-18c9-498b-abc8-3d0ee722bd93", Imi.SupplyChain.ActivityMonitor.UX.Modules.Pack.Constants.EventTopicNames.ShowPackMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); if (packMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(packMonitorOverviewView, new PackMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void ReceiveMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <ReceiveMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.Receive.ResourceManager.str_0759801e_9ba2_4f20_8383_5549a777f9ab_Title, "0759801e-9ba2-4f20-8383-5549a777f9ab", Imi.SupplyChain.ActivityMonitor.UX.Modules.Receive.Constants.EventTopicNames.ShowReceiveMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); if (receiveMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(receiveMonitorOverviewView, new ReceiveMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public virtual void MovementMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <MovementMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.Movement.ResourceManager.str_c177bbdc_91be_40a0_8eb2_4b7c4537108e_Title, "c177bbdc-91be-40a0-8eb2-4b7c4537108e", Imi.SupplyChain.ActivityMonitor.UX.Modules.Movement.Constants.EventTopicNames.ShowMovementMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (movementMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(movementMonitorOverviewView, new MovementMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void OutboundStagingMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <OutboundStagingMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.OutboundStaging.ResourceManager.str_d1f71448_4043_40d7_b223_c7660c6a8e20_Title, "d1f71448-4043-40d7-b223-c7660c6a8e20", Imi.SupplyChain.ActivityMonitor.UX.Modules.OutboundStaging.Constants.EventTopicNames.ShowOutboundStagingMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (outboundStagingMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(outboundStagingMonitorOverviewView, new OutboundStagingMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void AssemblyMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <AssemblyMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.LightAssembly.ResourceManager.str_607b9c40_8433_47ff_87f0_6b7dfac9739a_Title, "607b9c40-8433-47ff-87f0-6b7dfac9739a", Imi.SupplyChain.ActivityMonitor.UX.Modules.LightAssembly.Constants.EventTopicNames.ShowAssemblyMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (assemblyMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(assemblyMonitorOverviewView, new AssemblyMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void CasePickMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <CasePickMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.CasePick.ResourceManager.str_24cd9629_716f_4e53_9969_22f7a444c534_Title, "24cd9629-716f-4e53-9969-22f7a444c534", Imi.SupplyChain.ActivityMonitor.UX.Modules.CasePick.Constants.EventTopicNames.ShowCasePickMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (casePickMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(casePickMonitorOverviewView, new CasePickMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void DepartureMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <DepartureMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.ResourceManager.str_ae5218a2_136b_4eee_a2a5_07a866505018_Title, "ae5218a2-136b-4eee-a2a5-07a866505018", Imi.SupplyChain.ActivityMonitor.UX.Modules.Departure.Constants.EventTopicNames.ShowDepartureMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (departureMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(departureMonitorOverviewView, new DepartureMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void PickZoneMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <PickZoneMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.PickZone.ResourceManager.str_b54f04b1_e8ed_476e_8851_37bffa4b866e_Title, "b54f04b1-e8ed-476e-8851-37bffa4b866e", Imi.SupplyChain.ActivityMonitor.UX.Modules.PickZone.Constants.EventTopicNames.ShowPickZoneMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (pickZoneMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(pickZoneMonitorOverviewView, new PickZoneMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void LoadingMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <LoadingMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.Loading.ResourceManager.str_2b50c1d8_19fe_41dc_ba6b_05e86c87a9d8_Title, "2b50c1d8-19fe-41dc-ba6b-05e86c87a9d8", Imi.SupplyChain.ActivityMonitor.UX.Modules.Loading.Constants.EventTopicNames.ShowLoadingMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (loadingMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(loadingMonitorOverviewView, new LoadingMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }
public override void PickPaceMonitorSearchPanelViewAddToFavoritesEventHandler(object sender, DataEventArgs <PickPaceMonitorSearchPanelViewResult> eventArgs) { Imi.SupplyChain.UX.Infrastructure.ShellMenuItem menuItem = HyperlinkHelper.CreateFavoritesItem( Imi.SupplyChain.ActivityMonitor.UX.Modules.PickPace.ResourceManager.str_121ad164_ddc9_495b_a470_c8b6a9e55001_Title, "121ad164-ddc9-495b-a470-c8b6a9e55001", Imi.SupplyChain.ActivityMonitor.UX.Modules.PickPace.Constants.EventTopicNames.ShowPickPaceMonitorDialog, Assembly.GetExecutingAssembly().ManifestModule.Name, eventArgs.Data); ShellInteractionService.AddToFavorites(menuItem); //Get overview view if (pickPaceMonitorOverviewView != null) { UXSettingsService favoriteSettingsService = WorkItem.Items.AddNew <UXSettingsService>(menuItem.Id); favoriteSettingsService.ContainerName = menuItem.Id; favoriteSettingsService.AddProvider(pickPaceMonitorOverviewView, new PickPaceMonitorControllerSettingsProvider()); favoriteSettingsService.SaveSettings(); WorkItem.Items.Remove(favoriteSettingsService); } }