protected virtual void CreateEditorViewModelForUnterthemaRole(System.Collections.Generic.List<DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel(this.ViewModelStore, this.Store.DomainDataDirectory.GetDomainRelationship(global::Tum.VModellXT.ThemenmusterReferencesUnterthema.DomainClassId), global::Tum.VModellXT.ThemenmusterReferencesUnterthema.ThemenmusterDomainRoleId); editor.PropertyName = "Unterthema"; editor.PropertyDisplayName = VModellXTDomainModel.SingletonResourceManager.GetString("Tum.VModellXT.ThemenmusterReferencesUnterthema/Themenmuster.PropertyDisplayName"); editor.PropertyDescription = VModellXTDomainModel.SingletonResourceManager.GetString("Tum.VModellXT.ThemenmusterReferencesUnterthema/Unterthema.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = false; editor.IsPropertyReadOnly = false; collection.Add(editor); }
protected virtual void CreateEditorViewModelForStateBaseSourceRole(System.Collections.Generic.List<DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel(this.ViewModelStore, this.Store.DomainDataDirectory.GetDomainRelationship(global::Tum.StateMachineDSL.Transition.DomainClassId), global::Tum.StateMachineDSL.Transition.StateBaseTargetDomainRoleId); editor.PropertyName = "StateBaseSource"; editor.PropertyDisplayName = StateMachineLanguageDomainModel.SingletonResourceManager.GetString("Tum.StateMachineDSL.Transition/StateBaseTarget.PropertyDisplayName"); editor.PropertyDescription = StateMachineLanguageDomainModel.SingletonResourceManager.GetString("Tum.StateMachineDSL.Transition/StateBaseSource.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = false; editor.IsPropertyReadOnly = false; collection.Add(editor); }
protected virtual void CreateEditorViewModelForReferencedRelationshipsRole(System.Collections.Generic.List<DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel(this.ViewModelStore, this.Store.DomainDataDirectory.GetDomainRelationship(global::Tum.PDE.ModelingDSL.DRTypeReferencesBaseElementSourceReferencesBaseElementTarget.DomainClassId), global::Tum.PDE.ModelingDSL.DRTypeReferencesBaseElementSourceReferencesBaseElementTarget.DRTypeDomainRoleId); editor.PropertyName = "ReferencedRelationships"; editor.PropertyDisplayName = PDEModelingDSLDomainModel.SingletonResourceManager.GetString("Tum.PDE.ModelingDSL.DRTypeReferencesBaseElementSourceReferencesBaseElementTarget/DRType.PropertyDisplayName"); editor.PropertyDescription = PDEModelingDSLDomainModel.SingletonResourceManager.GetString("Tum.PDE.ModelingDSL.DRTypeReferencesBaseElementSourceReferencesBaseElementTarget/BaseElementSourceReferencesBaseElementTarget.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = false; editor.IsPropertyReadOnly = true; collection.Add(editor); }
protected virtual void CreateEditorViewModelForStateBaseSourceRole(System.Collections.Generic.List <DslEditorViewModelPGrid::PropertyGridEditorViewModel> collection) { Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel editor = new Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.PropertyGrid.MultipleRoleEditorViewModel(this.ViewModelStore, this.Store.DomainDataDirectory.GetDomainRelationship(global::Tum.StateMachineDSL.Transition.DomainClassId), global::Tum.StateMachineDSL.Transition.StateBaseTargetDomainRoleId); editor.PropertyName = "StateBaseSource"; editor.PropertyDisplayName = StateMachineLanguageDomainModel.SingletonResourceManager.GetString("Tum.StateMachineDSL.Transition/StateBaseTarget.PropertyDisplayName"); editor.PropertyDescription = StateMachineLanguageDomainModel.SingletonResourceManager.GetString("Tum.StateMachineDSL.Transition/StateBaseSource.Description"); editor.PropertyCategory = ""; editor.IsPropertyRequired = false; editor.IsPropertyReadOnly = false; collection.Add(editor); }