Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10303


Ignore:
Timestamp:
01/08/14 14:23:25 (10 years ago)
Author:
aesterer
Message:

Added empty views classes; Inserted view items into data preprocessing view

Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
Files:
10 added
11 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/HeuristicLab.DataPreprocessing-3.3.csproj

    r10251 r10303  
    9494    <Compile Include="Interfaces\ILineChartLogic.cs" />
    9595    <Compile Include="Interfaces\ITransformationLogic.cs" />
     96    <Compile Include="Views\FilterView.cs">
     97      <SubType>UserControl</SubType>
     98    </Compile>
     99    <Compile Include="Views\FilterView.Designer.cs">
     100      <DependentUpon>FilterView.cs</DependentUpon>
     101    </Compile>
    96102    <Compile Include="Views\DataPreprocessingView.cs">
    97103      <SubType>UserControl</SubType>
     
    99105    <Compile Include="Views\DataPreprocessingView.designer.cs">
    100106      <DependentUpon>DataPreprocessingView.cs</DependentUpon>
     107    </Compile>
     108    <Compile Include="Views\HistogramView.cs">
     109      <SubType>UserControl</SubType>
     110    </Compile>
     111    <Compile Include="Views\HistogramView.Designer.cs">
     112      <DependentUpon>HistogramView.cs</DependentUpon>
     113    </Compile>
     114    <Compile Include="Views\LineChartView.cs">
     115      <SubType>UserControl</SubType>
     116    </Compile>
     117    <Compile Include="Views\LineChartView.Designer.cs">
     118      <DependentUpon>LineChartView.cs</DependentUpon>
     119    </Compile>
     120    <Compile Include="Views\StatisticsView.cs">
     121      <SubType>UserControl</SubType>
     122    </Compile>
     123    <Compile Include="Views\StatisticsView.Designer.cs">
     124      <DependentUpon>StatisticsView.cs</DependentUpon>
     125    </Compile>
     126    <Compile Include="Views\TransformationView.cs">
     127      <SubType>UserControl</SubType>
     128    </Compile>
     129    <Compile Include="Views\TransformationView.Designer.cs">
     130      <DependentUpon>TransformationView.cs</DependentUpon>
    101131    </Compile>
    102132    <None Include="Plugin.cs.frame" />
     
    188218    </ProjectReference>
    189219  </ItemGroup>
     220  <ItemGroup>
     221    <EmbeddedResource Include="Views\DataPreprocessingView.resx">
     222      <DependentUpon>DataPreprocessingView.cs</DependentUpon>
     223    </EmbeddedResource>
     224  </ItemGroup>
    190225  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    191226  <PropertyGroup>
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterContent.cs

    r10252 r10303  
    1010{
    1111  [Item("FilterContent", "Represents the filter grid.")]
    12   class FilterContent : Item
     12  public class FilterContent : Item
    1313  {
    1414
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterLogic.cs

    r10244 r10303  
    44using System.Text;
    55
    6 namespace HeuristicLab.DataPreprocessing.Implementations
     6namespace HeuristicLab.DataPreprocessing
    77{
    88  public class FilterLogic : IFilterLogic
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/HistogramContent.cs

    r10252 r10303  
    1111{
    1212  [Item("HistogramContent", "Represents the histogram grid.")]
    13   class HistogramContent : Item
     13  public class HistogramContent : Item
    1414  {
    1515
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/HistogramLogic.cs

    r10244 r10303  
    44using System.Text;
    55
    6 namespace HeuristicLab.DataPreprocessing.Implementations
     6namespace HeuristicLab.DataPreprocessing
    77{
    88  public class HistogramLogic : IHistogramLogic
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/LineChartContent.cs

    r10252 r10303  
    1010{
    1111  [Item("LineChartContent", "Represents the line chart grid.")]
    12   class LineChartContent : Item
     12  public class LineChartContent : Item
    1313  {
    1414
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/LineChartLogic.cs

    r10252 r10303  
    44using System.Text;
    55
    6 namespace HeuristicLab.DataPreprocessing.Implementations
     6namespace HeuristicLab.DataPreprocessing
    77{
    88  public class LineChartLogic:ILineChartLogic
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsContent.cs

    r10252 r10303  
    1010{
    1111  [Item("StatisticsContent", "Represents the statistics grid.")]
    12   class StatisticsContent : Item
     12  public class StatisticsContent : Item
    1313  {
    1414
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/TransformationContent.cs

    r10252 r10303  
    1010{
    1111  [Item("TransformationContent", "Represents the transformation grid.")]
    12   class TransformationContent : Item
     12  public class TransformationContent : Item
    1313  {
    1414
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.cs

    r10259 r10303  
    1717
    1818    private DataGridContent dataGridContent;
     19    private StatisticsContent statisticsContent;
     20    private FilterContent filterContent;
     21    private TransformationContent tranformationContent;
     22    private LineChartContent lineChartContent;
     23    private HistogramContent histogramContent;
     24
    1925    private Dictionary<ListViewItem, IItem> listViewItemItemMapping;
    2026
     
    4551      ISearchLogic searchLogic = new SearchLogic(data);
    4652      dataGridContent = new DataGridContent(new DataGridLogic(data), new PreprocessingDataManipulation(data, searchLogic, new StatisticsLogic(data, searchLogic)));
     53      statisticsContent = new StatisticsContent(new StatisticsLogic(data, searchLogic));
     54      filterContent = new FilterContent(new FilterLogic());
     55      tranformationContent = new TransformationContent(new TransformationLogic());
     56      lineChartContent = new LineChartContent(new LineChartLogic());
     57      histogramContent = new HistogramContent(new HistogramLogic());
    4758
    4859      listViewItemItemMapping = new Dictionary<ListViewItem, IItem>();
     
    5061      listViewItemItemMapping[contentListViewItem] = dataGridContent;
    5162
     63      ListViewItem statisticsListViewItem = CreateListViewItem(statisticsContent);
     64      listViewItemItemMapping[statisticsListViewItem] = statisticsContent;
     65
     66      ListViewItem filterListViewItem = CreateListViewItem(filterContent);
     67      listViewItemItemMapping[filterListViewItem] = filterContent;
     68
     69      ListViewItem transformationListViewItem = CreateListViewItem(tranformationContent);
     70      listViewItemItemMapping[transformationListViewItem] = tranformationContent;
     71
     72      ListViewItem lineChartListViewItem = CreateListViewItem(lineChartContent);
     73      listViewItemItemMapping[lineChartListViewItem] = lineChartContent;
     74
     75      ListViewItem histogramListViewItem = CreateListViewItem(histogramContent);
     76      listViewItemItemMapping[histogramListViewItem] = histogramContent;
     77
     78      contentListView.Items.Add(statisticsListViewItem);
    5279      contentListView.Items.Add(contentListViewItem);
     80      contentListView.Items.Add(filterListViewItem);
     81      contentListView.Items.Add(transformationListViewItem);
     82      contentListView.Items.Add(lineChartListViewItem);
     83      contentListView.Items.Add(histogramListViewItem);
    5384    }
    5485
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.designer.cs

    r10260 r10303  
    6464      this.contentListView.TabIndex = 0;
    6565      this.contentListView.UseCompatibleStateImageBehavior = false;
     66      this.contentListView.View = System.Windows.Forms.View.List;
    6667      this.contentListView.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
    6768      this.contentListView.DoubleClick += new System.EventHandler(this.listView1_DoubleClick);
Note: See TracChangeset for help on using the changeset viewer.