Changeset 2739
- Timestamp:
- 02/02/10 18:14:37 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Common/3.2/HeuristicLab.Common-3.2.csproj
r2476 r2739 84 84 <ItemGroup> 85 85 <Compile Include="CancelEventArgs.cs" /> 86 <Compile Include="TypeExtensions.cs" /> 86 87 <Compile Include="ObservableList.cs" /> 87 88 <Compile Include="DoubleExtensions.cs"> -
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs
r2694 r2739 28 28 using System.Windows.Forms; 29 29 using System.Linq; 30 using HeuristicLab.Common; 30 31 using HeuristicLab.PluginInfrastructure; 31 32 using HeuristicLab.MainForm; … … 113 114 TreeNode typeNode = new TreeNode(); 114 115 string name = ItemAttribute.GetName(type); 115 typeNode.Text = name != null ? name : type. Name;116 typeNode.Text = name != null ? name : type.GetPrettyName(); 116 117 typeNode.ImageIndex = 0; 117 118 if (type.IsInterface) typeNode.ImageIndex = 2; … … 138 139 } 139 140 if (typesTreeView.Nodes.Count == 0) { 140 typesTreeView.Nodes.Add("No types of base type \"" + BaseType. Name+ "\" found");141 typesTreeView.Nodes.Add("No types of base type \"" + BaseType.GetPrettyName() + "\" found"); 141 142 typesTreeView.Enabled = false; 142 143 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ViewHost.cs
r2727 r2739 28 28 using System.Windows.Forms; 29 29 using System.Linq; 30 using HeuristicLab.Common; 30 31 using HeuristicLab.MainForm; 31 32 … … 68 69 select t; 69 70 foreach (Type viewType in viewTypes) { 70 ToolStripMenuItem item = new ToolStripMenuItem(viewType. Name);71 ToolStripMenuItem item = new ToolStripMenuItem(viewType.GetPrettyName()); 71 72 item.Name = viewType.FullName; 72 item.ToolTipText = viewType. FullName;73 item.ToolTipText = viewType.GetPrettyName(true); 73 74 item.Tag = viewType; 74 75 contextMenuStrip.Items.Add(item);
Note: See TracChangeset
for help on using the changeset viewer.