Changeset 2947
- Timestamp:
- 03/06/10 00:26:13 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 deleted
- 9 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 } -
trunk/sources/HeuristicLab.Encodings.Permutation/3.3/PermutationCrossover.cs
r2907 r2947 47 47 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators.")); 48 48 Parameters.Add(new SubScopesLookupParameter<Permutation>("Parents", "The parent permutations which should be crossed.")); 49 ParentsParameter.ActualName = "Permutation"; 49 50 Parameters.Add(new LookupParameter<Permutation>("Child", "The child permutation resulting from the crossover.")); 51 ChildParameter.ActualName = "Permutation"; 50 52 } 51 53 -
trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.Designer.cs
r2916 r2947 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserDefinedAlgorithmView)); 47 48 this.operatorGraphTabPage = new System.Windows.Forms.TabPage(); 48 49 this.saveOperatorGraphButton = new System.Windows.Forms.Button(); … … 64 65 // createUserDefinedAlgorithmButton 65 66 // 67 this.createUserDefinedAlgorithmButton.Enabled = false; 66 68 this.toolTip.SetToolTip(this.createUserDefinedAlgorithmButton, "Create User Defined Algorithm from this Algorithm"); 69 this.createUserDefinedAlgorithmButton.Visible = false; 67 70 // 68 71 // tabControl … … 114 117 this.operatorGraphTabPage.Location = new System.Drawing.Point(4, 22); 115 118 this.operatorGraphTabPage.Name = "operatorGraphTabPage"; 116 this.operatorGraphTabPage.Size = new System.Drawing.Size(705, 374);119 this.operatorGraphTabPage.Size = new System.Drawing.Size(705, 441); 117 120 this.operatorGraphTabPage.TabIndex = 2; 118 121 this.operatorGraphTabPage.Text = "Operator Graph"; … … 160 163 this.operatorGraphViewHost.Location = new System.Drawing.Point(3, 33); 161 164 this.operatorGraphViewHost.Name = "operatorGraphViewHost"; 162 this.operatorGraphViewHost.Size = new System.Drawing.Size(699, 338);165 this.operatorGraphViewHost.Size = new System.Drawing.Size(699, 405); 163 166 this.operatorGraphViewHost.TabIndex = 0; 164 167 this.operatorGraphViewHost.ViewType = null; … … 169 172 this.globalScopeTabPage.Location = new System.Drawing.Point(4, 22); 170 173 this.globalScopeTabPage.Name = "globalScopeTabPage"; 171 this.globalScopeTabPage.Size = new System.Drawing.Size(705, 374);174 this.globalScopeTabPage.Size = new System.Drawing.Size(705, 441); 172 175 this.globalScopeTabPage.TabIndex = 3; 173 176 this.globalScopeTabPage.Text = "Global Scope"; … … 183 186 this.globalScopeView.Location = new System.Drawing.Point(3, 3); 184 187 this.globalScopeView.Name = "globalScopeView"; 185 this.globalScopeView.Size = new System.Drawing.Size(699, 368);188 this.globalScopeView.Size = new System.Drawing.Size(699, 435); 186 189 this.globalScopeView.TabIndex = 0; 187 190 // -
trunk/sources/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r2932 r2947 27 27 namespace HeuristicLab.Parameters { 28 28 /// <summary> 29 /// A parameter whose value is defined i tthe parameter itself or is null.29 /// A parameter whose value is defined in the parameter itself or is null. 30 30 /// </summary> 31 [Item("OptionalValueParameter<T>", "A parameter whose value is defined i tthe parameter itself or is null.")]31 [Item("OptionalValueParameter<T>", "A parameter whose value is defined in the parameter itself or is null.")] 32 32 public class OptionalValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem { 33 33 private T value; -
trunk/sources/HeuristicLab.Parameters/3.3/ValueLookupParameter.cs
r2932 r2947 27 27 namespace HeuristicLab.Parameters { 28 28 /// <summary> 29 /// A parameter whose value is either defined i tthe parameter itself or is retrieved from the scope.29 /// A parameter whose value is either defined in the parameter itself or is retrieved from the scope. 30 30 /// </summary> 31 [Item("ValueLookupParameter<T>", "A parameter whose value is either defined i tthe parameter itself or is retrieved from or written to a scope.")]31 [Item("ValueLookupParameter<T>", "A parameter whose value is either defined in the parameter itself or is retrieved from or written to a scope.")] 32 32 public class ValueLookupParameter<T> : LookupParameter<T>, IValueLookupParameter<T> where T : class, IItem { 33 33 private T value; -
trunk/sources/HeuristicLab.Parameters/3.3/ValueParameter.cs
r2931 r2947 27 27 namespace HeuristicLab.Parameters { 28 28 /// <summary> 29 /// A parameter whose value is defined i tthe parameter itself.29 /// A parameter whose value is defined in the parameter itself. 30 30 /// </summary> 31 [Item("ValueParameter<T>", "A parameter whose value is defined i tthe parameter itself.")]31 [Item("ValueParameter<T>", "A parameter whose value is defined in the parameter itself.")] 32 32 [EmptyStorableClass] 33 33 public class ValueParameter<T> : OptionalValueParameter<T> where T : class, IItem {
Note: See TracChangeset
for help on using the changeset viewer.