Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/14 11:42:51 (10 years ago)
Author:
aesterer
Message:

Changed content icons. Copied data table view and removed title.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.cs

    r10761 r10771  
    3131
    3232namespace HeuristicLab.Analysis.Views {
    33   [View("DataTable View")]
    34   [Content(typeof(DataTable), true)]
    35   public partial class DataTableView : NamedItemView, IConfigureableView {
     33  [View("Preprocessing DataTable View")]
     34  [Content(typeof(DataTable), false)]
     35  public partial class PreprocessingDataTableView : ItemView, IConfigureableView {
    3636    protected List<Series> invisibleSeries;
    3737    protected Dictionary<IObservableList<double>, DataRow> valuesRowsTable;
     
    4242    }
    4343
    44     public DataTableView() {
     44    public PreprocessingDataTableView() {
    4545      InitializeComponent();
    4646      valuesRowsTable = new Dictionary<IObservableList<double>, DataRow>();
     
    9595      base.OnContentChanged();
    9696      invisibleSeries.Clear();
    97       chart.Titles[0].Text = string.Empty;
     97      //chart.Titles[0].Text = string.Empty;
    9898      chart.ChartAreas[0].AxisX.Title = string.Empty;
    9999      chart.ChartAreas[0].AxisY.Title = string.Empty;
     
    101101      chart.Series.Clear();
    102102      if (Content != null) {
    103         chart.Titles[0].Text = Content.Name;
     103        //chart.Titles[0].Text = Content.Name;
    104104        AddDataRows(Content.Rows);
    105105        ConfigureChartArea(chart.ChartAreas[0]);
     
    281281    #region Event Handlers
    282282    #region Content Event Handlers
    283     protected override void Content_NameChanged(object sender, EventArgs e) {
    284       if (InvokeRequired)
    285         Invoke(new EventHandler(Content_NameChanged), sender, e);
    286       else {
    287         chart.Titles[0].Text = Content.Name;
    288         base.Content_NameChanged(sender, e);
    289       }
    290     }
    291283    private void Content_VisualPropertiesChanged(object sender, EventArgs e) {
    292284      if (InvokeRequired)
Note: See TracChangeset for help on using the changeset viewer.