Last change
on this file since 17399 was
17342,
checked in by dpiringe, 5 years ago
|
#3026
- in JsonItem:
- renamed property Default to Value
- removed usage of Reference for ValueLookupParameter
- created new property ActualName for the actual name and using property Value for the value of an ValueLookupParameter
- fixed a bug in ValueTypeMatrixConverter -> now it correctly resizes ValueTypeMatrix<T>
- fixed a bug in ValueParameterConverter -> when ActualValue is null, but there is data for it, a new instance will get created
|
File size:
786 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 | using HeuristicLab.Common;
|
---|
7 | using HeuristicLab.MainForm;
|
---|
8 | using HeuristicLab.Optimizer;
|
---|
9 |
|
---|
10 | namespace HeuristicLab.JsonInterface.OptimizerIntegration.MenuItems {
|
---|
11 | internal class ImportJsonTemplateMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, IOptimizerUserInterfaceItemProvider {
|
---|
12 | public override string Name {
|
---|
13 | get { return "Json-Template..."; }
|
---|
14 | }
|
---|
15 | public override IEnumerable<string> Structure {
|
---|
16 | get { return new string[] { "&File", "&Import" }; }
|
---|
17 | }
|
---|
18 | public override int Position {
|
---|
19 | get { return 1501; }
|
---|
20 | }
|
---|
21 |
|
---|
22 | public override void Execute() {
|
---|
23 | FileManager.ImportJsonTemplate();
|
---|
24 | }
|
---|
25 | }
|
---|
26 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.