summaryrefslogtreecommitdiff
path: root/src/Notepad/Presentation/Model/Menu/File/NewMenuItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Notepad/Presentation/Model/Menu/File/NewMenuItem.cs')
-rw-r--r--src/Notepad/Presentation/Model/Menu/File/NewMenuItem.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Notepad/Presentation/Model/Menu/File/NewMenuItem.cs b/src/Notepad/Presentation/Model/Menu/File/NewMenuItem.cs
new file mode 100644
index 0000000..ab527d8
--- /dev/null
+++ b/src/Notepad/Presentation/Model/Menu/File/NewMenuItem.cs
@@ -0,0 +1,17 @@
+using System;
+
+namespace Notepad.Presentation.Model.Menu.File {
+ public class NewMenuItem : IMenuItem {
+ public void Click() {
+ throw new NotImplementedException();
+ }
+
+ public bool BelongsTo(ISubMenu menu) {
+ return menu.Name().Equals(MenuNames.File);
+ }
+
+ public string Name() {
+ return "&New";
+ }
+ }
+} \ No newline at end of file