Last change
on this file since 10967 was
10967,
checked in by aesterer, 10 years ago
|
Implemented cloning constructor for chart contents
|
File size:
1.4 KB
|
Rev | Line | |
---|
[10877] | 1 | using HeuristicLab.Common;
|
---|
| 2 | using HeuristicLab.Core;
|
---|
| 3 | using System;
|
---|
| 4 | using System.Collections.Generic;
|
---|
| 5 | using System.Drawing;
|
---|
| 6 | using System.Linq;
|
---|
| 7 | using System.Text;
|
---|
| 8 |
|
---|
| 9 | namespace HeuristicLab.DataPreprocessing
|
---|
| 10 | {
|
---|
| 11 | [Item("DataCompletenessChart", "Represents a datacompleteness chart.")]
|
---|
[10962] | 12 | public class DataCompletenessChartContent : Item, IViewChartShortcut
|
---|
[10877] | 13 | {
|
---|
[10913] | 14 | private readonly DataGridLogic dataGridLogic;
|
---|
| 15 | private readonly SearchLogic searchLogic;
|
---|
[10877] | 16 |
|
---|
[10913] | 17 | public DataCompletenessChartContent(DataGridLogic dataGridLogic, SearchLogic searchLogic)
|
---|
[10877] | 18 | {
|
---|
[10913] | 19 | this.dataGridLogic = dataGridLogic;
|
---|
| 20 | this.searchLogic = searchLogic;
|
---|
[10877] | 21 | }
|
---|
| 22 |
|
---|
| 23 | public DataCompletenessChartContent(DataCompletenessChartContent content, Cloner cloner)
|
---|
| 24 | : base(content, cloner)
|
---|
| 25 | {
|
---|
[10967] | 26 | this.dataGridLogic = content.dataGridLogic;
|
---|
| 27 | this.searchLogic = content.searchLogic;
|
---|
[10877] | 28 | }
|
---|
| 29 |
|
---|
[10913] | 30 | public IDataGridLogic DataGridLogic
|
---|
[10877] | 31 | {
|
---|
| 32 | get
|
---|
| 33 | {
|
---|
[10913] | 34 | return dataGridLogic;
|
---|
[10877] | 35 | }
|
---|
| 36 | }
|
---|
| 37 |
|
---|
[10913] | 38 | public ISearchLogic SearchLogic
|
---|
| 39 | {
|
---|
| 40 | get
|
---|
| 41 | {
|
---|
| 42 | return searchLogic;
|
---|
| 43 | }
|
---|
| 44 | }
|
---|
| 45 |
|
---|
[10877] | 46 | public static new Image StaticItemImage
|
---|
| 47 | {
|
---|
| 48 | get { return HeuristicLab.Common.Resources.VSImageLibrary.EditBrightnessContrast; }
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | public override IDeepCloneable Clone(Cloner cloner)
|
---|
| 52 | {
|
---|
| 53 | return new DataCompletenessChartContent(this, cloner);
|
---|
| 54 | }
|
---|
| 55 | }
|
---|
| 56 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.