src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/Shapes.cs
/// <summary>
/// Initialize the collection of decorators associated with this shape type.  This method also
/// creates shape fields for outer decorators, because these are not part of the shape fields collection
/// associated with the shape, so they must be created here rather than in InitializeShapeFields.
/// </summary>
Initialize the collection of decorators associated with this shape type.  This method also
creates shape fields for outer decorators, because these are not part of the shape fields collection
associated with the shape, so they must be created here rather than in InitializeShapeFields.
Initialize the collection of decorators associated with this shape type . This method also creates shape fields for outer decorators because these are not part of the shape fields collection associated with the shape so they must be created here rather than in InitializeShapeFields .
protected override void InitializeDecorators(global::System.Collections.Generic.IList<DslDiagrams::ShapeField> shapeFields, global::System.Collections.Generic.IList<DslDiagrams::Decorator> decorators)
		{
			base.InitializeDecorators(shapeFields, decorators);
			DslDiagrams::ShapeField field1 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "ExpandCollapse");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ExpandCollapseDecorator(this.Store, (DslDiagrams::ToggleButtonField)field1, DslDiagrams::ShapeDecoratorPosition.InnerTopRight, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
			DslDiagrams::ShapeField field2 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "BaseTypeName");
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, new DslDiagrams::PointD(0.4, 0.125));
			decorators.Add(decorator2);
			DslDiagrams::ShapeField field3 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "IconDecorator");
			DslDiagrams::Decorator decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator3);
			DslDiagrams::ShapeField field4 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "Name");
			DslDiagrams::Decorator decorator4 = new DslDiagrams::ShapeDecorator(field4, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, new DslDiagrams::PointD(0.25, 0));
			decorators.Add(decorator4);
			DslDiagrams::ShapeField field5 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "BaseTypeIconDecorator");
			DslDiagrams::Decorator decorator5 = new DslDiagrams::ShapeDecorator(field5, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, new DslDiagrams::PointD(0.25, 0.125));
			decorators.Add(decorator5);
		}
protected override void InitializeDecorators ( global :: System . Collections . Generic . IList < DslDiagrams :: ShapeField > shapeFields , global :: System . Collections . Generic . IList < DslDiagrams :: Decorator > decorators ) { base . InitializeDecorators ( shapeFields , decorators ) ; DslDiagrams :: ShapeField field1 = DslDiagrams :: ShapeElement . FindShapeField ( shapeFields , " " ) ; DslDiagrams :: Decorator decorator1 = new DslDiagrams :: ExpandCollapseDecorator ( this . Store , ( DslDiagrams :: ToggleButtonField ) field1 , DslDiagrams :: ShapeDecoratorPosition . InnerTopRight , DslDiagrams :: PointD . Empty ) ; decorators . Add ( decorator1 ) ; DslDiagrams :: ShapeField field2 = DslDiagrams :: ShapeElement . FindShapeField ( shapeFields , " " ) ; DslDiagrams :: Decorator decorator2 = new DslDiagrams :: ShapeDecorator ( field2 , DslDiagrams :: ShapeDecoratorPosition . InnerTopLeft , new DslDiagrams :: PointD ( 0.4 , 0.125 ) ) ; decorators . Add ( decorator2 ) ; DslDiagrams :: ShapeField field3 = DslDiagrams :: ShapeElement . FindShapeField ( shapeFields , " " ) ; DslDiagrams :: Decorator decorator3 = new DslDiagrams :: ShapeDecorator ( field3 , DslDiagrams :: ShapeDecoratorPosition . InnerTopLeft , DslDiagrams :: PointD . Empty ) ; decorators . Add ( decorator3 ) ; DslDiagrams :: ShapeField field4 = DslDiagrams :: ShapeElement . FindShapeField ( shapeFields , " " ) ; DslDiagrams :: Decorator decorator4 = new DslDiagrams :: ShapeDecorator ( field4 , DslDiagrams :: ShapeDecoratorPosition . InnerTopLeft , new DslDiagrams :: PointD ( 0.25 , 0 ) ) ; decorators . Add ( decorator4 ) ; DslDiagrams :: ShapeField field5 = DslDiagrams :: ShapeElement . FindShapeField ( shapeFields , " " ) ; DslDiagrams :: Decorator decorator5 = new DslDiagrams :: ShapeDecorator ( field5 , DslDiagrams :: ShapeDecoratorPosition . InnerTopLeft , new DslDiagrams :: PointD ( 0.25 , 0.125 ) ) ; decorators . Add ( decorator5 ) ; }
Initialize the collection of decorators associated with this shape type.
Initialize the collection of decorators associated with this shape type .
shapeFields
global::System.Collections.Generic.IList<DslDiagrams::ShapeField>
decorators
global::System.Collections.Generic.IList<DslDiagrams::Decorator>