Initializes a new instance of the MenuItemViewModel class.
The {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.menus.MenuViewModel} that this MenuItemViewModel is a memeber of.
The {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.menus.MenuItemModel} for this MenuItemViewModel.
Whether or not this menu item is executable or not. Factors in simple as well as batch menu items.
Short Description of this menu item.
URI of the icon associated to this menu item (if any).
The MenuItemModel object for this menu item.
The main menu view model which contains this menu item.
The name of this menu item.
Sets up the canExecute changed bindings for both simple and batch menu items so the menu can update it's state automatically
Returns the canExecute status of the related menuItem in real time.
A boolean which returns true if the menu item backing this menu item view model can be executed.
Unsubscribes from subscriptions and bindings tracked by this MenuItemViewModel
Execute this menu item if it can be executed. Could be a simple menu item or multiple batch menu items.
Execute the onFocus for this menu item if it can be executed.
Re-computes and resets the canExecute observable for this MenuItemViewModel.
Static function that omputes a command parameter to pass to a menu item.
The {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.menus.MenuItemViewModel} that's requesting the parameter to be resolved.
The parameter to resolve against the menu context.
An object or string representing the resolved command parameter.
A general purpose, reusable and loosely coupled view model representing a menu item within a menu view model.