Ignore:
Timestamp:
06/04/14 15:32:33 (7 years ago)
Author:
aesterer
Message:

Completed scatter plot view

File:
1 edited

Legend:

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

    r10904 r10952  
    2020#endregion
    2121
     22using System;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Core.Views;
     
    3334      itemsGroupBox.Text = "View Shortcuts";
    3435    }
     36
     37    protected override void itemsListView_DoubleClick(object sender, EventArgs e) {
     38      if (itemsListView.SelectedItems.Count == 1) {
     39        IViewShortcut item = itemsListView.SelectedItems[0].Tag as IViewShortcut;
     40        if (item != null) {
     41
     42          if (item is IViewChartShortcut)
     43            item = (IViewChartShortcut)item.Clone();
     44
     45          IContentView view = MainFormManager.MainForm.ShowContent(item);
     46          if (view != null) {
     47            view.ReadOnly = ReadOnly;
     48            view.Locked = Locked;
     49          }
     50        }
     51      }
     52    }
    3553  }
    3654}
Note: See TracChangeset for help on using the changeset viewer.