protected override DslDiagrams::ShapeElement CreateChildShape(DslModeling::ModelElement element) { if (element is global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.EntityType) { global::ORMSolutions.ORMArchitect.Views.BarkerERView.BarkerEntityShape newShape = new global::ORMSolutions.ORMArchitect.Views.BarkerERView.BarkerEntityShape(this.Partition); if (newShape != null) { newShape.Size = newShape.DefaultSize; // set default shape size } return(newShape); } return(base.CreateChildShape(element)); }
protected override DslDiagrams::ShapeElement CreateChildShape(DslModeling::ModelElement element) { if(element is global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.EntityType) { global::ORMSolutions.ORMArchitect.Views.BarkerERView.BarkerEntityShape newShape = new global::ORMSolutions.ORMArchitect.Views.BarkerERView.BarkerEntityShape(this.Partition); if(newShape != null) newShape.Size = newShape.DefaultSize; // set default shape size return newShape; } return base.CreateChildShape(element); }