Free cookie consent management tool by TermsFeed Policy Generator

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.