Changeset 11712 for branches/OptimizationNetworks/HeuristicLab.Networks
- Timestamp:
- 12/22/14 02:20:11 (10 years ago)
- Location:
- branches/OptimizationNetworks/HeuristicLab.Networks/3.3
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/KSPTSPConnector.cs
r11577 r11712 24 24 using HeuristicLab.Networks.Programmable; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using System.Drawing;27 26 28 27 namespace HeuristicLab.Networks { … … 30 29 [StorableClass] 31 30 public class KSPTSPConnector : ProgrammableNode { 32 public static new Image StaticItemImage {33 get { return HeuristicLab.Common.Resources.VSImageLibrary.RadialChart; }34 }35 36 31 protected override string CodeTemplate { 37 32 get { return ReadCodeTemplate("HeuristicLab.Networks.KSPTSPConnectorCode.cs"); } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/KSPTSPConnectorCode.cs
r11577 r11712 27 27 using HeuristicLab.Networks.Programmable; 28 28 using HeuristicLab.Problems.TravelingSalesman; 29 using System.Drawing;30 29 using System.Linq; 31 30 using System.Threading; … … 34 33 [Item("KSPTSPConnector", "A node of an optimization network which connects a KSP and a TSP.")] 35 34 public class CompiledKSPTSPConnector : ProgrammableNode.CompiledProgrammableNode { 36 public static new Image StaticItemImage {37 get { return HeuristicLab.Common.Resources.VSImageLibrary.RadialChart; }38 }39 40 35 protected CompiledKSPTSPConnector(CompiledKSPTSPConnector original, Cloner cloner) : base(original, cloner) { } 41 36 public CompiledKSPTSPConnector(ProgrammableNode context) -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/KSPTSPNetwork.cs
r11577 r11712 24 24 using HeuristicLab.Networks.Programmable; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using System.Drawing;27 26 28 27 namespace HeuristicLab.Networks { … … 31 30 [StorableClass] 32 31 public class KSPTSPNetwork : ProgrammableNetwork { 33 public static new Image StaticItemImage {34 get { return HeuristicLab.Common.Resources.VSImageLibrary.Module; }35 }36 37 32 protected override string CodeTemplate { 38 33 get { return ReadCodeTemplate("HeuristicLab.Networks.KSPTSPNetworkCode.cs"); } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/KSPTSPNetworkCode.cs
r11577 r11712 32 32 using HeuristicLab.Problems.Knapsack; 33 33 using HeuristicLab.Problems.TravelingSalesman; 34 using System.Drawing;35 34 using System.Linq; 36 35 … … 38 37 [Item("KSPTSPNetwork", "An optimization network which connects a KSP and a TSP.")] 39 38 public class CompiledKSPTSPNetwork : ProgrammableNetwork.CompiledProgrammableNetwork { 40 public static new Image StaticItemImage {41 get { return HeuristicLab.Common.Resources.VSImageLibrary.Module; }42 }43 44 39 protected CompiledKSPTSPNetwork(CompiledKSPTSPNetwork original, Cloner cloner) : base(original, cloner) { } 45 40 public CompiledKSPTSPNetwork(ProgrammableNetwork context) -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Programmable/ProgrammableNetwork.cs
r11602 r11712 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 26 using System.Collections.Generic; 27 using System.Drawing; 27 28 using System.Linq; 28 29 … … 31 32 [StorableClass] 32 33 public abstract class ProgrammableNetwork : ProgrammableNode, IProgrammableNetwork, IStorableContent { 34 public static new Image StaticItemImage { 35 get { return HeuristicLab.Common.Resources.VSImageLibrary.Module; } 36 } 37 33 38 #region IStorableContent Members 34 39 public string Filename { get; set; } … … 84 89 [Item("CompiledProgrammableNetwork", "Abstract base class for compiled programmable networks.")] 85 90 public abstract class CompiledProgrammableNetwork : CompiledProgrammableNode, INetwork { 91 public static new Image StaticItemImage { 92 get { return HeuristicLab.Common.Resources.VSImageLibrary.Module; } 93 } 94 86 95 #region Network Members 87 96 public override IEnumerable<INetworkItem> Children { -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Programmable/ProgrammableNetworkItem.cs
r11602 r11712 40 40 public abstract class ProgrammableNetworkItem : Item, IProgrammableNetworkItem { 41 41 public static new Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary. Script; }42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 43 43 } 44 44 … … 292 292 public abstract class CompiledProgrammableNetworkItem : Item, INetworkItem { 293 293 public static new Image StaticItemImage { 294 get { return HeuristicLab.Common.Resources.VSImageLibrary. Script; }294 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 295 295 } 296 296 -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Programmable/ProgrammableNode.cs
r11602 r11712 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 26 using System.Collections.Generic; 27 using System.Drawing; 27 28 using System.Linq; 28 29 using System.Threading; … … 32 33 [StorableClass] 33 34 public abstract class ProgrammableNode : ProgrammableNetworkItem, IProgrammableNode { 35 public static new Image StaticItemImage { 36 get { return HeuristicLab.Common.Resources.VSImageLibrary.RadialChart; } 37 } 38 34 39 #region Node Members 35 40 new public INetwork Parent { … … 89 94 [Item("CompiledProgrammableNode", "Abstract base class for compiled programmable nodes of a network.")] 90 95 public abstract class CompiledProgrammableNode : CompiledProgrammableNetworkItem, INode { 96 public static new Image StaticItemImage { 97 get { return HeuristicLab.Common.Resources.VSImageLibrary.RadialChart; } 98 } 99 91 100 #region Node Members 92 101 new public INetwork Parent { -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Programmable/UserDefinedNetwork.cs
r11577 r11712 24 24 using HeuristicLab.Core.Networks; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using System.Drawing; 26 27 27 28 namespace HeuristicLab.Networks.Programmable { … … 30 31 [StorableClass] 31 32 public sealed class UserDefinedNetwork : ProgrammableNetwork, IUserDefinedNetwork { 33 public static new Image StaticItemImage { 34 get { return HeuristicLab.Common.Resources.VSImageLibrary.Script; } 35 } 36 32 37 new public PortCollection Ports { 33 38 get { return base.Ports; } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Programmable/UserDefinedNode.cs
r11577 r11712 24 24 using HeuristicLab.Core.Networks; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using System.Drawing; 26 27 27 28 namespace HeuristicLab.Networks.Programmable { … … 29 30 [StorableClass] 30 31 public sealed class UserDefinedNode : ProgrammableNode, IUserDefinedNode { 32 public static new Image StaticItemImage { 33 get { return HeuristicLab.Common.Resources.VSImageLibrary.Script; } 34 } 35 31 36 new public PortCollection Ports { 32 37 get { return base.Ports; }
Note: See TracChangeset
for help on using the changeset viewer.