Changeset 2947 for trunk/sources/HeuristicLab.Core.Views/3.3
- Timestamp:
- 03/06/10 00:26:13 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Core.Views/3.3
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj
r2917 r2947 285 285 </ProjectReference> 286 286 </ItemGroup> 287 <ItemGroup>288 <EmbeddedResource Include="OperatorGraphView.resx">289 <DependentUpon>OperatorGraphView.cs</DependentUpon>290 </EmbeddedResource>291 </ItemGroup>292 287 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 293 288 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemCollectionView.cs
r2917 r2947 65 65 return item; 66 66 } 67 protected override ListViewItem CreateListViewItem(T item) { 68 ListViewItem listViewItem = base.CreateListViewItem(item); 69 listViewItem.ToolTipText = item.ItemName + ": " + item.Description; 70 return listViewItem; 71 } 67 72 protected override void AddListViewItem(ListViewItem listViewItem) { 68 73 ListViewItemDictionary.Add((T)listViewItem.Tag, listViewItem); -
trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.Designer.cs
r2924 r2947 51 51 this.splitContainer = new System.Windows.Forms.SplitContainer(); 52 52 this.graphGroupBox = new System.Windows.Forms.GroupBox(); 53 this. viewHost = new HeuristicLab.Core.Views.ViewHost();53 this.operatorTreeView = new HeuristicLab.Core.Views.OperatorTreeView(); 54 54 this.operatorsContextMenuStrip.SuspendLayout(); 55 55 this.splitContainer.Panel1.SuspendLayout(); … … 112 112 | System.Windows.Forms.AnchorStyles.Left) 113 113 | System.Windows.Forms.AnchorStyles.Right))); 114 this.graphGroupBox.Controls.Add(this. viewHost);114 this.graphGroupBox.Controls.Add(this.operatorTreeView); 115 115 this.graphGroupBox.Location = new System.Drawing.Point(3, 3); 116 116 this.graphGroupBox.Name = "graphGroupBox"; … … 120 120 this.graphGroupBox.Text = "Operator Graph"; 121 121 // 122 // viewHost122 // operatorTreeView 123 123 // 124 this.viewHost.Content = null; 125 this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill; 126 this.viewHost.Location = new System.Drawing.Point(3, 16); 127 this.viewHost.Name = "viewHost"; 128 this.viewHost.Size = new System.Drawing.Size(596, 189); 129 this.viewHost.TabIndex = 0; 124 this.operatorTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 125 | System.Windows.Forms.AnchorStyles.Left) 126 | System.Windows.Forms.AnchorStyles.Right))); 127 this.operatorTreeView.Caption = "Operator"; 128 this.operatorTreeView.Content = null; 129 this.operatorTreeView.Location = new System.Drawing.Point(6, 19); 130 this.operatorTreeView.Name = "operatorTreeView"; 131 this.operatorTreeView.Size = new System.Drawing.Size(590, 183); 132 this.operatorTreeView.TabIndex = 0; 130 133 // 131 134 // OperatorGraphView … … 152 155 protected System.Windows.Forms.SplitContainer splitContainer; 153 156 protected System.Windows.Forms.GroupBox graphGroupBox; 154 private ViewHost viewHost;157 private OperatorTreeView operatorTreeView; 155 158 } 156 159 } -
trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs
r2917 r2947 49 49 InitializeComponent(); 50 50 Caption = "Operator Graph"; 51 this.viewHost.ViewType = typeof(OperatorTreeView);52 51 } 53 52 /// <summary> … … 89 88 operatorsView.Content = null; 90 89 operatorsView.Enabled = false; 91 viewHost.Content = null;92 viewHost.Enabled = false;90 operatorTreeView.Content = null; 91 operatorTreeView.Enabled = false; 93 92 94 93 if (Content != null) { … … 97 96 operatorsView.Enabled = true; 98 97 MarkInitialOperator(); 99 viewHost.Content = Content.InitialOperator;100 viewHost.Enabled = true;98 operatorTreeView.Content = Content.InitialOperator; 99 operatorTreeView.Enabled = true; 101 100 } 102 101 } … … 140 139 else { 141 140 MarkInitialOperator(); 142 viewHost.Content = Content.InitialOperator;141 operatorTreeView.Content = Content.InitialOperator; 143 142 } 144 143 }
Note: See TracChangeset
for help on using the changeset viewer.