Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/22/10 04:15:53 (15 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on algorithms
Location:
trunk/sources/HeuristicLab.Optimization.Views/3.3
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/HeuristicLab.Optimization.Views-3.3.csproj

    r2834 r2851  
    5252  <ItemGroup>
    5353    <None Include="HeuristicLabOptimizationViewsPlugin.cs.frame" />
     54    <Compile Include="AlgorithmView.cs">
     55      <SubType>UserControl</SubType>
     56    </Compile>
     57    <Compile Include="AlgorithmView.Designer.cs">
     58      <DependentUpon>AlgorithmView.cs</DependentUpon>
     59    </Compile>
     60    <Compile Include="UserDefinedAlgorithmView.cs">
     61      <SubType>UserControl</SubType>
     62    </Compile>
     63    <Compile Include="UserDefinedAlgorithmView.Designer.cs">
     64      <DependentUpon>UserDefinedAlgorithmView.cs</DependentUpon>
     65    </Compile>
     66    <Compile Include="EngineAlgorithmView.cs">
     67      <SubType>UserControl</SubType>
     68    </Compile>
     69    <Compile Include="EngineAlgorithmView.Designer.cs">
     70      <DependentUpon>EngineAlgorithmView.cs</DependentUpon>
     71    </Compile>
    5472    <Compile Include="HeuristicLabOptimizationViewsPlugin.cs" />
    5573    <Compile Include="ProblemView.cs">
     
    6987      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    7088      <Name>HeuristicLab.Collections-3.3</Name>
     89    </ProjectReference>
     90    <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.2\HeuristicLab.Common.Resources-3.2.csproj">
     91      <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
     92      <Name>HeuristicLab.Common.Resources-3.2</Name>
     93    </ProjectReference>
     94    <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj">
     95      <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project>
     96      <Name>HeuristicLab.Common-3.2</Name>
    7197    </ProjectReference>
    7298    <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj">
     
    89115      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    90116      <Name>HeuristicLab.Optimization-3.3</Name>
     117    </ProjectReference>
     118    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
     119      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
     120      <Name>HeuristicLab.Persistence-3.3</Name>
    91121    </ProjectReference>
    92122    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj">
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/HeuristicLabOptimizationViewsPlugin.cs.frame

    r2834 r2851  
    2929  [PluginFile("HeuristicLab.Optimization.Views-3.3.dll", PluginFileType.Assembly)]
    3030  [PluginDependency("HeuristicLab.Collections", "3.3")]
     31  [PluginDependency("HeuristicLab.Common", "3.2")]
     32  [PluginDependency("HeuristicLab.Common.Resources", "3.2")]
    3133  [PluginDependency("HeuristicLab.Core", "3.3")]
    3234  [PluginDependency("HeuristicLab.Core.Views", "3.3")]
     
    3436  [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.2")]
    3537  [PluginDependency("HeuristicLab.Optimization", "3.3")]
     38  [PluginDependency("HeuristicLab.Persistence", "3.3")]
    3639  public class HeuristicLabOptimizationViewsPlugin : PluginBase {
    3740  }
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ProblemView.Designer.cs

    r2834 r2851  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView();
    4847      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    4948      this.SuspendLayout();
     
    6160      this.descriptionTextBox.Size = new System.Drawing.Size(418, 87);
    6261      //
    63       // parameterCollectionView
    64       //
    65       this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    66                   | System.Windows.Forms.AnchorStyles.Left)
    67                   | System.Windows.Forms.AnchorStyles.Right)));
    68       this.parameterCollectionView.Caption = "ParameterCollection";
    69       this.parameterCollectionView.Content = null;
    70       this.parameterCollectionView.Location = new System.Drawing.Point(0, 119);
    71       this.parameterCollectionView.Name = "parameterCollectionView";
    72       this.parameterCollectionView.Size = new System.Drawing.Size(490, 234);
    73       this.parameterCollectionView.TabIndex = 4;
    74       //
    7562      // ProblemView
    7663      //
    7764      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    7865      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    79       this.Controls.Add(this.parameterCollectionView);
    8066      this.Name = "ProblemView";
    8167      this.Size = new System.Drawing.Size(490, 353);
    82       this.Controls.SetChildIndex(this.parameterCollectionView, 0);
    83       this.Controls.SetChildIndex(this.nameLabel, 0);
    84       this.Controls.SetChildIndex(this.descriptionLabel, 0);
    85       this.Controls.SetChildIndex(this.nameTextBox, 0);
    86       this.Controls.SetChildIndex(this.descriptionTextBox, 0);
    8768      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    8869      this.ResumeLayout(false);
     
    9374    #endregion
    9475
    95     protected HeuristicLab.Core.Views.ParameterCollectionView parameterCollectionView;
    9676
    9777  }
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ProblemView.cs

    r2834 r2851  
    2929  [Content(typeof(Problem), true)]
    3030  [Content(typeof(IProblem), false)]
    31   public partial class ProblemView : NamedItemView {
     31  public partial class ProblemView : ParameterizedNamedItemView {
    3232    public new IProblem Content {
    3333      get { return (IProblem)base.Content; }
     
    5252    protected override void OnContentChanged() {
    5353      base.OnContentChanged();
    54       if (Content == null)
    55         parameterCollectionView.Content = null;
    56       else
    57         parameterCollectionView.Content = ((IProblem)Content).Parameters;
    5854    }
    5955  }
Note: See TracChangeset for help on using the changeset viewer.