Example #1
0
        private void UpdateActionModel(bool notify)
        {
            DisposeActionHandlers();
            _actionHandlers.AddRange(ActionNodeEntityHandler.Create(_viewer.ToolbarModel.ChildNodes));
            if (!notify)
            {
                return;
            }

            NotifyEntityPropertyChanged("ToolbarActions", GetToolbarActionEntities());
        }
Example #2
0
 public ContextMenuContainer(ActionModelNode modelNode)
 {
     _contextMenuHandlers = ActionNodeEntityHandler.Create(modelNode.ChildNodes);
 }