- Timestamp:
- 10/29/15 10:08:31 (9 years ago)
- Location:
- branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core
- Files:
-
- 8 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core/INetworkItem.cs
r11577 r13077 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core/IPort.cs
r11577 r13077 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core/NetworkItem.cs
r11577 r13077 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;24 using System;25 22 using System.Collections.Generic; 26 23 using System.Drawing; 27 24 using System.Linq; 25 using HeuristicLab.Common; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 27 29 28 namespace HeuristicLab.Core.Networks { -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core/Node.cs
r11577 r13077 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;24 22 using System.Collections.Generic; 25 23 using System.Drawing; 26 24 using System.Linq; 25 using HeuristicLab.Common; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 27 28 28 namespace HeuristicLab.Core.Networks { 29 29 [Item("Node", "Abstract base class for nodes of a network.")] 30 30 [StorableClass] 31 public abstract class Node : NetworkItem, I Node {31 public abstract class Node : NetworkItem, IVisualizableNode { 32 32 public static new Image StaticItemImage { 33 33 get { return HeuristicLab.Common.Resources.VSImageLibrary.RadialChart; } … … 55 55 if (readOnlyPorts == null) readOnlyPorts = ports.AsReadOnly(); 56 56 return readOnlyPorts; 57 } 58 } 59 60 public string VisualName { get { return Name; } } 61 62 [Storable] 63 private INodeVisualProperties visualProperties; 64 public INodeVisualProperties VisualProperties { 65 get { 66 if (visualProperties == null) 67 visualProperties = new NodeVisualProperties(); 68 return visualProperties; 57 69 } 58 70 } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core/Port.cs
r11713 r13077 20 20 #endregion 21 21 22 using System.Drawing; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 using System.Drawing;25 25 26 26 namespace HeuristicLab.Core.Networks { 27 27 [Item("Port", "Abstract base class for ports of network nodes.")] 28 28 [StorableClass] 29 public abstract class Port : NetworkItem, I Port {29 public abstract class Port : NetworkItem, IVisualizablePort { 30 30 public static new Image StaticItemImage { 31 31 get { return HeuristicLab.Common.Resources.VSImageLibrary.Interface; } … … 40 40 } 41 41 42 [Storable] 43 private IPortVisualProperties visualProperties; 44 public IPortVisualProperties VisualProperties { 45 get { 46 if (visualProperties == null) 47 visualProperties = new PortVisualProperties(); 48 return visualProperties; 49 } 50 } 51 42 52 [StorableConstructor] 43 53 protected Port(bool deserializing) : base(deserializing) { }
Note: See TracChangeset
for help on using the changeset viewer.