Define an add-menu item
The text to be displayed for the menu item
A class to be used as a factory for creating new objects
A UI may display this with the item or display it when the user requests more assistance.
A factory id for creating new objects
The condition is given as a TALES expression. The expression has access to the variables:
The menu item will not be displayed if there is a filter and the filter evaluates to a false value.
The interface the menu items are defined for
Path to the icon resource representing this menu item.
The default layer for which the custom view is applicable. By default it is applied to all layers.
The (name of the) menu the items are defined for
A relative position of the menu item in the menu.
This can usually be inferred by the system, however, doing so may be expensive. When displaying a menu, the system tries to traverse to the URLs given in each action to determine whether the url is accessible to the current user. This can be avoided if the permission is given explicitly.
The name of a custom add view
* = required