public override void ElementPropertyChanged(DslModeling::ElementPropertyChangedEventArgs e) { if (e == null) { throw new global::System.ArgumentNullException("e"); } if (e.DomainProperty.Id == global::Microsoft.Example.Circuits.NamedElement.NameDomainPropertyId) { DslDiagrams::Decorator decorator = global::Microsoft.Example.Circuits.ResistorShape.FindResistorShapeDecorator("NameDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Microsoft.Example.Circuits.Resistor.DomainClassId); } decorator = global::Microsoft.Example.Circuits.JunctionShape.FindJunctionShapeDecorator("NameDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Microsoft.Example.Circuits.Junction.DomainClassId); } decorator = global::Microsoft.Example.Circuits.TransistorShape.FindTransistorShapeDecorator("NameDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Microsoft.Example.Circuits.Transistor.DomainClassId); } decorator = global::Microsoft.Example.Circuits.CapacitorShape.FindCapacitorShapeDecorator("NameDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Microsoft.Example.Circuits.Capacitor.DomainClassId); } } }
public override void ElementPropertyChanged(DslModeling::ElementPropertyChangedEventArgs e) { if (e == null) { throw new global::System.ArgumentNullException("e"); } if (e.DomainProperty.Id == global::Ufba.Ev.OptionHasFunctions.VarDomainPropertyId) { DslDiagrams::Decorator decorator = global::Ufba.Ev.OptionConnector.FindOptionConnectorDecorator("Var"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Ufba.Ev.OptionHasFunctions.DomainClassId); } } }
public override void ElementPropertyChanged(DslModeling::ElementPropertyChangedEventArgs e) { if (e == null) { throw new global::System.ArgumentNullException("e"); } if (e.DomainProperty.Id == global::AppDevUnited.TaskFlowDSLSample.Flow.GuardDomainPropertyId) { DslDiagrams::Decorator decorator = global::AppDevUnited.TaskFlowDSLSample.FlowConnector.FindFlowConnectorDecorator("Guard"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::AppDevUnited.TaskFlowDSLSample.Flow.DomainClassId); } } }
public override void ElementPropertyChanged(DslModeling::ElementPropertyChangedEventArgs e) { if (e == null) { throw new global::System.ArgumentNullException("e"); } if (e.DomainProperty.Id == global::Company.SlideShowDesigner.Photo.NameDomainPropertyId) { DslDiagrams::Decorator decorator = global::Company.SlideShowDesigner.PhotoShape.FindPhotoShapeDecorator("NameDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Company.SlideShowDesigner.Photo.DomainClassId); } } }
public override void ElementPropertyChanged(DslModeling::ElementPropertyChangedEventArgs e) { if (e == null) { throw new global::System.ArgumentNullException("e"); } if (e.DomainProperty.Id == global::IPS_GT16.XCXABGProyectoIPS.EntidadReferencesRelacioned.aCardMinDomainPropertyId) { DslDiagrams::Decorator decorator = global::IPS_GT16.XCXABGProyectoIPS.EntidadRelacion.FindEntidadRelacionDecorator("CardMin"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::IPS_GT16.XCXABGProyectoIPS.EntidadReferencesRelacioned.DomainClassId); } } else if (e.DomainProperty.Id == global::IPS_GT16.XCXABGProyectoIPS.EntidadReferencesRelacioned.bCardMaxDomainPropertyId) { DslDiagrams::Decorator decorator = global::IPS_GT16.XCXABGProyectoIPS.EntidadRelacion.FindEntidadRelacionDecorator("CardMax"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::IPS_GT16.XCXABGProyectoIPS.EntidadReferencesRelacioned.DomainClassId); } } }
public override void ElementPropertyChanged(DslModeling::ElementPropertyChangedEventArgs e) { if (e == null) { throw new global::System.ArgumentNullException("e"); } if (e.DomainProperty.Id == global::UPM_IPS.RAARMAPMCWeberMDD.RelacionReferencesEntidadIzq.cardinalidadDomainPropertyId) { DslDiagrams::Decorator decorator = global::UPM_IPS.RAARMAPMCWeberMDD.RelIzq.FindRelIzqDecorator("NameDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::UPM_IPS.RAARMAPMCWeberMDD.RelacionReferencesEntidadIzq.DomainClassId); } } else if (e.DomainProperty.Id == global::UPM_IPS.RAARMAPMCWeberMDD.RelacionReferencesEntidadDer.cardinalidadDomainPropertyId) { DslDiagrams::Decorator decorator = global::UPM_IPS.RAARMAPMCWeberMDD.RelDer.FindRelDerDecorator("NameDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::UPM_IPS.RAARMAPMCWeberMDD.RelacionReferencesEntidadDer.DomainClassId); } } }
public override void ElementPropertyChanged(DslModeling::ElementPropertyChangedEventArgs e) { if (e == null) { throw new global::System.ArgumentNullException("e"); } if (e.DomainProperty.Id == global::Microsoft.Gadgeteer.Designer.Module.NameDomainPropertyId) { DslDiagrams::Decorator decorator = global::Microsoft.Gadgeteer.Designer.ModuleShape.FindModuleShapeDecorator("LabelDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Microsoft.Gadgeteer.Designer.Module.DomainClassId); } } else if (e.DomainProperty.Id == global::Microsoft.Gadgeteer.Designer.Module.TypeDomainPropertyId) { DslDiagrams::Decorator decorator = global::Microsoft.Gadgeteer.Designer.ModuleShape.FindModuleShapeDecorator("TypeDecorator"); if (decorator != null) { decorator.UpdateDecoratorHostShapes(e.ModelElement, global::Microsoft.Gadgeteer.Designer.Module.DomainClassId); } } }