【问题标题】:Adding tool tips to Add-In Menu in Enterprise Architect through API通过 API 向 Enterprise Architect 中的加载项菜单添加工具提示
【发布时间】:2019-04-08 11:37:40
【问题描述】:

我正在使用 C# 插件开发 Enterprise Architect。我正在尝试检查加载项菜单项,并添加工具提示以显示有关该功能的信息。

我尝试了以下代码:

public void EA_GetMenuState(EA.Repository Repository, string Location, string MenuName, string ItemName, ref bool IsEnabled, ref bool IsChecked)
    {
        //Enables the menu if the project is open
        if (IsProjectOpen(Repository))
        {
            IsEnabled = true;
            if (ItemName.Equals("Help"))
            {
               //check the menu
                IsChecked = true;
            }
        }

菜单项检查工作正常,但找不到向菜单添加工具提示的选项。

我参考了这个链接: https://sparxsystems.com/forums/smf/index.php?topic=4129.0 提到了工具提示的功能请求。

EA 12.1版本是否可以通过插件设置菜单工具提示?

【问题讨论】:

    标签: menu tooltip enterprise-architect


    【解决方案1】:

    不,这是不可能的。

    您可以发送自己的feature request 以增加请求的权重。

    【讨论】:

      猜你喜欢
      • 2015-10-12
      • 1970-01-01
      • 2019-08-14
      • 1970-01-01
      • 1970-01-01
      • 2018-10-28
      • 1970-01-01
      • 2017-06-03
      相关资源
      最近更新 更多