Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/01/21 14:37:18 (3 years ago)
Author:
dpiringe
Message:

#3026

  • removed the option to set the value for JsonItems via exporter
    • reworked some base controls
    • added new controls for JsonItem specific properties (e.g. ArrayResizable)
    • deleted a lot of obsolet controls
  • removed the Enable checkbox in the detail view of JsonItems
  • exporter now clones the IOptimizer object
  • added a check + message for unsupported exports
  • list of JsonItems now includes unsupported JsonItems (disabled and marked with 'unsupported')
  • refactored the converter type check
    • now every converter has to specify its supported type(s)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/FileManager.cs

    r17477 r17828  
    2626      IStorableContent content = view.Content as IStorableContent;
    2727      if (!view.Locked && content != null) {
    28         exportDialog.Content = content;
    29         exportDialog.ShowDialog();
     28        if(content is IOptimizer) {
     29          exportDialog.Content = content;
     30          exportDialog.ShowDialog();
     31        } else {
     32          MessageBox.Show("This cannot item cannot be converted.", "Unsupported Item", MessageBoxButtons.OK);
     33        }
    3034      }
    3135    }
Note: See TracChangeset for help on using the changeset viewer.