- Timestamp:
- 11/10/14 01:42:42 (10 years ago)
- Location:
- branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3
- Files:
-
- 7 edited
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/GenericPortView.cs
r11526 r11528 30 30 [Content(typeof(IGenericPort), false)] 31 31 public partial class GenericPortView : PortView { 32 protected EntitySelectorDialog entitySelectorDialog;32 protected NetworkItemSelectorDialog networkItemSelectorDialog; 33 33 34 34 public new IGenericPort Content { … … 45 45 protected override void Dispose(bool disposing) { 46 46 if (disposing) { 47 if ( entitySelectorDialog != null) entitySelectorDialog.Dispose();47 if (networkItemSelectorDialog != null) networkItemSelectorDialog.Dispose(); 48 48 if (components != null) components.Dispose(); 49 49 } … … 114 114 115 115 protected virtual void setConnectedPortButton_Click(object sender, EventArgs e) { 116 if ( entitySelectorDialog == null) {117 entitySelectorDialog = new EntitySelectorDialog();118 entitySelectorDialog.Caption = "Select Connected Port";119 entitySelectorDialog.EntitySelector.Caption = "Available Ports";116 if (networkItemSelectorDialog == null) { 117 networkItemSelectorDialog = new NetworkItemSelectorDialog(); 118 networkItemSelectorDialog.Caption = "Select Connected Port"; 119 networkItemSelectorDialog.NetworkItemSelector.Caption = "Available Ports"; 120 120 } 121 121 122 122 try { 123 I Entityroot = Content;123 INetworkItem root = Content; 124 124 while (root.Parent != null) 125 125 root = root.Parent; 126 entitySelectorDialog.EntitySelector.Configure(126 networkItemSelectorDialog.NetworkItemSelector.Configure( 127 127 root, 128 128 Content.ConnectedPort, … … 130 130 ); 131 131 132 if ( entitySelectorDialog.ShowDialog(this) == DialogResult.OK) {133 Content.ConnectedPort = entitySelectorDialog.EntitySelector.SelectedEntityas IConnectedPort;132 if (networkItemSelectorDialog.ShowDialog(this) == DialogResult.OK) { 133 Content.ConnectedPort = networkItemSelectorDialog.NetworkItemSelector.SelectedNetworkItem as IConnectedPort; 134 134 } 135 135 } -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NetworkItemSelector.Designer.cs
r11527 r11528 21 21 22 22 namespace HeuristicLab.Core.Networks.Views { 23 partial class EntitySelector {23 partial class NetworkItemSelector { 24 24 /// <summary> 25 25 /// Required designer variable. … … 46 46 private void InitializeComponent() { 47 47 this.components = new System.ComponentModel.Container(); 48 this. entitiesTreeView = new System.Windows.Forms.TreeView();49 this. entitiesGroupBox = new System.Windows.Forms.GroupBox();48 this.networkItemsTreeView = new System.Windows.Forms.TreeView(); 49 this.networkItemsGroupBox = new System.Windows.Forms.GroupBox(); 50 50 this.imageList = new System.Windows.Forms.ImageList(this.components); 51 this. entitiesGroupBox.SuspendLayout();51 this.networkItemsGroupBox.SuspendLayout(); 52 52 this.SuspendLayout(); 53 53 // 54 // entitiesTreeView54 // networkItemsTreeView 55 55 // 56 this. entitiesTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)56 this.networkItemsTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 57 57 | System.Windows.Forms.AnchorStyles.Left) 58 58 | System.Windows.Forms.AnchorStyles.Right))); 59 this. entitiesTreeView.HideSelection = false;60 this. entitiesTreeView.ImageIndex = 0;61 this. entitiesTreeView.ImageList = this.imageList;62 this. entitiesTreeView.Location = new System.Drawing.Point(6, 19);63 this. entitiesTreeView.Name = "entitiesTreeView";64 this. entitiesTreeView.SelectedImageIndex = 0;65 this. entitiesTreeView.ShowNodeToolTips = true;66 this. entitiesTreeView.Size = new System.Drawing.Size(333, 263);67 this. entitiesTreeView.TabIndex = 0;68 this. entitiesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.entitiesTreeView_AfterSelect);59 this.networkItemsTreeView.HideSelection = false; 60 this.networkItemsTreeView.ImageIndex = 0; 61 this.networkItemsTreeView.ImageList = this.imageList; 62 this.networkItemsTreeView.Location = new System.Drawing.Point(6, 19); 63 this.networkItemsTreeView.Name = "networkItemsTreeView"; 64 this.networkItemsTreeView.SelectedImageIndex = 0; 65 this.networkItemsTreeView.ShowNodeToolTips = true; 66 this.networkItemsTreeView.Size = new System.Drawing.Size(333, 263); 67 this.networkItemsTreeView.TabIndex = 0; 68 this.networkItemsTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.networkItemsTreeView_AfterSelect); 69 69 // 70 // entitiesGroupBox70 // networkItemsGroupBox 71 71 // 72 this. entitiesGroupBox.Controls.Add(this.entitiesTreeView);73 this. entitiesGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;74 this. entitiesGroupBox.Location = new System.Drawing.Point(0, 0);75 this. entitiesGroupBox.Name = "entitiesGroupBox";76 this. entitiesGroupBox.Size = new System.Drawing.Size(345, 288);77 this. entitiesGroupBox.TabIndex = 0;78 this. entitiesGroupBox.TabStop = false;79 this. entitiesGroupBox.Text = "Network Entities";72 this.networkItemsGroupBox.Controls.Add(this.networkItemsTreeView); 73 this.networkItemsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill; 74 this.networkItemsGroupBox.Location = new System.Drawing.Point(0, 0); 75 this.networkItemsGroupBox.Name = "networkItemsGroupBox"; 76 this.networkItemsGroupBox.Size = new System.Drawing.Size(345, 288); 77 this.networkItemsGroupBox.TabIndex = 0; 78 this.networkItemsGroupBox.TabStop = false; 79 this.networkItemsGroupBox.Text = "Network Items"; 80 80 // 81 81 // imageList … … 85 85 this.imageList.TransparentColor = System.Drawing.Color.Transparent; 86 86 // 87 // EntitySelector87 // NetworkItemSelector 88 88 // 89 89 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 90 90 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 91 this.Controls.Add(this. entitiesGroupBox);92 this.Name = " EntitySelector";91 this.Controls.Add(this.networkItemsGroupBox); 92 this.Name = "NetworkItemSelector"; 93 93 this.Size = new System.Drawing.Size(345, 288); 94 this. entitiesGroupBox.ResumeLayout(false);94 this.networkItemsGroupBox.ResumeLayout(false); 95 95 this.ResumeLayout(false); 96 96 … … 99 99 #endregion 100 100 101 protected System.Windows.Forms.GroupBox entitiesGroupBox;102 protected System.Windows.Forms.TreeView entitiesTreeView;101 protected System.Windows.Forms.GroupBox networkItemsGroupBox; 102 protected System.Windows.Forms.TreeView networkItemsTreeView; 103 103 protected System.Windows.Forms.ImageList imageList; 104 104 -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NetworkItemSelector.cs
r11527 r11528 25 25 26 26 namespace HeuristicLab.Core.Networks.Views { 27 public partial class EntitySelector : UserControl {28 protected Func<I Entity, bool> entityCondition;29 protected I Entityroot;30 public I EntityRoot {27 public partial class NetworkItemSelector : UserControl { 28 protected Func<INetworkItem, bool> networkItemCondition; 29 protected INetworkItem root; 30 public INetworkItem Root { 31 31 get { return root; } 32 32 } 33 33 public string Caption { 34 get { return entitiesGroupBox.Text; }34 get { return networkItemsGroupBox.Text; } 35 35 set { 36 36 if (InvokeRequired) 37 37 Invoke(new Action<string>(s => { Caption = s; }), value); 38 38 else 39 entitiesGroupBox.Text = value;39 networkItemsGroupBox.Text = value; 40 40 } 41 41 } 42 public TreeView EntitiesTreeView {43 get { return entitiesTreeView; }42 public TreeView NetworkItemsTreeView { 43 get { return networkItemsTreeView; } 44 44 } 45 protected I Entity selectedEntity;46 public I Entity SelectedEntity{45 protected INetworkItem selectedNetworkItem; 46 public INetworkItem SelectedNetworkItem { 47 47 get { 48 return selected Entity;48 return selectedNetworkItem; 49 49 } 50 50 protected set { 51 if (selected Entity!= value) {52 selected Entity= value;53 OnSelected EntityChanged();51 if (selectedNetworkItem != value) { 52 selectedNetworkItem = value; 53 OnSelectedNetworkItemChanged(); 54 54 } 55 55 } 56 56 } 57 57 58 public EntitySelector() {58 public NetworkItemSelector() { 59 59 InitializeComponent(); 60 60 root = null; 61 entityCondition = null;62 selected Entity= null;61 networkItemCondition = null; 62 selectedNetworkItem = null; 63 63 } 64 64 65 public virtual void Configure(I Entityroot) {65 public virtual void Configure(INetworkItem root) { 66 66 Configure(root, null, (e) => true); 67 67 } 68 public virtual void Configure(I Entity root, IEntity selectedEntity) {69 Configure(root, selected Entity, (e) => true);68 public virtual void Configure(INetworkItem root, INetworkItem selectedNetworkItem) { 69 Configure(root, selectedNetworkItem, (e) => true); 70 70 } 71 public virtual void Configure(I Entity root, IEntity selectedEntity, Type entityType) {72 Configure(root, selected Entity, (e) => { return entityType.IsAssignableFrom(e.GetType()); });71 public virtual void Configure(INetworkItem root, INetworkItem selectedNetworkItem, Type networkItemType) { 72 Configure(root, selectedNetworkItem, (e) => { return networkItemType.IsAssignableFrom(e.GetType()); }); 73 73 } 74 public virtual void Configure(I Entity root, IEntity selectedEntity, Func<IEntity, bool> entityCondition) {74 public virtual void Configure(INetworkItem root, INetworkItem selectedNetworkItem, Func<INetworkItem, bool> networkItemCondition) { 75 75 if (root == null) throw new ArgumentNullException("root"); 76 if ( entityCondition == null) throw new ArgumentNullException("entityCondition");76 if (networkItemCondition == null) throw new ArgumentNullException("networkItemCondition"); 77 77 if (InvokeRequired) 78 Invoke(new Action<I Entity, IEntity, Func<IEntity, bool>>(Configure), root, selectedEntity, entityCondition);78 Invoke(new Action<INetworkItem, INetworkItem, Func<INetworkItem, bool>>(Configure), root, selectedNetworkItem, networkItemCondition); 79 79 else { 80 80 this.root = root; 81 this. entityCondition = entityCondition;82 this.selected Entity= null;83 entitiesTreeView.Nodes.Clear();81 this.networkItemCondition = networkItemCondition; 82 this.selectedNetworkItem = null; 83 networkItemsTreeView.Nodes.Clear(); 84 84 imageList.Images.Clear(); 85 85 86 86 TreeNode selectedNode; 87 var n = CreateTreeNode(Root, selected Entity, entityCondition, out selectedNode);87 var n = CreateTreeNode(Root, selectedNetworkItem, networkItemCondition, out selectedNode); 88 88 if (n != null) 89 entitiesTreeView.Nodes.Add(n);89 networkItemsTreeView.Nodes.Add(n); 90 90 if (selectedNode != null) { 91 entitiesTreeView.SelectedNode = selectedNode;91 networkItemsTreeView.SelectedNode = selectedNode; 92 92 selectedNode.EnsureVisible(); 93 93 } … … 95 95 } 96 96 97 public event EventHandler Selected EntityChanged;98 protected virtual void OnSelected EntityChanged() {99 var handler = Selected EntityChanged;100 if (handler != null) Selected EntityChanged(this, EventArgs.Empty);97 public event EventHandler SelectedNetworkItemChanged; 98 protected virtual void OnSelectedNetworkItemChanged() { 99 var handler = SelectedNetworkItemChanged; 100 if (handler != null) SelectedNetworkItemChanged(this, EventArgs.Empty); 101 101 } 102 102 103 103 #region Control Events 104 protected virtual void entitiesTreeView_AfterSelect(object sender, TreeViewEventArgs e) {105 if ( entitiesTreeView.SelectedNode == null)106 Selected Entity= null;104 protected virtual void networkItemsTreeView_AfterSelect(object sender, TreeViewEventArgs e) { 105 if (networkItemsTreeView.SelectedNode == null) 106 SelectedNetworkItem = null; 107 107 else { 108 var selected = (I Entity)entitiesTreeView.SelectedNode.Tag;109 Selected Entity = ((entityCondition != null) && !entityCondition(selected)) ? null : selected;108 var selected = (INetworkItem)networkItemsTreeView.SelectedNode.Tag; 109 SelectedNetworkItem = ((networkItemCondition != null) && !networkItemCondition(selected)) ? null : selected; 110 110 } 111 111 } … … 113 113 114 114 #region Helpers 115 protected virtual TreeNode CreateTreeNode(I Entity entity, IEntity selectedEntity, Func<IEntity, bool> entityCondition, out TreeNode selectedNode) {115 protected virtual TreeNode CreateTreeNode(INetworkItem networkItem, INetworkItem selectedNetworkItem, Func<INetworkItem, bool> networkItemCondition, out TreeNode selectedNode) { 116 116 selectedNode = null; 117 if ( entity== null) return null;117 if (networkItem == null) return null; 118 118 119 TreeNode node = new TreeNode( entity.Name);120 node.Tag = entity;121 foreach (var child in entity.Children) {119 TreeNode node = new TreeNode(networkItem.Name); 120 node.Tag = networkItem; 121 foreach (var child in networkItem.Children) { 122 122 TreeNode selected; 123 var n = CreateTreeNode(child, selected Entity, entityCondition, out selected);123 var n = CreateTreeNode(child, selectedNetworkItem, networkItemCondition, out selected); 124 124 if (n != null) { 125 125 node.Nodes.Add(n); … … 128 128 129 129 } 130 if (! entityCondition(entity) && (node.Nodes.Count == 0))130 if (!networkItemCondition(networkItem) && (node.Nodes.Count == 0)) 131 131 return null; 132 132 133 imageList.Images.Add( entity.ItemImage);133 imageList.Images.Add(networkItem.ItemImage); 134 134 node.ImageIndex = imageList.Images.Count - 1; 135 135 node.SelectedImageIndex = node.ImageIndex; 136 node.ToolTipText = entity.GetType().GetPrettyName();136 node.ToolTipText = networkItem.GetType().GetPrettyName(); 137 137 138 if ( entity == selectedEntity) selectedNode = node;138 if (networkItem == selectedNetworkItem) selectedNode = node; 139 139 return node; 140 140 } -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NetworkItemSelectorDialog.Designer.cs
r11527 r11528 21 21 22 22 namespace HeuristicLab.Core.Networks.Views { 23 partial class EntitySelectorDialog {23 partial class NetworkItemSelectorDialog { 24 24 /// <summary> 25 25 /// Required designer variable. … … 47 47 this.okButton = new System.Windows.Forms.Button(); 48 48 this.cancelButton = new System.Windows.Forms.Button(); 49 this. entitySelector = new HeuristicLab.Core.Networks.Views.EntitySelector();49 this.networkItemSelector = new HeuristicLab.Core.Networks.Views.NetworkItemSelector(); 50 50 this.SuspendLayout(); 51 51 // … … 72 72 this.cancelButton.UseVisualStyleBackColor = true; 73 73 // 74 // entitySelector74 // networkItemSelector 75 75 // 76 this. entitySelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)76 this.networkItemSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 77 77 | System.Windows.Forms.AnchorStyles.Left) 78 78 | System.Windows.Forms.AnchorStyles.Right))); 79 this. entitySelector.Caption = "Network Entities";80 this. entitySelector.Location = new System.Drawing.Point(12, 12);81 this. entitySelector.Name = "entitySelector";82 this. entitySelector.Size = new System.Drawing.Size(464, 391);83 this. entitySelector.TabIndex = 1;84 this. entitySelector.SelectedEntityChanged += new System.EventHandler(this.entitySelector_SelectedEntityChanged);79 this.networkItemSelector.Caption = "Network Items"; 80 this.networkItemSelector.Location = new System.Drawing.Point(12, 12); 81 this.networkItemSelector.Name = "networkItemSelector"; 82 this.networkItemSelector.Size = new System.Drawing.Size(464, 391); 83 this.networkItemSelector.TabIndex = 1; 84 this.networkItemSelector.SelectedNetworkItemChanged += new System.EventHandler(this.networkItemSelector_SelectedNetworkItemChanged); 85 85 // 86 // EntitySelectorDialog86 // NetworkItemSelectorDialog 87 87 // 88 88 this.AcceptButton = this.okButton; … … 91 91 this.CancelButton = this.cancelButton; 92 92 this.ClientSize = new System.Drawing.Size(488, 444); 93 this.Controls.Add(this. entitySelector);93 this.Controls.Add(this.networkItemSelector); 94 94 this.Controls.Add(this.cancelButton); 95 95 this.Controls.Add(this.okButton); 96 96 this.MaximizeBox = false; 97 97 this.MinimizeBox = false; 98 this.Name = " EntitySelectorDialog";98 this.Name = "NetworkItemSelectorDialog"; 99 99 this.ShowIcon = false; 100 100 this.ShowInTaskbar = false; 101 101 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 102 this.Text = "Select Entity";103 this.Load += new System.EventHandler(this. EntitySelectorDialog_Load);104 this.Shown += new System.EventHandler(this. EntitySelectorDialog_Shown);102 this.Text = "Select Network Item"; 103 this.Load += new System.EventHandler(this.NetworkItemSelectorDialog_Load); 104 this.Shown += new System.EventHandler(this.NetworkItemSelectorDialog_Shown); 105 105 this.ResumeLayout(false); 106 106 … … 111 111 protected System.Windows.Forms.Button okButton; 112 112 protected System.Windows.Forms.Button cancelButton; 113 protected EntitySelector entitySelector;113 protected NetworkItemSelector networkItemSelector; 114 114 115 115 } -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NetworkItemSelectorDialog.cs
r11527 r11528 24 24 25 25 namespace HeuristicLab.Core.Networks.Views { 26 public partial class EntitySelectorDialog : Form {26 public partial class NetworkItemSelectorDialog : Form { 27 27 public string Caption { 28 28 get { return Text; } … … 34 34 } 35 35 } 36 public EntitySelector EntitySelector {37 get { return entitySelector; }36 public NetworkItemSelector NetworkItemSelector { 37 get { return networkItemSelector; } 38 38 } 39 39 40 public EntitySelectorDialog() {40 public NetworkItemSelectorDialog() { 41 41 InitializeComponent(); 42 okButton.Enabled = entitySelector.SelectedEntity!= null;42 okButton.Enabled = networkItemSelector.SelectedNetworkItem != null; 43 43 } 44 protected virtual void EntitySelectorDialog_Load(object sender, EventArgs e) {45 this. entitySelector.EntitiesTreeView.DoubleClick += new System.EventHandler(EntitiesTreeView_DoubleClick);44 protected virtual void NetworkItemSelectorDialog_Load(object sender, EventArgs e) { 45 this.networkItemSelector.NetworkItemsTreeView.DoubleClick += new System.EventHandler(NetworkItemsTreeView_DoubleClick); 46 46 } 47 protected virtual void EntitySelectorDialog_Shown(object sender, EventArgs e) {48 okButton.Enabled = entitySelector.SelectedEntity!= null;47 protected virtual void NetworkItemSelectorDialog_Shown(object sender, EventArgs e) { 48 okButton.Enabled = networkItemSelector.SelectedNetworkItem != null; 49 49 } 50 protected virtual void entitySelector_SelectedEntityChanged(object sender, EventArgs e) {51 okButton.Enabled = entitySelector.SelectedEntity!= null;50 protected virtual void networkItemSelector_SelectedNetworkItemChanged(object sender, EventArgs e) { 51 okButton.Enabled = networkItemSelector.SelectedNetworkItem != null; 52 52 } 53 protected virtual void EntitiesTreeView_DoubleClick(object sender, System.EventArgs e) {54 if ( entitySelector.SelectedEntity!= null) {53 protected virtual void NetworkItemsTreeView_DoubleClick(object sender, System.EventArgs e) { 54 if (networkItemSelector.SelectedNetworkItem != null) { 55 55 DialogResult = DialogResult.OK; 56 56 Close(); -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NetworkItemView.Designer.cs
r11527 r11528 21 21 22 22 namespace HeuristicLab.Core.Networks.Views { 23 partial class EntityView {23 partial class NetworkItemView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 59 59 this.infoLabel.Location = new System.Drawing.Point(626, 3); 60 60 // 61 // EntityView61 // NetworkItemView 62 62 // 63 63 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 64 this.Name = " EntityView";64 this.Name = "NetworkItemView"; 65 65 this.Size = new System.Drawing.Size(645, 517); 66 66 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NetworkItemView.cs
r11527 r11528 26 26 27 27 namespace HeuristicLab.Core.Networks.Views { 28 [View(" EntityView")]29 [Content(typeof( Entity), true)]30 [Content(typeof(I Entity), false)]31 public partial class EntityView : NamedItemView {32 public new I EntityContent {33 get { return (I Entity)base.Content; }28 [View("NetworkItem View")] 29 [Content(typeof(NetworkItem), true)] 30 [Content(typeof(INetworkItem), false)] 31 public partial class NetworkItemView : NamedItemView { 32 public new INetworkItem Content { 33 get { return (INetworkItem)base.Content; } 34 34 set { base.Content = value; } 35 35 } 36 36 37 public EntityView() {37 public NetworkItemView() { 38 38 InitializeComponent(); 39 39 } -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NetworkView.cs
r11526 r11528 27 27 [Content(typeof(Network), true)] 28 28 [Content(typeof(INetwork), false)] 29 public partial class NetworkView : EntityView {29 public partial class NetworkView : NetworkItemView { 30 30 public new INetwork Content { 31 31 get { return (INetwork)base.Content; } -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/NodeView.cs
r11526 r11528 27 27 [Content(typeof(Node), true)] 28 28 [Content(typeof(INode), false)] 29 public partial class NodeView : EntityView {29 public partial class NodeView : NetworkItemView { 30 30 public new INode Content { 31 31 get { return (INode)base.Content; } -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/PortParameterView.cs
r11526 r11528 32 32 [Content(typeof(IPortParameter<>), false)] 33 33 [Content(typeof(IPortParameter), false)] 34 public partial class PortParameterView : EntityView {34 public partial class PortParameterView : NetworkItemView { 35 35 protected TypeSelectorDialog typeSelectorDialog; 36 36 -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Core.Networks.Views/PortView.cs
r11526 r11528 27 27 [Content(typeof(Port), true)] 28 28 [Content(typeof(IPort), false)] 29 public partial class PortView : EntityView {29 public partial class PortView : NetworkItemView { 30 30 public new IPort Content { 31 31 get { return (IPort)base.Content; } -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/HeuristicLab.Optimization.Networks.Views-3.3.csproj
r11526 r11528 91 91 </ItemGroup> 92 92 <ItemGroup> 93 <Compile Include="Core.Networks.Views\EntitySelector.cs">94 <SubType>UserControl</SubType>95 </Compile>96 <Compile Include="Core.Networks.Views\EntitySelector.Designer.cs">97 <DependentUpon>EntitySelector.cs</DependentUpon>98 </Compile>99 <Compile Include="Core.Networks.Views\EntitySelectorDialog.cs">100 <SubType>Form</SubType>101 </Compile>102 <Compile Include="Core.Networks.Views\EntitySelectorDialog.Designer.cs">103 <DependentUpon>EntitySelectorDialog.cs</DependentUpon>104 </Compile>105 <Compile Include="Core.Networks.Views\EntityView.cs">106 <SubType>UserControl</SubType>107 </Compile>108 <Compile Include="Core.Networks.Views\EntityView.Designer.cs">109 <DependentUpon>EntityView.cs</DependentUpon>110 </Compile>111 93 <Compile Include="Core.Networks.Views\GenericNodeView.cs"> 112 94 <SubType>UserControl</SubType> … … 144 126 <Compile Include="Core.Networks.Views\MessageView.Designer.cs"> 145 127 <DependentUpon>MessageView.cs</DependentUpon> 128 </Compile> 129 <Compile Include="Core.Networks.Views\NetworkItemSelector.cs"> 130 <SubType>UserControl</SubType> 131 </Compile> 132 <Compile Include="Core.Networks.Views\NetworkItemSelector.Designer.cs"> 133 <DependentUpon>NetworkItemSelector.cs</DependentUpon> 134 </Compile> 135 <Compile Include="Core.Networks.Views\NetworkItemSelectorDialog.cs"> 136 <SubType>Form</SubType> 137 </Compile> 138 <Compile Include="Core.Networks.Views\NetworkItemSelectorDialog.Designer.cs"> 139 <DependentUpon>NetworkItemSelectorDialog.cs</DependentUpon> 140 </Compile> 141 <Compile Include="Core.Networks.Views\NetworkItemView.cs"> 142 <SubType>UserControl</SubType> 143 </Compile> 144 <Compile Include="Core.Networks.Views\NetworkItemView.Designer.cs"> 145 <DependentUpon>NetworkItemView.cs</DependentUpon> 146 146 </Compile> 147 147 <Compile Include="Core.Networks.Views\NetworkView.cs"> -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/Optimization.Networks.Views/AlgorithmNodeView.cs
r11526 r11528 31 31 [Content(typeof(AlgorithmNode), true)] 32 32 [Content(typeof(IAlgorithmNode), false)] 33 public partial class AlgorithmNodeView : EntityView {33 public partial class AlgorithmNodeView : NetworkItemView { 34 34 protected TypeSelectorDialog typeSelectorDialog; 35 35
Note: See TracChangeset
for help on using the changeset viewer.