Last change
on this file since 10962 was
10962,
checked in by aesterer, 10 years ago
|
Added cloning for chart contents on double click
|
File size:
1.3 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 | {
|
---|
| 26 | }
|
---|
| 27 |
|
---|
[10913] | 28 | public IDataGridLogic DataGridLogic
|
---|
[10877] | 29 | {
|
---|
| 30 | get
|
---|
| 31 | {
|
---|
[10913] | 32 | return dataGridLogic;
|
---|
[10877] | 33 | }
|
---|
| 34 | }
|
---|
| 35 |
|
---|
[10913] | 36 | public ISearchLogic SearchLogic
|
---|
| 37 | {
|
---|
| 38 | get
|
---|
| 39 | {
|
---|
| 40 | return searchLogic;
|
---|
| 41 | }
|
---|
| 42 | }
|
---|
| 43 |
|
---|
[10877] | 44 | public static new Image StaticItemImage
|
---|
| 45 | {
|
---|
| 46 | get { return HeuristicLab.Common.Resources.VSImageLibrary.EditBrightnessContrast; }
|
---|
| 47 | }
|
---|
| 48 |
|
---|
| 49 | public override IDeepCloneable Clone(Cloner cloner)
|
---|
| 50 | {
|
---|
| 51 | return new DataCompletenessChartContent(this, cloner);
|
---|
| 52 | }
|
---|
| 53 | }
|
---|
| 54 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.