コード例 #1
0
		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)";
		}
コード例 #2
0
		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)";
		}
コード例 #3
0
        /// <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)
		{
			
		}
コード例 #4
0
		/// <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)
        {
        }
コード例 #5
0
		protected PropertyGridBaseElementSourceReferencesBaseElementTargetViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.BaseElementSourceReferencesBaseElementTarget element) : base(viewModelStore, element)
		{
		}
コード例 #6
0
		public PropertyGridDRTypeReferencesBaseElementSourceReferencesBaseElementTargetViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.DRTypeReferencesBaseElementSourceReferencesBaseElementTarget element) : base(viewModelStore, element)
		{
		}
コード例 #7
0
		public PropertyGridMusterbibliothekViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.Musterbibliothek element) : base(viewModelStore, element)
		{
		}
コード例 #8
0
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        public ReferenzmodellHasVModellVModellRMRViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore)
            : base(viewModelStore)
        {
            
        }
コード例 #9
0
        /// <summary>
	   	/// Register services to the given store.
    	/// </summary>
    	/// <param name="store">ViewModelStore.</param>
    	public override void RegisterServices(DslEditorViewModelData::ViewModelStore store)
		{
			
		}
コード例 #10
0
		public PropertyGridVarianteSourceReferencesVarianteTargetViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.VarianteSourceReferencesVarianteTarget element) : base(viewModelStore, element)
		{
		}
コード例 #11
0
		public PropertyGridStateBaseViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.StateMachineDSL.StateBase element) : base(viewModelStore, element)
		{
		}
コード例 #12
0
		public PropertyGridBaseElementViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.BaseElement element) : base(viewModelStore, element)
		{
		}
コード例 #13
0
		public PropertyGridTransitionViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.StateMachineDSL.Transition element) : base(viewModelStore, element)
		{
		}
コード例 #14
0
		public PropertyGridMarriedToViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.FamilyTreeDSL.MarriedTo element) : base(viewModelStore, element)
		{
		}
コード例 #15
0
		public PropertyGridParentOfViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.FamilyTreeDSL.ParentOf element) : base(viewModelStore, element)
		{
		}
コード例 #16
0
		/// <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)
        {
        }
コード例 #17
0
		/// <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)
        {
        }
コード例 #18
0
		public PropertyGridConversionModelInfoViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.ConversionModelInfo element) : base(viewModelStore, element)
		{
		}
コード例 #19
0
		/// <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)
        {
        }
コード例 #20
0
		/// <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)
        {
        }
コード例 #21
0
        /// <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)
		{
			
		}
コード例 #22
0
		public PropertyGridThemenmusterReferencesUnterthemaViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.ThemenmusterReferencesUnterthema element) : base(viewModelStore, element)
		{
		}
コード例 #23
0
		public PropertyGridDomainElementReferencesDETypeViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.PDE.ModelingDSL.DomainElementReferencesDEType element) : base(viewModelStore, element)
		{
		}
コード例 #24
0
		public PropertyGridReferenzmodellViewModel(DslEditorViewModelData::ViewModelStore viewModelStore, global::Tum.VModellXT.Referenzmodell element) : base(viewModelStore, element)
		{
		}
コード例 #25
0
		/// <summary>
        /// Constuctor.
        /// </summary>
        /// <param name="viewModelStore">The store this view model belongs to.</param>
        public MusterbibliothekHasVModellVModellRMRViewModelBase(DslEditorViewModelData::ViewModelStore viewModelStore)
            : base(viewModelStore)
        {
            
        }