using System.Windows.Input; using JD.AssetBrowser.Actions; using JD.AssetBrowser.Actions.Asset; using JD.AssetBrowser.View; using Plume.Icons; using Plume.Interfaces.Modules; using Plume.Interfaces.WPF.Actions; using Plume.Interfaces.WPF.Modules; using Plume.Interfaces.WPF.Window; using Plume.WPF.Commands; namespace JD.AssetBrowser { public class AssetBrowserModule : IWpfModule { /// public void Initialize(IWpfModuleContext context) { IActionManager actionService = context.ActionManager; actionService.Register(); actionService.Register(); actionService.Register(); actionService.Register(); actionService.Register(); actionService.Register(); actionService.Register(); actionService.Register(); context.ToolBarManager.AddButton("AssetBrowser", actionService.Get()); context.MenuManager.AddMenuItem("Assets", actionService.Get()); context.WindowManager.AddToolWindow("AssetBrowserWindow", "Asset Browser", StandardIcon.FilterFolder, new AssetBrowserControl(), DockingSide.Left, new DoubleKeyGesture(ModifierKeys.Control, Key.V, Key.B)); } public void Setup(IModuleSetup setup) { } public void Dispose() { } } }