protected virtual void CreateEditorViewModelForGender(System.Collections.Generic.List <DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel(this.ViewModelStore, typeof(global::Tum.FamilyTreeDSL.Gender), false); editor.PropertyName = "Gender"; editor.PropertyDisplayName = FamilyTreeDSLDomainModel.SingletonResourceManager.GetString("Tum.FamilyTreeDSL.Person/Gender.DisplayName"); editor.PropertyDescription = FamilyTreeDSLDomainModel.SingletonResourceManager.GetString("Tum.FamilyTreeDSL.Person/Gender.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = true; editor.IsPropertyReadOnly = false; collection.Add(editor); }
protected virtual void CreateEditorViewModelForFormType(System.Collections.Generic.List<DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel(this.ViewModelStore , typeof(global::Tum.PDE.ModelingDSL.ShapeFormType), false); editor.PropertyName = "FormType"; editor.PropertyDisplayName = PDEModelingDSLDomainModel.SingletonResourceManager.GetString("Tum.PDE.ModelingDSL.DEType/FormType.DisplayName"); editor.PropertyDescription = PDEModelingDSLDomainModel.SingletonResourceManager.GetString("Tum.PDE.ModelingDSL.DEType/FormType.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = false; editor.IsPropertyReadOnly = false; collection.Add(editor); }
protected virtual void CreateEditorViewModelForStandardauswahl(System.Collections.Generic.List<DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel(this.ViewModelStore , typeof(global::Tum.VModellXT.TypStandard), false); editor.PropertyName = "Standardauswahl"; editor.PropertyDisplayName = VModellXTDomainModel.SingletonResourceManager.GetString("Tum.VModellXT.Zusatzthema/Standardauswahl.DisplayName"); editor.PropertyDescription = VModellXTDomainModel.SingletonResourceManager.GetString("Tum.VModellXT.Zusatzthema/Standardauswahl.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = true; editor.IsPropertyReadOnly = false; collection.Add(editor); }
protected virtual void CreateEditorViewModelForGender(System.Collections.Generic.List<DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.EnumerationEditorViewModel(this.ViewModelStore , typeof(global::Tum.FamilyTreeDSL.Gender), false); editor.PropertyName = "Gender"; editor.PropertyDisplayName = FamilyTreeDSLDomainModel.SingletonResourceManager.GetString("Tum.FamilyTreeDSL.Person/Gender.DisplayName"); editor.PropertyDescription = FamilyTreeDSLDomainModel.SingletonResourceManager.GetString("Tum.FamilyTreeDSL.Person/Gender.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = true; editor.IsPropertyReadOnly = false; collection.Add(editor); }