Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.Optimizer/3.3/MenuItems/Separators.cs @ 17537

Last change on this file since 17537 was 17331, checked in by dpiringe, 5 years ago

#3026

  • added new project: HeuristicLab.JsonInterface.OptimizerIntegration -> to generate/load .json templates in HeuristicLab.Optimizer
  • added new menu dropdown items (Import/Export) in HeuristicLab.Optimizer -> they are only active when they have items
  • added item for Import/Export menu items (Json-Template), logic in file FileManager.cs in project HeuristicLab.JsonInterface.OptimizerIntegration
  • repositioned CloseMenuItem, CloseAllMenuItem and added new seperator in menu File (to separate import/export from save/open and close/closeAll)
File size: 1.8 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System.Collections.Generic;
23using HeuristicLab.MainForm;
24
25namespace HeuristicLab.Optimizer.MenuItems {
26  internal class FileBeforeExitSeperator : MenuSeparatorItem, IOptimizerUserInterfaceItemProvider {
27    public override IEnumerable<string> Structure {
28      get { return new string[] { "&File" }; }
29    }
30
31    public override int Position {
32      get { return 1998; }
33    }
34  }
35
36  internal class FileAfterSaveAsSeperator : MenuSeparatorItem, IOptimizerUserInterfaceItemProvider {
37    public override IEnumerable<string> Structure {
38      get { return new string[] { "&File" }; }
39    }
40
41    public override int Position {
42      get { return 1499; }
43    }
44  }
45
46  internal class FileBeforeCloseSeperator : MenuSeparatorItem, IOptimizerUserInterfaceItemProvider
47  {
48    public override IEnumerable<string> Structure
49    {
50      get { return new string[] { "&File" }; }
51    }
52
53    public override int Position
54    {
55      get { return 1699; }
56    }
57  }
58}
Note: See TracBrowser for help on using the repository browser.