Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10342


Ignore:
Timestamp:
01/15/14 13:10:53 (10 years ago)
Author:
aesterer
Message:

Changed buttons names and added icons in data preprocessing view

Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views
Files:
2 edited

Legend:

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

    r10313 r10342  
    4242
    4343    private void InitializeContents() {
     44
     45      //create content items
    4446      IPreprocessingData data = Content.Data;
    4547      ISearchLogic searchLogic = new SearchLogic(data);
     
    5153      histogramContent = new HistogramContent(new HistogramLogic());
    5254
     55      //create view items
    5356      listViewItemItemMapping = new Dictionary<ListViewItem, IItem>();
    5457      contentListView.SmallImageList = new ImageList();
     
    7174      listViewItemItemMapping[histogramListViewItem] = histogramContent;
    7275
     76      //add view items
    7377      contentListView.Items.Add(statisticsListViewItem);
    7478      contentListView.Items.Add(contentListViewItem);
     
    7781      contentListView.Items.Add(lineChartListViewItem);
    7882      contentListView.Items.Add(histogramListViewItem);
     83
     84      //default view -> statistic view
     85      contentListView.SelectedIndices.Add(0);
    7986    }
    8087
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.designer.cs

    r10319 r10342  
    2525    private void InitializeComponent() {
    2626      this.components = new System.ComponentModel.Container();
    27       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataPreprocessingView));
    2827      this.splitContainer1 = new System.Windows.Forms.SplitContainer();
    2928      this.undoButton = new System.Windows.Forms.Button();
    30       this.tryOutAlgorithmButton = new System.Windows.Forms.Button();
    31       this.saveButton = new System.Windows.Forms.Button();
     29      this.applyInNewTabButton = new System.Windows.Forms.Button();
     30      this.exportProblemButton = new System.Windows.Forms.Button();
    3231      this.contentListView = new System.Windows.Forms.ListView();
    3332      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
     
    4948      //
    5049      this.splitContainer1.Panel1.Controls.Add(this.undoButton);
    51       this.splitContainer1.Panel1.Controls.Add(this.tryOutAlgorithmButton);
    52       this.splitContainer1.Panel1.Controls.Add(this.saveButton);
     50      this.splitContainer1.Panel1.Controls.Add(this.applyInNewTabButton);
     51      this.splitContainer1.Panel1.Controls.Add(this.exportProblemButton);
    5352      this.splitContainer1.Panel1.Controls.Add(this.contentListView);
    5453      //
     
    6261      // undoButton
    6362      //
    64       this.saveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Undo;
     63      this.undoButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Undo;
    6564      this.undoButton.Location = new System.Drawing.Point(72, 14);
    6665      this.undoButton.Name = "undoButton";
     
    7069      this.undoButton.UseVisualStyleBackColor = true;
    7170      //
    72       // tryOutAlgorithmButton
     71      // applyInNewTabButton
    7372      //
    74       this.saveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play;
    75       this.tryOutAlgorithmButton.Location = new System.Drawing.Point(42, 14);
    76       this.tryOutAlgorithmButton.Name = "tryOutAlgorithmButton";
    77       this.tryOutAlgorithmButton.Size = new System.Drawing.Size(24, 24);
    78       this.tryOutAlgorithmButton.TabIndex = 2;
    79       this.toolTip.SetToolTip(this.tryOutAlgorithmButton, "Apply in new tab");
    80       this.tryOutAlgorithmButton.UseVisualStyleBackColor = true;
    81       this.tryOutAlgorithmButton.Click += new System.EventHandler(this.applyInNewTabButton_Click);
     73      this.applyInNewTabButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play;
     74      this.applyInNewTabButton.Location = new System.Drawing.Point(42, 14);
     75      this.applyInNewTabButton.Name = "applyInNewTabButton";
     76      this.applyInNewTabButton.Size = new System.Drawing.Size(24, 24);
     77      this.applyInNewTabButton.TabIndex = 2;
     78      this.toolTip.SetToolTip(this.applyInNewTabButton, "Apply in new tab");
     79      this.applyInNewTabButton.UseVisualStyleBackColor = true;
     80      this.applyInNewTabButton.Click += new System.EventHandler(this.applyInNewTabButton_Click);
    8281      //
    83       // saveButton
     82      // exportProblemButton
    8483      //
    85       this.saveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save;
    86       this.saveButton.Location = new System.Drawing.Point(12, 14);
    87       this.saveButton.Name = "saveButton";
    88       this.saveButton.Size = new System.Drawing.Size(24, 24);
    89       this.saveButton.TabIndex = 1;
    90       this.toolTip.SetToolTip(this.saveButton, "Export problem");
    91       this.saveButton.UseVisualStyleBackColor = true;
    92       this.saveButton.Click += new System.EventHandler(this.exportProblemButton_Click);
     84      this.exportProblemButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save;
     85      this.exportProblemButton.Location = new System.Drawing.Point(12, 14);
     86      this.exportProblemButton.Name = "exportProblemButton";
     87      this.exportProblemButton.Size = new System.Drawing.Size(24, 24);
     88      this.exportProblemButton.TabIndex = 1;
     89      this.toolTip.SetToolTip(this.exportProblemButton, "Export problem");
     90      this.exportProblemButton.UseVisualStyleBackColor = true;
     91      this.exportProblemButton.Click += new System.EventHandler(this.exportProblemButton_Click);
    9392      //
    9493      // contentListView
     
    141140
    142141    private System.Windows.Forms.ListView contentListView;
    143     private System.Windows.Forms.Button saveButton;
    144     private System.Windows.Forms.Button tryOutAlgorithmButton;
     142    private System.Windows.Forms.Button exportProblemButton;
     143    private System.Windows.Forms.Button applyInNewTabButton;
    145144    private System.Windows.Forms.Button undoButton;
    146145    private MainForm.WindowsForms.ViewHost viewHost;
Note: See TracChangeset for help on using the changeset viewer.