Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/14 12:38:07 (11 years ago)
Author:
pfleck
Message:
  • Current Transformations from GUI stored in TransformationContent.
  • Corrected namespace from Transformation interfaces.
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.cs

    r10735 r10772  
    4949        var statisticsLogic = new StatisticsLogic(data, searchLogic);
    5050        var manipulationLogic = new ManipulationLogic(data, searchLogic, statisticsLogic, dataGridLogic);
    51         var transformationLogic = new TransformationLogic(data, searchLogic, statisticsLogic);
    5251        var lineChartLogic = new ChartLogic(data);
    5352        var histogramLogic = new ChartLogic(data);
    5453        var filterLogic = new FilterLogic(data);
    5554
    56        
    57 
    58         var viewShortcuts = new ItemCollection<IViewShortcut>() {
     55        var viewShortcuts = new ItemCollection<IViewShortcut> {
    5956          new DataGridContent(dataGridLogic, manipulationLogic, filterLogic),
    6057          new StatisticsContent(statisticsLogic),
    6158          new FilterContent(filterLogic),
    62           new TransformationContent(transformationLogic),
     59          new TransformationContent(data),
    6360          new ManipulationContent(manipulationLogic),
    6461          new LineChartContent(lineChartLogic),
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj

    r10771 r10772  
    226226      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    227227    </ProjectReference>
     228    <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.3\HeuristicLab.Problems.DataAnalysis.Transformations-3.3.csproj">
     229      <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>
     230      <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.3</Name>
     231    </ProjectReference>
    228232    <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Views\3.4\HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj">
    229233      <Project>{3E9E8944-44FF-40BB-A622-3A4A7DD0F198}</Project>
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/Plugin.cs.frame

    r10676 r10772  
    3434  [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")]
    3535  [PluginDependency("HeuristicLab.Problems.DataAnalysis.Views","3.4")]
     36  [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.3")]
    3637  public class HeuristicLabDataPreprocessingPlugin : PluginBase {
    3738  }
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/TransformationView.Designer.cs

    r10734 r10772  
    1919 */
    2020#endregion
     21
     22using HeuristicLab.Problems.DataAnalysis.Transformations;
    2123
    2224namespace HeuristicLab.DataPreprocessing.Views {
     
    4547    /// </summary>
    4648    private void InitializeComponent() {
    47       this.label1 = new System.Windows.Forms.Label();
    48       this.SuspendLayout();
     49      components = new System.ComponentModel.Container();
     50      this.transformationCollectionView = new HeuristicLab.Core.Views.CheckedItemCollectionView<ITransformation>();
     51      // transformationCollectionView
    4952      //
    50       // label1
    51       //
    52       this.label1.AutoSize = true;
    53       this.label1.Location = new System.Drawing.Point(26, 68);
    54       this.label1.Name = "label1";
    55       this.label1.Size = new System.Drawing.Size(103, 13);
    56       this.label1.TabIndex = 0;
    57       this.label1.Text = "Not yet implemented";
     53      this.transformationCollectionView.Caption = "Transformations";
     54      this.transformationCollectionView.Content = null;
     55      this.transformationCollectionView.Dock = System.Windows.Forms.DockStyle.Fill;
     56      this.transformationCollectionView.Location = new System.Drawing.Point(0, 0);
     57      this.transformationCollectionView.Name = "transformationCollectionView";
     58      this.transformationCollectionView.Size = new System.Drawing.Size(627, 528);
     59      this.transformationCollectionView.TabIndex = 0;
    5860      //
    5961      // TransformationView
     
    6163      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    6264      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    63       this.Controls.Add(this.label1);
     65      this.Controls.Add(this.transformationCollectionView);
    6466      this.Name = "TransformationView";
     67      this.Size = new System.Drawing.Size(627, 528);
    6568      this.ResumeLayout(false);
    66       this.PerformLayout();
    6769
    6870    }
    6971
    7072    #endregion
    71 
    72     private System.Windows.Forms.Label label1;
     73    private Core.Views.CheckedItemCollectionView<ITransformation> transformationCollectionView;
    7374  }
    7475}
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/TransformationView.cs

    r10712 r10772  
    2222using HeuristicLab.MainForm;
    2323using HeuristicLab.MainForm.WindowsForms;
     24using HeuristicLab.Problems.DataAnalysis.Transformations;
    2425
    2526namespace HeuristicLab.DataPreprocessing.Views {
     
    3637      set { base.Content = value; }
    3738    }
     39
     40    protected override void OnContentChanged() {
     41      base.OnContentChanged();
     42      if (Content == null) {
     43        transformationCollectionView.Content = null;
     44      } else {
     45        transformationCollectionView.Content = Content.CheckedTransformationCollection;
     46      }
     47    }
    3848  }
    3949}
Note: See TracChangeset for help on using the changeset viewer.