34 lines
888 B
C#
34 lines
888 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Input;
|
|
using JD.AssetViewer.View;
|
|
using Plume.Icons;
|
|
using Plume.Interfaces.Modules;
|
|
using Plume.Interfaces.WPF.Modules;
|
|
using Plume.Interfaces.WPF.Window;
|
|
using Plume.WPF.Commands;
|
|
|
|
namespace JD.AssetViewer
|
|
{
|
|
public class AssetViewerModule : IWpfModule
|
|
{
|
|
/// <inheritdoc />
|
|
public void Initialize(IWpfModuleContext context)
|
|
{
|
|
var assetViewer = new AssetViewerControl();
|
|
context.WindowManager.AddToolWindow("AssetViewerWindow", "Asset Viewer", StandardIcon.Image, assetViewer, DockingSide.Right, new DoubleKeyGesture(ModifierKeys.Control, Key.V, Key.V));
|
|
}
|
|
|
|
public void Setup(IModuleSetup setup)
|
|
{
|
|
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
}
|
|
}
|
|
}
|