Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/09/16 16:20:23 (7 years ago)
Author:
pfleck
Message:

#2698

  • Refactored CheckedVariablesView out of the ChartView to allow reuse of the checked variables list.
    • The new list visualizes the non-input/target variables in gray.
    • Added context menu to quickly (un)check all variables or only the inputs+target variables.
  • In the Multi-Scatterplot
    • New structure and layout of the single charts to support fixed header rows and columns (for the variable names). Instead, removed the legend of each plot for better usage of plot area.
    • Adapted the new CheckedVariablesView (but hidden until (un)checking is implemented).
File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingCheckedVariablesView.Designer.cs

    r14380 r14381  
    2121
    2222namespace HeuristicLab.DataPreprocessing.Views {
    23   partial class PreprocessingChartView {
     23  partial class PreprocessingCheckedVariablesView {
    2424    /// <summary>
    2525    /// Required designer variable.
     
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
    48       this.dataTableView = new HeuristicLab.DataPreprocessing.Views.PreprocessingDataTableView();
     47      this.components = new System.ComponentModel.Container();
    4948      this.splitContainer = new System.Windows.Forms.SplitContainer();
    5049      this.checkedItemList = new HeuristicLab.DataPreprocessing.Views.PreprocessingCheckedItemListView();
    51       this.tableLayoutPanel.SuspendLayout();
     50      this.variablesListcontextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
     51      this.checkInputsTargetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     52      this.checkOnlyInputsTargetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     53      this.checkAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     54      this.uncheckAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5255      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
    5356      this.splitContainer.Panel1.SuspendLayout();
    54       this.splitContainer.Panel2.SuspendLayout();
    5557      this.splitContainer.SuspendLayout();
     58      this.variablesListcontextMenuStrip.SuspendLayout();
    5659      this.SuspendLayout();
    57       //
    58       // tableLayoutPanel
    59       //
    60       this.tableLayoutPanel.ColumnCount = 1;
    61       this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
    62       this.tableLayoutPanel.Controls.Add(this.dataTableView, 0, 0);
    63       this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
    64       this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
    65       this.tableLayoutPanel.Name = "tableLayoutPanel";
    66       this.tableLayoutPanel.RowCount = 1;
    67       this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
    68       this.tableLayoutPanel.Size = new System.Drawing.Size(559, 403);
    69       this.tableLayoutPanel.TabIndex = 6;
    70       this.tableLayoutPanel.Layout += new System.Windows.Forms.LayoutEventHandler(this.tableLayoutPanel_Layout);
    71       //
    72       // dataTableView
    73       //
    74       this.dataTableView.AutoScroll = true;
    75       this.dataTableView.Caption = "DataTable View";
    76       this.dataTableView.Classification = null;
    77       this.dataTableView.Content = null;
    78       this.dataTableView.Dock = System.Windows.Forms.DockStyle.Fill;
    79       this.dataTableView.IsDetailedChartViewEnabled = false;
    80       this.dataTableView.Location = new System.Drawing.Point(3, 3);
    81       this.dataTableView.Name = "dataTableView";
    82       this.dataTableView.ReadOnly = false;
    83       this.dataTableView.Size = new System.Drawing.Size(553, 397);
    84       this.dataTableView.TabIndex = 0;
    8560      //
    8661      // splitContainer
     
    9368      //
    9469      this.splitContainer.Panel1.Controls.Add(this.checkedItemList);
    95       //
    96       // splitContainer.Panel2
    97       //
    98       this.splitContainer.Panel2.Controls.Add(this.tableLayoutPanel);
    9970      this.splitContainer.Size = new System.Drawing.Size(654, 403);
    10071      this.splitContainer.SplitterDistance = 91;
     
    10374      // checkedItemList
    10475      //
    105       this.checkedItemList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    106             | System.Windows.Forms.AnchorStyles.Left) 
     76      this.checkedItemList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     77            | System.Windows.Forms.AnchorStyles.Left)
    10778            | System.Windows.Forms.AnchorStyles.Right)));
    10879      this.checkedItemList.Caption = "View";
    10980      this.checkedItemList.Content = null;
     81      this.checkedItemList.ContextMenuStrip = this.variablesListcontextMenuStrip;
    11082      this.checkedItemList.Location = new System.Drawing.Point(4, 4);
    11183      this.checkedItemList.Name = "checkedItemList";
     
    11486      this.checkedItemList.TabIndex = 4;
    11587      //
    116       // PreprocessingChartView
     88      // variablesListcontextMenuStrip
     89      //
     90      this.variablesListcontextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     91            this.checkInputsTargetToolStripMenuItem,
     92            this.checkOnlyInputsTargetToolStripMenuItem,
     93            this.checkAllToolStripMenuItem,
     94            this.uncheckAllToolStripMenuItem});
     95      this.variablesListcontextMenuStrip.Name = "variablesListcontextMenuStrip";
     96      this.variablesListcontextMenuStrip.Size = new System.Drawing.Size(211, 92);
     97      this.variablesListcontextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.variablesListcontextMenuStrip_Opening);
     98      //
     99      // checkInputsTargetToolStripMenuItem
     100      //
     101      this.checkInputsTargetToolStripMenuItem.Name = "checkInputsTargetToolStripMenuItem";
     102      this.checkInputsTargetToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
     103      this.checkInputsTargetToolStripMenuItem.Text = "Check Inputs+Target";
     104      this.checkInputsTargetToolStripMenuItem.Click += new System.EventHandler(this.checkInputsTargetToolStripMenuItem_Click);
     105      //
     106      // checkOnlyInputsTargetToolStripMenuItem
     107      //
     108      this.checkOnlyInputsTargetToolStripMenuItem.Name = "checkOnlyInputsTargetToolStripMenuItem";
     109      this.checkOnlyInputsTargetToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
     110      this.checkOnlyInputsTargetToolStripMenuItem.Text = "Check only Inputs+Target";
     111      this.checkOnlyInputsTargetToolStripMenuItem.Click += new System.EventHandler(this.checkOnlyInputsTargetToolStripMenuItem_Click);
     112      //
     113      // checkAllToolStripMenuItem
     114      //
     115      this.checkAllToolStripMenuItem.Name = "checkAllToolStripMenuItem";
     116      this.checkAllToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
     117      this.checkAllToolStripMenuItem.Text = "Check All";
     118      this.checkAllToolStripMenuItem.Click += new System.EventHandler(this.checkAllToolStripMenuItem_Click);
     119      //
     120      // uncheckAllToolStripMenuItem
     121      //
     122      this.uncheckAllToolStripMenuItem.Name = "uncheckAllToolStripMenuItem";
     123      this.uncheckAllToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
     124      this.uncheckAllToolStripMenuItem.Text = "Uncheck All";
     125      this.uncheckAllToolStripMenuItem.Click += new System.EventHandler(this.uncheckAllToolStripMenuItem_Click);
     126      //
     127      // PreprocessingCheckedVariablesView
    117128      //
    118129      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    119130      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    120131      this.Controls.Add(this.splitContainer);
    121       this.Name = "PreprocessingChartView";
     132      this.Name = "PreprocessingCheckedVariablesView";
    122133      this.Size = new System.Drawing.Size(654, 403);
    123       this.tableLayoutPanel.ResumeLayout(false);
    124134      this.splitContainer.Panel1.ResumeLayout(false);
    125       this.splitContainer.Panel2.ResumeLayout(false);
    126135      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
    127136      this.splitContainer.ResumeLayout(false);
     137      this.variablesListcontextMenuStrip.ResumeLayout(false);
    128138      this.ResumeLayout(false);
    129139
     
    132142    #endregion
    133143
    134     private PreprocessingCheckedItemListView checkedItemList;
    135     private DataPreprocessing.Views.PreprocessingDataTableView dataTableView;
    136     private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
     144    protected PreprocessingCheckedItemListView checkedItemList;
    137145    protected System.Windows.Forms.SplitContainer splitContainer;
     146    private System.Windows.Forms.ContextMenuStrip variablesListcontextMenuStrip;
     147    private System.Windows.Forms.ToolStripMenuItem checkInputsTargetToolStripMenuItem;
     148    private System.Windows.Forms.ToolStripMenuItem checkAllToolStripMenuItem;
     149    private System.Windows.Forms.ToolStripMenuItem uncheckAllToolStripMenuItem;
     150    private System.Windows.Forms.ToolStripMenuItem checkOnlyInputsTargetToolStripMenuItem;
    138151  }
    139152}
Note: See TracChangeset for help on using the changeset viewer.