Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/10/14 02:34:58 (9 years ago)
Author:
swagner
Message:

#2205: Implemented review comments

  • made Node and Network abstract
  • renamed GenericNode to UserDefinedNode and sealed it
  • added sealed UserDefinedNetwork
  • made Nodes in Network not changeable by default
  • made Parameters in ParameterizedPort not changeable by default
  • removed value None in PortParameterType
  • refactored call algorithm.PrepareMessage() in AlgorithmNode
File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/UserDefinedNodeView.cs

    r11527 r11529  
    2424
    2525namespace HeuristicLab.Core.Networks.Views {
    26   [View("GenericNode View")]
    27   [Content(typeof(GenericNode), true)]
    28   [Content(typeof(IGenericNode), false)]
    29   public partial class GenericNodeView : NodeView {
    30     public new IGenericNode Content {
    31       get { return (IGenericNode)base.Content; }
     26  [View("UserDefinedNode View")]
     27  [Content(typeof(UserDefinedNode), true)]
     28  [Content(typeof(IUserDefinedNode), false)]
     29  public partial class UserDefinedNodeView : NodeView {
     30    public new IUserDefinedNode Content {
     31      get { return (IUserDefinedNode)base.Content; }
    3232      set { base.Content = value; }
    3333    }
    3434
    35     public GenericNodeView() {
     35    public UserDefinedNodeView() {
    3636      InitializeComponent();
    3737    }
Note: See TracChangeset for help on using the changeset viewer.