Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8211


Ignore:
Timestamp:
07/04/12 12:41:03 (12 years ago)
Author:
mkommend
Message:

#1782: Changed name of CSV providers and updated tooltip for import and export buttons.

Location:
trunk/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/CSV/ClassifiactionCSVInstanceProvider.cs

    r8199 r8211  
    3030  public class ClassificationCSVInstanceProvider : ClassificationInstanceProvider {
    3131    public override string Name {
    32       get { return "Comma-separated Values File"; }
     32      get { return "CSV File"; }
    3333    }
    3434    public override string Description {
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Clustering/CSV/ClusteringCSVInstanceProvider.cs

    r8199 r8211  
    2929  public class ClusteringCSVInstanceProvider : ClusteringInstanceProvider {
    3030    public override string Name {
    31       get { return "Comma-separated Values File"; }
     31      get { return "CSV File"; }
    3232    }
    3333    public override string Description {
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/CSV/RegressionCSVInstanceProvider.cs

    r8199 r8211  
    3030  public class RegressionCSVInstanceProvider : RegressionInstanceProvider {
    3131    public override string Name {
    32       get { return "Comma-separated Values File"; }
     32      get { return "CSV File"; }
    3333    }
    3434    public override string Description {
  • trunk/sources/HeuristicLab.Problems.Instances.Views/3.3/ProblemInstanceConsumerViewGeneric.cs

    r8199 r8211  
    2626using System.Windows.Forms;
    2727using HeuristicLab.Common.Resources;
     28using HeuristicLab.Core;
    2829using HeuristicLab.MainForm;
    2930using HeuristicLab.MainForm.WindowsForms;
     
    161162
    162163    protected string GetProblemType() {
     164      var item = Content as IItem;
     165      if (item != null)
     166        return item.ItemName;
     167      return "problem";
     168    }
     169    protected string GetProviderFormatInfo() {
    163170      return SelectedProvider.Name;
    164171    }
     
    167174    protected void SetTooltip() {
    168175      toolTip.SetToolTip(problemInstanceProviderComboBox, GetProviderToolTip());
    169       toolTip.SetToolTip(importButton, "Import a " + GetProblemType() + " problem from file.");
    170       toolTip.SetToolTip(exportButton, "Export currently loaded " + GetProblemType() + " problem to a file.");
     176      toolTip.SetToolTip(importButton, "Import a " + GetProblemType() + " from a file in the " + GetProviderFormatInfo() + " format.");
     177      toolTip.SetToolTip(exportButton, "Export currently loaded " + GetProblemType() + " to a file in the " + GetProviderFormatInfo() + " format.");
    171178      if (SelectedProvider.WebLink != null)
    172179        toolTip.SetToolTip(libraryInfoButton, "Browse to " + SelectedProvider.WebLink.ToString());
Note: See TracChangeset for help on using the changeset viewer.