Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10239


Ignore:
Timestamp:
12/18/13 13:55:04 (9 years ago)
Author:
psteiner
Message:

DataPreprocessingView + Refactoring

Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
Files:
5 added
2 edited
2 moved

Legend:

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

    r10237 r10239  
    7777  </ItemGroup>
    7878  <ItemGroup>
    79     <None Include="Plugin.cs.frame" />
    80     <Compile Include="DataPreprocessingView.cs">
     79    <Compile Include="Implementations\DataGridLogic.cs" />
     80    <Compile Include="Interfaces\IDataGridLogic.cs" />
     81    <Compile Include="Views\DataPreprocessingView.cs">
    8182      <SubType>UserControl</SubType>
    8283    </Compile>
    83     <Compile Include="DataPreprocessingView.Designer.cs">
     84    <Compile Include="Views\DataPreprocessingView.designer.cs">
    8485      <DependentUpon>DataPreprocessingView.cs</DependentUpon>
    8586    </Compile>
     87    <None Include="Plugin.cs.frame" />
    8688    <Compile Include="Implementations\DataGridContent.cs" />
    8789    <Compile Include="Implementations\PreprocessingContext.cs" />
     
    9092    <Compile Include="Implementations\SearchLogic.cs" />
    9193    <Compile Include="Implementations\StatisticInfo.cs" />
    92     <Compile Include="DataGridContentView.cs">
     94    <Compile Include="Views\DataGridContentView.cs">
    9395      <SubType>UserControl</SubType>
    9496    </Compile>
    95     <Compile Include="DataGridContentView.Designer.cs">
     97    <Compile Include="Views\DataGridContentView.Designer.cs">
    9698      <DependentUpon>DataGridContentView.cs</DependentUpon>
    9799    </Compile>
     
    163165    </ProjectReference>
    164166  </ItemGroup>
     167  <ItemGroup>
     168    <EmbeddedResource Include="Views\DataPreprocessingView.resx">
     169      <DependentUpon>DataPreprocessingView.cs</DependentUpon>
     170    </EmbeddedResource>
     171  </ItemGroup>
    165172  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    166173  <PropertyGroup>
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridContent.cs

    r10236 r10239  
    55using System.Text;
    66using HeuristicLab.Data;
     7using HeuristicLab.Core;
     8using HeuristicLab.Common;
     9using System.Drawing;
    710
    811namespace HeuristicLab.DataPreprocessing {
    9   public class DataGridContent : IDataGridContent {
     12
     13  [Item("DataGridContent", "Represents a data grid.")]
     14    public class DataGridContent : Item,IDataGridContent,IContent
     15    {
    1016    private readonly IPreprocessingData preprocessingData;
    1117   
    1218    public DataGridContent(IPreprocessingData thePreprocessingData) {
    1319      preprocessingData = thePreprocessingData;
     20    }
     21
     22    public DataGridContent(DataGridContent dataGridContent, Cloner cloner)
     23        : base(dataGridContent, cloner)
     24    {
     25
     26    }
     27
     28    public IDataGridLogic DataGridLogic { get; set; }
     29
     30    public static new Image StaticItemImage
     31    {
     32        get { return HeuristicLab.Common.Resources.VSImageLibrary.Table; }
     33    }
     34
     35    public override IDeepCloneable Clone(Cloner cloner)
     36    {
     37        return new DataGridContent(this, cloner);
    1438    }
    1539
Note: See TracChangeset for help on using the changeset viewer.