Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows.Forms;
|
---|
6 |
|
---|
7 | using HeuristicLab.Common.Resources;
|
---|
8 | using HeuristicLab.MainForm.WindowsForms;
|
---|
9 |
|
---|
10 | namespace HeuristicLab.MainForm.Test {
|
---|
11 | public class NewEditorToolStripMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, 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.