Changeset 2773 for trunk/sources/HeuristicLab.Operators.Views/3.3
- Timestamp:
- 02/10/10 03:39:02 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Views/3.3
- Files:
-
- 2 added
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views/3.3/HeuristicLab.Operators.Views-3.3.csproj
r2756 r2773 58 58 </Compile> 59 59 <None Include="HeuristicLabOperatorsViewsPlugin.cs.frame" /> 60 <Compile Include="Multiple SuccessorsOperatorView.cs">60 <Compile Include="MultipleCallsOperatorView.cs"> 61 61 <SubType>UserControl</SubType> 62 62 </Compile> 63 <Compile Include="MultipleSuccessorsOperatorView.Designer.cs"> 64 <DependentUpon>MultipleSuccessorsOperatorView.cs</DependentUpon> 63 <Compile Include="MultipleCallsOperatorView.Designer.cs"> 64 <DependentUpon>MultipleCallsOperatorView.cs</DependentUpon> 65 </Compile> 66 <Compile Include="ValuesCollectorView.cs"> 67 <SubType>UserControl</SubType> 68 </Compile> 69 <Compile Include="ValuesCollectorView.Designer.cs"> 70 <DependentUpon>ValuesCollectorView.cs</DependentUpon> 65 71 </Compile> 66 72 <Compile Include="HeuristicLabOperatorsViewsPlugin.cs" /> -
trunk/sources/HeuristicLab.Operators.Views/3.3/MultipleCallsOperatorView.Designer.cs
r2772 r2773 21 21 22 22 namespace HeuristicLab.Operators.Views { 23 partial class Multiple SuccessorsOperatorView {23 partial class MultipleCallsOperatorView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 46 46 private void InitializeComponent() { 47 47 this.tabControl = new System.Windows.Forms.TabControl(); 48 this. successorsTabPage = new System.Windows.Forms.TabPage();49 this. successorsListView = new HeuristicLab.Core.Views.OperatorListView();48 this.operatorsTabPage = new System.Windows.Forms.TabPage(); 49 this.operatorListView = new HeuristicLab.Core.Views.OperatorListView(); 50 50 this.parametersTabPage = new System.Windows.Forms.TabPage(); 51 51 this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView(); 52 52 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 53 53 this.tabControl.SuspendLayout(); 54 this. successorsTabPage.SuspendLayout();54 this.operatorsTabPage.SuspendLayout(); 55 55 this.parametersTabPage.SuspendLayout(); 56 56 this.SuspendLayout(); … … 73 73 | System.Windows.Forms.AnchorStyles.Left) 74 74 | System.Windows.Forms.AnchorStyles.Right))); 75 this.tabControl.Controls.Add(this. successorsTabPage);75 this.tabControl.Controls.Add(this.operatorsTabPage); 76 76 this.tabControl.Controls.Add(this.parametersTabPage); 77 77 this.tabControl.Location = new System.Drawing.Point(0, 118); … … 81 81 this.tabControl.TabIndex = 4; 82 82 // 83 // successorsTabPage83 // operatorsTabPage 84 84 // 85 this. successorsTabPage.Controls.Add(this.successorsListView);86 this. successorsTabPage.Location = new System.Drawing.Point(4, 22);87 this. successorsTabPage.Name = "successorsTabPage";88 this. successorsTabPage.Padding = new System.Windows.Forms.Padding(3);89 this. successorsTabPage.Size = new System.Drawing.Size(478, 338);90 this. successorsTabPage.TabIndex = 0;91 this. successorsTabPage.Text = "Successors";92 this. successorsTabPage.UseVisualStyleBackColor = true;85 this.operatorsTabPage.Controls.Add(this.operatorListView); 86 this.operatorsTabPage.Location = new System.Drawing.Point(4, 22); 87 this.operatorsTabPage.Name = "operatorsTabPage"; 88 this.operatorsTabPage.Padding = new System.Windows.Forms.Padding(3); 89 this.operatorsTabPage.Size = new System.Drawing.Size(478, 338); 90 this.operatorsTabPage.TabIndex = 0; 91 this.operatorsTabPage.Text = "Operators"; 92 this.operatorsTabPage.UseVisualStyleBackColor = true; 93 93 // 94 // successorsListView94 // operatorListView 95 95 // 96 this. successorsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)96 this.operatorListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 97 97 | System.Windows.Forms.AnchorStyles.Left) 98 98 | System.Windows.Forms.AnchorStyles.Right))); 99 this. successorsListView.Caption = "Operator List";100 this. successorsListView.Content = null;101 this. successorsListView.Location = new System.Drawing.Point(6, 6);102 this. successorsListView.Name = "successorsListView";103 this. successorsListView.Size = new System.Drawing.Size(466, 326);104 this. successorsListView.TabIndex = 0;99 this.operatorListView.Caption = "Operator List"; 100 this.operatorListView.Content = null; 101 this.operatorListView.Location = new System.Drawing.Point(6, 6); 102 this.operatorListView.Name = "operatorListView"; 103 this.operatorListView.Size = new System.Drawing.Size(466, 326); 104 this.operatorListView.TabIndex = 0; 105 105 // 106 106 // parametersTabPage … … 127 127 this.parameterCollectionView.TabIndex = 0; 128 128 // 129 // Multiple SuccessorsOperatorView129 // MultipleCallsOperatorView 130 130 // 131 131 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 132 132 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 133 133 this.Controls.Add(this.tabControl); 134 this.Name = "Multiple SuccessorsOperatorView";134 this.Name = "MultipleCallsOperatorView"; 135 135 this.Size = new System.Drawing.Size(486, 482); 136 136 this.Controls.SetChildIndex(this.tabControl, 0); … … 141 141 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); 142 142 this.tabControl.ResumeLayout(false); 143 this. successorsTabPage.ResumeLayout(false);143 this.operatorsTabPage.ResumeLayout(false); 144 144 this.parametersTabPage.ResumeLayout(false); 145 145 this.ResumeLayout(false); … … 151 151 152 152 protected System.Windows.Forms.TabControl tabControl; 153 protected System.Windows.Forms.TabPage successorsTabPage;153 protected System.Windows.Forms.TabPage operatorsTabPage; 154 154 protected System.Windows.Forms.TabPage parametersTabPage; 155 155 private HeuristicLab.Core.Views.ParameterCollectionView parameterCollectionView; 156 private HeuristicLab.Core.Views.OperatorListView successorsListView;156 private HeuristicLab.Core.Views.OperatorListView operatorListView; 157 157 } 158 158 } -
trunk/sources/HeuristicLab.Operators.Views/3.3/MultipleCallsOperatorView.cs
r2772 r2773 35 35 /// The base class for visual representations of items. 36 36 /// </summary> 37 [Content(typeof(Multiple SuccessorsOperator), true)]38 public partial class Multiple SuccessorsOperatorView : NamedItemView {39 public new Multiple SuccessorsOperator Content {40 get { return (Multiple SuccessorsOperator)base.Content; }37 [Content(typeof(MultipleCallsOperator), true)] 38 public partial class MultipleCallsOperatorView : NamedItemView { 39 public new MultipleCallsOperator Content { 40 get { return (MultipleCallsOperator)base.Content; } 41 41 set { base.Content = value; } 42 42 } … … 45 45 /// Initializes a new instance of <see cref="ItemBaseView"/>. 46 46 /// </summary> 47 public Multiple SuccessorsOperatorView() {47 public MultipleCallsOperatorView() { 48 48 InitializeComponent(); 49 49 } … … 52 52 /// </summary> 53 53 /// <param name="item">The item that should be displayed.</param> 54 public Multiple SuccessorsOperatorView(MultipleSuccessorsOperator content)54 public MultipleCallsOperatorView(MultipleCallsOperator content) 55 55 : this() { 56 56 Content = content; … … 60 60 base.OnContentChanged(); 61 61 if (Content == null) { 62 successorsListView.Content = null;62 operatorListView.Content = null; 63 63 parameterCollectionView.Content = null; 64 64 tabControl.Enabled = false; 65 65 } else { 66 successorsListView.Content = Content.Successors;66 operatorListView.Content = Content.Operators; 67 67 parameterCollectionView.Content = ((IOperator)Content).Parameters; 68 68 tabControl.Enabled = true;
Note: See TracChangeset
for help on using the changeset viewer.