1
Automation Interface, Add-Ins and Tools / MenuLocation of EA_GetMenuItems - custom locations possible?
« on: January 15, 2026, 02:15:52 am »
I am curious about this statement in EA documentation on https://sparxsystems.com/enterprise_architect_user_guide/17.1/add-ins___scripting/eaadd-insea_getmenuitems.html:
"[MenuLocation] Description: A string representing the part of the user interface that brought up the context menu. This can be TreeView, MainMenu, Diagram or Other. You can add further values for MenuLocation at any time." (emphasis added)
Is it really possible to define our own additional values for MenuLocation parameter? How?
"[MenuLocation] Description: A string representing the part of the user interface that brought up the context menu. This can be TreeView, MainMenu, Diagram or Other. You can add further values for MenuLocation at any time." (emphasis added)
Is it really possible to define our own additional values for MenuLocation parameter? How?
and add Trace relationships (as few as necessary) to the Class, each with "Link to Element Feature" set to particular 'new' attribute.