Changeset 8211
- Timestamp:
- 07/04/12 12:41:03 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/CSV/ClassifiactionCSVInstanceProvider.cs
r8199 r8211 30 30 public class ClassificationCSVInstanceProvider : ClassificationInstanceProvider { 31 31 public override string Name { 32 get { return "C omma-separated ValuesFile"; }32 get { return "CSV File"; } 33 33 } 34 34 public override string Description { -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Clustering/CSV/ClusteringCSVInstanceProvider.cs
r8199 r8211 29 29 public class ClusteringCSVInstanceProvider : ClusteringInstanceProvider { 30 30 public override string Name { 31 get { return "C omma-separated ValuesFile"; }31 get { return "CSV File"; } 32 32 } 33 33 public override string Description { -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/CSV/RegressionCSVInstanceProvider.cs
r8199 r8211 30 30 public class RegressionCSVInstanceProvider : RegressionInstanceProvider { 31 31 public override string Name { 32 get { return "C omma-separated ValuesFile"; }32 get { return "CSV File"; } 33 33 } 34 34 public override string Description { -
trunk/sources/HeuristicLab.Problems.Instances.Views/3.3/ProblemInstanceConsumerViewGeneric.cs
r8199 r8211 26 26 using System.Windows.Forms; 27 27 using HeuristicLab.Common.Resources; 28 using HeuristicLab.Core; 28 29 using HeuristicLab.MainForm; 29 30 using HeuristicLab.MainForm.WindowsForms; … … 161 162 162 163 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() { 163 170 return SelectedProvider.Name; 164 171 } … … 167 174 protected void SetTooltip() { 168 175 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."); 171 178 if (SelectedProvider.WebLink != null) 172 179 toolTip.SetToolTip(libraryInfoButton, "Browse to " + SelectedProvider.WebLink.ToString());
Note: See TracChangeset
for help on using the changeset viewer.