Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/09/20 10:36:09 (5 years ago)
Author:
dpiringe
Message:

#3026:

  • deleted INamedMatrixJsonItem and all corresponding classes/views, because of bad design
  • added ILookupJsonItem and IValueLookupJsonItem (incl. all corresponding implementations, VMs, Views)
  • added IResultJsonItem
  • changed type of property Control from JsonItemBaseControl to UserControl in IJsonItemVM (because the details control now builds up with linked user controls -> allows better construction of dynamic controls)
  • added all properties of INamedMatrixJsonItem in IMatrixJsonItem
  • refactored a lot of views for better usage (TableLayoutPanel is used a lot now -> for better item positioning)
  • property ActualName is now located in ILookupJsonItem instead of IJsonItem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/LookupParameterConverter.cs

    r17433 r17471  
    1212   
    1313    public override void Inject(IItem item, IJsonItem data, IJsonItemConverter root) =>
    14       ((ILookupParameter)item).ActualName = data.ActualName as string;
     14      ((ILookupParameter)item).ActualName = ((ILookupJsonItem)data).ActualName as string;
    1515
    1616    public override IJsonItem Extract(IItem value, IJsonItemConverter root) {
    1717      IParameter parameter = value as IParameter;
    1818
    19       IJsonItem item = new JsonItem() {
     19      IJsonItem item = new LookupJsonItem() {
    2020        Name = parameter.Name,
    2121        Description = parameter.Description,
Note: See TracChangeset for help on using the changeset viewer.