41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Input;
|
|
using DjRedo.Views;
|
|
using Plume.Icons;
|
|
using Plume.Interfaces.Modules;
|
|
using Plume.Interfaces.WPF.Modules;
|
|
using Plume.Interfaces.WPF.ToolBar;
|
|
using Plume.Interfaces.WPF.Window;
|
|
using Plume.WPF.Commands;
|
|
|
|
namespace DjRedo
|
|
{
|
|
public class DjRedoModule : IWpfModule
|
|
{
|
|
private IWpfModuleContext _context;
|
|
private IModuleSetup _setup;
|
|
|
|
/// <inheritdoc />
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public void Setup(IModuleSetup setup)
|
|
{
|
|
_setup = setup;
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public void Initialize(IWpfModuleContext context)
|
|
{
|
|
_context = context;
|
|
_context.WindowManager.AddToolWindow("DjRedoMainWindow", "DjRedo", StandardIcon.Audio, new DjRedoToolWindow(context), DockingSide.Left, new DoubleKeyGesture(ModifierKeys.Control, Key.D, Key.M));
|
|
}
|
|
}
|
|
}
|