Exemplo n.º 1
0
        public virtual void Save()
        {
            ActionModelRoot actionModelRoot = _actionModelTreeRoot.GetAbstractActionModel();

            ActionModelSettings.DefaultInstance.PersistAbstractActionModel(_namespace, _site, actionModelRoot);

            if (_desktopWindow is DesktopWindow)
            {
                DesktopWindow concreteDesktopWindow = (DesktopWindow)_desktopWindow;
                if (_site == DesktopWindow.GlobalMenus || _site == DesktopWindow.GlobalToolbars)
                {
                    concreteDesktopWindow.UpdateView();
                }
            }
        }