简体   繁体   English

通过企业架构师中的C#加载项添加结构化的标记值

[英]Adding a structured tagged value through c# add-in in enterprise architect

I have a Add-in in C#, and I am running Enterprise Architect through it. 我有一个C#加载项,并且正在通过它运行Enterprise Architect。 And now I have an access to "system output window" in Enterprise Architect, which can be displayed/docked over EA's GUI. 现在,我可以访问Enterprise Architect中的“系统输出窗口”,可以通过EA的GUI进行显示/停靠。 And now I need to get access to "Properties window" by which I can create a new(my own custom tab)like Property dialogue window inside that window. 现在,我需要访问“属性窗口”,通过它我可以在该窗口内创建一个新的(我自己的自定义标签),如“属性”对话框。

The Subject is to have a "structured Tagged Values" created from Add-in. 主题将具有从加载项创建的“结构化标记值”。 And those tagged values have to come inside a "CUSTOMIZED NEW TAB" in the Properties window of an element. 并且这些标记的值必须位于元素的“属性”窗口中的“自定义新标签”中。 For that we need to get the control over the "properties window" in Enterprise Architect from Add-in. 为此,我们需要从外接程序中获得对Enterprise Architect中“属性窗口”的控制。

Plz suggest us the way on how to create a "NEW TAB" inside a properties window of an element. Plz建议我们如何在元素的属性窗口内创建“ NEW TAB”。

Enterprise Architect does not (yet) have any possibility to extend any existing popup windows with extra tabs. Enterprise Architect(尚未)没有任何可能扩展带有额外选项卡的现有弹出窗口。 (This is also not possible using MDG technologies. Some MDG technologies extend EA, but these are incorporated in the application and not loaded through a separate XML file.) (使用MDG技术也是不可能的。某些MDG技术扩展了EA,但这些技术已合并到应用程序中,并且未通过单独的XML文件加载。)

The API does offer you an option to create new controls in the form of; 该API确实为您提供了创建以下形式的控件的选项:

  • Tabs: Repository.AddTab 标签: Repository.AddTab
  • Addin Windows (dockable/floating): Repository.AddWindow 外接程序Windows(可停靠/浮动): Repository.AddWindow

You could show your desired content of an API element in such a control. 您可以在此类控件中显示API元素的所需内容。 Or you could, using WPF or Windows Forms, create and show a custom popup window. 或者,您可以使用WPF或Windows窗体创建并显示一个自定义弹出窗口。 You could even make that popup window modal as to block any further access (like the properties window does). 您甚至可以将该弹出窗口设置为模态,以阻止任何进一步的访问(就像属性窗口一样)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 企业架构师:C#加载项当前所选项目的标记值 - Enterprise architect : C# add-in current selected item tagged value 通过c#加载项在企业架构师中创建只读标记值 - Creating Read-Only tagged Value in enterprise architect through c# add-ins 通过Enterprise Architect中的C#加载项进行标记的值验证 - Tagged value validation through C# add-ins in Enterprise Architect 通过C#加载项限制Enterprise Architect中的子元素 - Restricting child element in Enterprise Architect through C# add-in 使用附加C#在Enterprise Architect中使用模板生成文档 - Document Generation with template in Enterprise Architect with an Add-In C# 混合模式程序集是针对版本“v2.0.50727”C#Enterprise架构师加载项构建的 - Mixed mode assembly is built against version ‘v2.0.50727′ C# Enterprise architect add-in 删除Enterprise Architect外接程序中的场景步骤 - Delete step in scenario in Add-in for Enterprise Architect 通过C#加载项在Enterprise Architect中设置连接器的起点和终点 - Set the Startpoint and End point of a Connector in Enterprise Architect through C# add-ins 如何通过C#插件删除企业架构图中的连接器 - How to delete a connector in enterprise architect diagram through c# addin 使用C#在Enterprise Architect中迭代包的层次结构 - Iterating through hierarchy of packages in Enterprise Architect using C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM