Click or drag to resize

MacroPluginGetMenuEntries Method (ListObjectProxy, ContextMenuContext)

Requests command descriptors to create a context menu. This is the newer version that also provides information about the source context of the request. Available since version 3.1.6

Namespace:  Articy.Api.Plugins
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public virtual List<MacroCommandDescriptor> GetMenuEntries(
	List<ObjectProxy> aSelectedObjects,
	ContextMenuContext aContext
)

Parameters

aSelectedObjects
Type: System.Collections.GenericListObjectProxy
the list of currently selected objects. The list is null if the command was called from the ribbon toolbars "global commands" button
aContext
Type: Articy.ApiContextMenuContext
The context from where the menu entries are requested

Return Value

Type: ListMacroCommandDescriptor
the list of commands the plugin wants to add to the context menu.
See Also