Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Persistence Test/HeuristicLab.MainForm.Test/3.2/MenuItems/NewEditorToolStripMenuItem.cs @ 2859

Last change on this file since 2859 was 2458, checked in by mkommend, 15 years ago

integrated branch MainForm refactoring into trunk (ticket #771)

File size: 741 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Forms;
6
7using HeuristicLab.Common.Resources;
8using HeuristicLab.MainForm.WindowsForms;
9
10namespace HeuristicLab.MainForm.Test {
11  public class NewEditorToolStripMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItemBase, ITestUserInterfaceItemProvider {
12    public override string Name {
13      get { return "Editor"; }
14    }
15
16    public override IEnumerable<string> Structure {
17      get { return "File/New".Split('/'); }
18    }
19
20    public override int Position {
21      get { return 1120; }
22    }
23
24    public override void Execute() {
25      NewEditorAction.Execute(MainFormManager.MainForm);
26    }
27  }
28}
Note: See TracBrowser for help on using the repository browser.