Ignore:
Timestamp:
12/09/16 11:35:42 (4 years ago)
Author:
pfleck
Message:

#2709

  • Removed some groupboxes in ViewShortcutListView.
  • Removed unnecessary IViewChartShortcut
  • Split ScatterPlot Multi and Single in to separate contents.
  • Renamed Color-combo box in Scatterplot to "Group".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ViewShortcutListView.cs

    r14185 r14467  
    2121
    2222using System;
    23 using HeuristicLab.Common;
    2423using HeuristicLab.Core;
    2524using HeuristicLab.Core.Views;
     
    3332    public ViewShortcutListView() {
    3433      InitializeComponent();
    35       itemsGroupBox.Text = "View Shortcuts";
     34      Controls.Clear();
     35      Controls.Add(splitContainer);
     36      splitContainer.Panel1.Controls.Clear();
     37      splitContainer.Panel1.Controls.Add(itemsListView);
     38      splitContainer.Panel2.Controls.Clear();
     39      splitContainer.Panel2.Controls.Add(viewHost);
    3640    }
    3741
     
    4246        IViewShortcut item = itemsListView.SelectedItems[0].Tag as IViewShortcut;
    4347        if (item != null) {
     48          item = (IViewShortcut)item.Clone();
    4449
    45           if (item is IViewChartShortcut)
    46             item = (IViewChartShortcut)item.Clone(new Cloner());
    47 
    48           IContentView view = MainFormManager.MainForm.ShowContent(item);
     50          var view = MainFormManager.MainForm.ShowContent(item);
    4951          if (view != null) {
    5052            view.ReadOnly = ReadOnly;
Note: See TracChangeset for help on using the changeset viewer.