Changeset 10539 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/HistogramContent.cs
- Timestamp:
- 03/05/14 14:48:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/HistogramContent.cs
r10313 r10539 1 using HeuristicLab.Common; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System.Drawing; 23 using HeuristicLab.Common; 2 24 using HeuristicLab.Core; 3 using System.Drawing;4 using System;5 using System.Collections.Generic;6 25 7 using System.Linq;8 using System.Text;9 26 10 namespace HeuristicLab.DataPreprocessing 11 { 27 namespace HeuristicLab.DataPreprocessing { 12 28 [Item("Histogram", "Represents the histogram grid.")] 13 public class HistogramContent : Item 14 { 29 public class HistogramContent : Item { 15 30 16 31 private readonly IHistogramLogic histogramLogic; 17 public HistogramContent(IHistogramLogic theHistogramLogic) 18 { 32 public HistogramContent(IHistogramLogic theHistogramLogic) { 19 33 histogramLogic = theHistogramLogic; 20 34 } 21 35 22 36 public HistogramContent(HistogramContent content, Cloner cloner) 23 : base(content, cloner) 24 { 37 : base(content, cloner) { 25 38 26 39 } 27 40 28 public IHistogramLogic HistogramLogic 29 { 30 get 31 { 41 public IHistogramLogic HistogramLogic { 42 get { 32 43 return histogramLogic; 33 44 } 34 45 } 35 46 36 public static new Image StaticItemImage 37 { 47 public static new Image StaticItemImage { 38 48 get { return HeuristicLab.Common.Resources.VSImageLibrary.PieChart; } 39 49 } 40 50 41 public override IDeepCloneable Clone(Cloner cloner) 42 { 51 public override IDeepCloneable Clone(Cloner cloner) { 43 52 return new HistogramContent(this, cloner); 44 53 }
Note: See TracChangeset
for help on using the changeset viewer.