forked from Viniixd/Remastered-AssetsEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEditorCommands.cs
More file actions
34 lines (28 loc) · 1008 Bytes
/
EditorCommands.cs
File metadata and controls
34 lines (28 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Windows.Input;
namespace Assets_Editor;
/// <summary>
/// Centralized routed commands used for editor-wide keyboard shortcuts.
/// </summary>
public static class EditorCommands
{
public static readonly RoutedUICommand CopyFlags = new RoutedUICommand(
"Copy Flags",
nameof(CopyFlags),
typeof(EditorCommands));
public static readonly RoutedUICommand PasteFlags = new RoutedUICommand(
"Paste Flags",
nameof(PasteFlags),
typeof(EditorCommands));
public static readonly RoutedUICommand SaveItem = new RoutedUICommand(
"Save Item",
nameof(SaveItem),
typeof(EditorCommands));
public static readonly RoutedUICommand ClearFlags = new RoutedUICommand(
"Clear Flags",
nameof(ClearFlags),
typeof(EditorCommands));
public static readonly RoutedUICommand DuplicateItem = new RoutedUICommand(
"Duplicate Item",
nameof(DuplicateItem),
typeof(EditorCommands));
}