Changeset 8660 for branches/GP-MoveOperators/HeuristicLab.Problems.Instances.Views/3.3/ProblemInstanceConsumerViewGeneric.cs
- Timestamp:
- 09/14/12 18:58:15 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Problems.Instances.Views/3.3/ProblemInstanceConsumerViewGeneric.cs
r8206 r8660 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.