protected PropertyGridDomainElementViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.DomainElement element) : base(viewModelStore, element)
		{
			// subscribe to DomainElement.Name changes
			this.EventManager.GetEvent<DslEditorViewModelEvents::ModelElementPropertyChangedEvent>().Subscribe(this.Store.DomainDataDirectory.GetDomainProperty(global::Tum.PDE.ModelingDSL.DomainElement.NameDomainPropertyId), this.Element.Id, new System.Action<DslModeling::ElementPropertyChangedEventArgs>(NamePropertyChanged));
			
			// set name property value
			this.elementFullNameStorage = element.Name + " (Domain Element)";
		}
		public PropertyGridVModellvarianteViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.VModellvariante element) : base(viewModelStore, element)
		{
			// subscribe to VModellvariante.Name changes
			this.EventManager.GetEvent<DslEditorViewModelEvents::ModelElementPropertyChangedEvent>().Subscribe(this.Store.DomainDataDirectory.GetDomainProperty(global::Tum.VModellXT.VModellvariante.NameDomainPropertyId), this.Element.Id, new System.Action<DslModeling::ElementPropertyChangedEventArgs>(NamePropertyChanged));
			
			// set name property value
			this.elementFullNameStorage = element.Name + " (V-Modellvariante)";
		}
        /// <summary>
        /// Constructor.
        /// </summary>
		/// <param name="viewModelStore">The store this view model belongs to.</param>
        /// <param name="element">Model element of type DomainProperty for which this property grid view model is created.</param>		
		public PropertyGridDomainPropertyViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.DomainProperty element) : base(viewModelStore, element)
		{
			
		}
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        /// <param name="diagram">The Diagram this item belongs to.</param>
        /// <param name="shapeElement">Model element, that is hosted by this view model.</param>
        public DisziplinDependencyShapeDiagramItemViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, DslEditorViewDiagrams::DiagramSurfaceViewModel diagram, DslEditorDiagrams::NodeShape shapeElement)
            : base(viewModelStore, diagram, shapeElement)
        {
        }
		protected PropertyGridBaseElementSourceReferencesBaseElementTargetViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.BaseElementSourceReferencesBaseElementTarget element) : base(viewModelStore, element)
		{
		}
		public PropertyGridDRTypeReferencesBaseElementSourceReferencesBaseElementTargetViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.DRTypeReferencesBaseElementSourceReferencesBaseElementTarget element) : base(viewModelStore, element)
		{
		}
		public PropertyGridMusterbibliothekViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.Musterbibliothek element) : base(viewModelStore, element)
		{
		}
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        public ReferenzmodellHasVModellVModellRMRViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore)
            : base(viewModelStore)
        {
            
        }
Exemplo n.º 9
0
        /// <summary>
	   	/// Register services to the given store.
    	/// </summary>
    	/// <param name="store">ViewModelStore.</param>
    	public override void RegisterServices(DslEditorViewModelData::ViewModelStore store)
		{
			
		}
		public PropertyGridVarianteSourceReferencesVarianteTargetViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.VarianteSourceReferencesVarianteTarget element) : base(viewModelStore, element)
		{
		}
		public PropertyGridStateBaseViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.StateMachineDSL.StateBase element) : base(viewModelStore, element)
		{
		}
		public PropertyGridBaseElementViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.BaseElement element) : base(viewModelStore, element)
		{
		}
		public PropertyGridTransitionViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.StateMachineDSL.Transition element) : base(viewModelStore, element)
		{
		}
		public PropertyGridMarriedToViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.FamilyTreeDSL.MarriedTo element) : base(viewModelStore, element)
		{
		}
		public PropertyGridParentOfViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.FamilyTreeDSL.ParentOf element) : base(viewModelStore, element)
		{
		}
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        /// <param name="diagram">The Diagram this item belongs to.</param>
        /// <param name="shapeElement">Model element, that is hosted by this view model.</param>
        protected ReferenceShapeDiagramItemLinkViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore, DslEditorViewDiagrams::DiagramSurfaceViewModel diagram, DslEditorDiagrams::LinkShape shapeElement)
            : base(viewModelStore, diagram, shapeElement)
        {
        }
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        /// <param name="diagram">The Diagram this item belongs to.</param>
        /// <param name="shapeElement">Model element, that is hosted by this view model.</param>
        public EmbeddingShapeDiagramItemLinkViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, DslEditorViewDiagrams::DiagramSurfaceViewModel diagram, DslEditorDiagrams::LinkShape shapeElement)
            : base(viewModelStore, diagram, shapeElement)
        {
        }
		public PropertyGridConversionModelInfoViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.ConversionModelInfo element) : base(viewModelStore, element)
		{
		}
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        /// <param name="diagram">The Diagram this item belongs to.</param>
        /// <param name="shapeElement">Model element, that is hosted by this view model.</param>
        public PersonShapeDiagramItemViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, DslEditorViewDiagrams::DiagramSurfaceViewModel diagram, DslEditorDiagrams::NodeShape shapeElement)
            : base(viewModelStore, diagram, shapeElement)
        {
        }
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        /// <param name="diagram">The Diagram this item belongs to.</param>
        /// <param name="shapeElement">Model element, that is hosted by this view model.</param>
        protected DomainElementShapeDiagramItemViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore, DslEditorViewDiagrams::DiagramSurfaceViewModel diagram, DslEditorDiagrams::NodeShape shapeElement)
            : base(viewModelStore, diagram, shapeElement)
        {
        }
        /// <summary>
        /// Constructor.
        /// </summary>
		/// <param name="viewModelStore">The store this view model belongs to.</param>
        /// <param name="element">Model element of type EmbeddingRelationship for which this property grid view model is created.</param>		
		public PropertyGridEmbeddingRelationshipViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.EmbeddingRelationship element) : base(viewModelStore, element)
		{
			
		}
		public PropertyGridThemenmusterReferencesUnterthemaViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.ThemenmusterReferencesUnterthema element) : base(viewModelStore, element)
		{
		}
		public PropertyGridDomainElementReferencesDETypeViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.DomainElementReferencesDEType element) : base(viewModelStore, element)
		{
		}
		public PropertyGridReferenzmodellViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.Referenzmodell element) : base(viewModelStore, element)
		{
		}
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        public MusterbibliothekHasVModellVModellRMRViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore)
            : base(viewModelStore)
        {
            
        }