public override void SetSettings(IModelTemplate modelTemplate) { base.SetSettings(modelTemplate); navigation.Model = TemplatesHelper.GetNavBarCustomizationNode(); formStateModelSynchronizerComponent.Model = GetFormStateNode(); modelSynchronizationManager.ModelSynchronizableComponents.Add(navigation); }
public override void SetSettings(IModelTemplate modelTemplate) { base.SetSettings(modelTemplate); navigation.Model = TemplatesHelper.GetNavBarCustomizationNode(); formStateModelSynchronizerComponent.Model = GetFormStateNode(); modelSynchronizationManager.ModelSynchronizableComponents.Add(navigation); }
void ISupportStoreSettings.SetSettings(IModelTemplate settings) { IModelTemplateWin templateModel = (IModelTemplateWin)settings; TemplatesHelper templatesHelper = new TemplatesHelper(templateModel); formStateModelSynchronizer.Model = templatesHelper.GetFormStateNode(); navigation.Model = templatesHelper.GetNavBarCustomizationNode(); }
void ISupportStoreSettings.SetSettings(IModelTemplate settings) { var templateModel = (IModelTemplateWin)settings; var templatesHelper = new TemplatesHelper(templateModel); formStateModelSynchronizer.Model = templatesHelper.GetFormStateNode(); navBarControlModelSynchronizer.Model = templatesHelper.GetNavBarCustomizationNode(); templatesHelper.SetRibbonSettings(ribbonControl); }
public override void SetSettings(IModelTemplate modelTemplate) { base.SetSettings(modelTemplate); //navigation.Model = LoContentControls calizationHelper.GetNavBarCustomizationNode(); navigation.Model = TemplatesHelper.GetNavBarCustomizationNode(); formStateModelSynchronizerComponent.Model = GetFormStateNode(); modelSynchronizationManager.ModelSynchronizableComponents.Add(new NavigationModelSynchronizer(dockPanelNavigation, (IModelTemplateWin)modelTemplate)); modelSynchronizationManager.ModelSynchronizableComponents.Add(navigation); }
private void BaseCall(IModelTemplate settings) { IModelTemplateWin templateModel = (IModelTemplateWin)settings; TemplatesHelper templatesHelper = new TemplatesHelper(templateModel); var viewSiteManager = (ViewSiteManager)this.GetFieldValue("viewSiteManager"); var formState = viewSiteManager.View != null?templatesHelper.GetFormStateNode(viewSiteManager.View.Id) : templatesHelper.GetFormStateNode(); var formStateModelSynchronizer = (FormStateModelSynchronizer)this.GetFieldValue("formStateModelSynchronizer"); formStateModelSynchronizer.Model = formState; templatesHelper.SetRibbonSettings(Ribbon); }
public override void SetSettings(IModelTemplate modelTemplate) { var list = new List<ModelApplicationBase>(); var applicationBase = ((ModelApplicationBase)Application().Model); while (applicationBase.LastLayer.Id != "UserDiff" && applicationBase.LastLayer.Id != "After Setup") { var modelApplicationBase = applicationBase.LastLayer; list.Add(modelApplicationBase); ModelApplicationHelper.RemoveLayer(modelApplicationBase); } base.SetSettings(modelTemplate); foreach (var modelApplicationBase in list) { ModelApplicationHelper.AddLayer(applicationBase,modelApplicationBase); } }
void ISupportStoreSettings.SetSettings(IModelTemplate settings) { IModelTemplateWin templateModel = (IModelTemplateWin)settings; TemplatesHelper templatesHelper = new TemplatesHelper(templateModel); IModelFormState formState; if (viewSiteManager.View != null) { formState = templatesHelper.GetFormStateNode(viewSiteManager.View.Id); } else { formState = templatesHelper.GetFormStateNode(); } formStateModelSynchronizer.Model = formState; }
public override void SetSettings(IModelTemplate modelTemplate) { var list = new List <ModelApplicationBase>(); var applicationBase = ((ModelApplicationBase)Application().Model); while (applicationBase.LastLayer.Id != "UserDiff" && applicationBase.LastLayer.Id != "After Setup") { var modelApplicationBase = applicationBase.LastLayer; list.Add(modelApplicationBase); ModelApplicationHelper.RemoveLayer(modelApplicationBase); } base.SetSettings(modelTemplate); foreach (var modelApplicationBase in list) { ModelApplicationHelper.AddLayer(applicationBase, modelApplicationBase); } }
public virtual void SetSettings(IModelTemplate modelTemplate) { this.modelTemplate = (IModelTemplateWin)modelTemplate; locaizationHelper = new TemplatesHelper(this.modelTemplate); string viewId = String.Empty; if (viewSiteManager.View != null) { viewId = viewSiteManager.View.Id; } formStateModelSynchronizer.Model = locaizationHelper.GetFormStateNode(viewId); ReloadSettings(); }
public override void SetSettings(IModelTemplate modelTemplate) { base.SetSettings(modelTemplate); formStateModelSynchronizerComponent.Model = GetFormStateNode(); }
public override void SetSettings(IModelTemplate modelTemplate) { base.SetSettings(modelTemplate); this.formStateModelSynchronizerComponent.Model = this.GetFormStateNode(); }
void ISupportStoreSettings.SetSettings(IModelTemplate settings) { this.SetSettings(() => BaseCall(settings)); }
public virtual void SetSettings(IModelTemplate modelTemplate) { this.modelTemplate = (IModelTemplateWin)modelTemplate; localizationHelper = new TemplatesHelper(this.modelTemplate); SetBarManagerModel(); }
public override void SetSettings(IModelTemplate modelTemplate) { this.SetSettings(() => base.SetSettings(modelTemplate)); }
void ISupportStoreSettings.SetSettings(IModelTemplate settings) { IModelTemplateWin templateModel = (IModelTemplateWin)settings; TemplatesHelper templatesHelper = new TemplatesHelper(templateModel); formStateModelSynchronizer.Model = templatesHelper.GetFormStateNode(); navigation.Model = templatesHelper.GetNavBarCustomizationNode(); templatesHelper.SetRibbonSettings(ribbonControl); }