Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/10/11 15:25:05 (13 years ago)
Author:
abeham
Message:

#1465

  • Removed properties menu from EnhancedChart
  • Added IConfigureableView interface to DataTableView
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableView.cs

    r6115 r6176  
    3636  [View("DataTable View")]
    3737  [Content(typeof(DataTable), true)]
    38   public partial class DataTableView : NamedItemView {
     38  public partial class DataTableView : NamedItemView, IConfigureableView {
    3939    protected List<Series> invisibleSeries;
    4040    protected Dictionary<IObservableList<double>, DataRow> valuesRowsTable;
     
    144144      base.SetEnabledStateOfControls();
    145145      chart.Enabled = Content != null;
     146    }
     147
     148    public void ShowConfiguration() {
     149      if (Content != null) {
     150        DataTableVisualPropertiesDialog dialog = new DataTableVisualPropertiesDialog(Content);
     151        dialog.ShowDialog();
     152      } else MessageBox.Show("Nothing to configure.");
    146153    }
    147154
     
    503510      }
    504511    }
    505     private void chart_PropertiesClicked(object sender, EventArgs e) {
    506       DataTableVisualPropertiesDialog dialog = new DataTableVisualPropertiesDialog(Content);
    507       dialog.ShowDialog();
    508     }
    509512    #endregion
    510513
Note: See TracChangeset for help on using the changeset viewer.