Extends the AlfMenuGroup to ensure that only AlfCheckableMenuItems
are added to the group.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Members
-
i18nRequirements :object[]
-
An array of the i18n files to use with this widget.
Type:
- object[]
- Default Value:
- [{i18nFile: "./i18n/AlfViewSelectionGroup.properties"}]
- Source:
-
label :string
-
The default label for the view selection group.
Type:
- string
- Default Value:
- "view-selection.group.label"
- Source:
Methods
-
addViewSelectionMenuItem(menuItem)
-
Adds a new menu item to the group. Checks that the menu item is an instance of "alfresco/menus/AlfCheckableMenuItem" and will not add the menu item if it is not.
Parameters:
Name Type Description menuItem
Object The menu item to add. -
postCreate()