[commit] r1485 - trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Aug 30 09:57:18 CDT 2011
Author: ksmyth
Date: Tue Aug 30 09:57:18 2011
New Revision: 1485
Log:
Support tooltip
Modified:
trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/ComponentConfig.cs
trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/Registrar.cs
Modified: trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/ComponentConfig.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/ComponentConfig.cs Mon Aug 29 17:07:42 2011 (r1484)
+++ trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/ComponentConfig.cs Tue Aug 30 09:57:18 2011 (r1485)
@@ -17,6 +17,8 @@
// Specify an icon path
public const string iconName = "$iconname$";
+ public const string tooltip = "$progid$";
+
// If null, updated with the assembly path + the iconName dynamically on registration
public static string iconPath = $iconpath$;
Modified: trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/Registrar.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/Registrar.cs Mon Aug 29 17:07:42 2011 (r1484)
+++ trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/Registrar.cs Tue Aug 30 09:57:18 2011 (r1485)
@@ -30,6 +30,7 @@
CheckGMEInterfaceVersion(registrar);
registrar.RegisterComponent(ComponentConfig.progID, ComponentConfig.componentType, ComponentConfig.componentName, ComponentConfig.registrationMode);
registrar.set_ComponentExtraInfo(ComponentConfig.registrationMode, ComponentConfig.progID, "Icon", ComponentConfig.iconPath);
+ registrar.set_ComponentExtraInfo(ComponentConfig.registrationMode, ComponentConfig.progID, "Tooltip", ComponentConfig.tooltip);
if (!ComponentConfig.paradigmName.Equals("*"))
{
More information about the gme-commit
mailing list