Enterprise Architect Add-in Framework Documentation
Called once Menu has been opened to see what menu items should active.

Namespace: EAAddinFramework
Assembly: EAAddinFramework (in EAAddinFramework.dll) Version: 1.0.4064.9398

Syntax

C#
public virtual void EA_GetMenuState(
	Repository Repository,
	string Location,
	string MenuName,
	string ItemName,
	ref bool IsEnabled,
	ref bool IsChecked
)
Visual Basic
Public Overridable Sub EA_GetMenuState ( _
	Repository As Repository, _
	Location As String, _
	MenuName As String, _
	ItemName As String, _
	ByRef IsEnabled As Boolean, _
	ByRef IsChecked As Boolean _
)
Visual C++
public:
virtual void EA_GetMenuState(
	Repository^ Repository, 
	String^ Location, 
	String^ MenuName, 
	String^ ItemName, 
	bool% IsEnabled, 
	bool% IsChecked
)

Parameters

Repository
Type: Repository
the repository
Location
Type: System..::..String
the location of the menu
MenuName
Type: System..::..String
the name of the menu
ItemName
Type: System..::..String
the name of the menu item
IsEnabled
Type: System..::..Boolean%
boolean indicating whether the menu item is enabled
IsChecked
Type: System..::..Boolean%
boolean indicating whether the menu is checked

See Also