コード例 #1
0
ファイル: Shapes.cs プロジェクト: Daniel127/PracticaDSLTools
        /// <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>
        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, "NameDecorator");
            DslDiagrams::Decorator  decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.Center, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);

            DslDiagrams::TextField field2 = new DslDiagrams::TextField("CardinalidadIzqDecorator");

            field2.DefaultText      = global::UPM_IPS.DRQPJPFMAMPracticaDSLTools.DRQPJPFMAMPracticaDSLToolsDomainModel.SingletonResourceManager.GetString("FormaRelacionCardinalidadIzqDecoratorDefaultText");
            field2.DefaultFocusable = true;
            field2.DefaultAutoSize  = true;
            field2.AnchoringBehavior.MinimumHeightInLines     = 1;
            field2.AnchoringBehavior.MinimumWidthInCharacters = 1;
            field2.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
            DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.OuterMiddleLeft, DslDiagrams::PointD.Empty, true);

            decorators.Add(decorator2);

            DslDiagrams::TextField field3 = new DslDiagrams::TextField("CardinalidadDerDecorator");

            field3.DefaultText      = global::UPM_IPS.DRQPJPFMAMPracticaDSLTools.DRQPJPFMAMPracticaDSLToolsDomainModel.SingletonResourceManager.GetString("FormaRelacionCardinalidadDerDecoratorDefaultText");
            field3.DefaultFocusable = true;
            field3.DefaultAutoSize  = true;
            field3.AnchoringBehavior.MinimumHeightInLines     = 1;
            field3.AnchoringBehavior.MinimumWidthInCharacters = 1;
            field3.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
            DslDiagrams::Decorator decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.OuterMiddleRight, DslDiagrams::PointD.Empty, true);

            decorators.Add(decorator3);
        }
コード例 #2
0
ファイル: Shapes.cs プロジェクト: ArturGudiev/FamilyTree
        /// <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>
        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, "NameDecorator");
            DslDiagrams::Decorator  decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.Center, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);

            DslDiagrams::ShapeField field2     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "DeathDecorator");
            DslDiagrams::Decorator  decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerBottomRight, DslDiagrams::PointD.Empty);

            decorators.Add(decorator2);

            DslDiagrams::ShapeField field3     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "BirthDecorator");
            DslDiagrams::Decorator  decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.InnerBottomLeft, DslDiagrams::PointD.Empty);

            decorators.Add(decorator3);

            DslDiagrams::ShapeField field4     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "FemaleIcon");
            DslDiagrams::Decorator  decorator4 = new DslDiagrams::ShapeDecorator(field4, DslDiagrams::ShapeDecoratorPosition.InnerTopRight, DslDiagrams::PointD.Empty);

            decorators.Add(decorator4);

            DslDiagrams::ShapeField field5     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "MaleIcon");
            DslDiagrams::Decorator  decorator5 = new DslDiagrams::ShapeDecorator(field5, DslDiagrams::ShapeDecoratorPosition.InnerTopRight, DslDiagrams::PointD.Empty);

            decorators.Add(decorator5);

            DslDiagrams::ShapeField field6     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "NewMaleIcon");
            DslDiagrams::Decorator  decorator6 = new DslDiagrams::ShapeDecorator(field6, DslDiagrams::ShapeDecoratorPosition.InnerMiddleRight, DslDiagrams::PointD.Empty);

            decorators.Add(decorator6);
        }
コード例 #3
0
ファイル: Shapes.cs プロジェクト: rvegajr/entityframework
        /// <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>
        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);
        }
コード例 #4
0
        /// <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>
        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, "Name");
            DslDiagrams::Decorator  decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);

            DslDiagrams::ShapeField field2     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "ExpandCollapse");
            DslDiagrams::Decorator  decorator2 = new DslDiagrams::ExpandCollapseDecorator(this.Store, (DslDiagrams::ToggleButtonField)field2, DslDiagrams::ShapeDecoratorPosition.InnerTopRight, DslDiagrams::PointD.Empty);

            decorators.Add(decorator2);

            DslDiagrams::TextField field3 = new DslDiagrams::TextField("Type");

            field3.DefaultText      = global::JA.Risk.RiskDomainModel.SingletonResourceManager.GetString("ContainerShapeTypeDefaultText");
            field3.DefaultFocusable = true;
            field3.DefaultAutoSize  = true;
            field3.AnchoringBehavior.MinimumHeightInLines     = 1;
            field3.AnchoringBehavior.MinimumWidthInCharacters = 1;
            field3.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
            DslDiagrams::Decorator decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.OuterTopCenter, DslDiagrams::PointD.Empty);

            decorators.Add(decorator3);
        }
コード例 #5
0
        /// <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>
        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, "BarkerEntityNameDecorator");
            DslDiagrams::Decorator  decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopCenter, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);
        }
コード例 #6
0
        /// <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>
        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, "Name");
            DslDiagrams::Decorator  decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopCenter, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);

            DslDiagrams::ShapeField field2     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "ExpandCollapseDecorator");
            DslDiagrams::Decorator  decorator2 = new DslDiagrams::ExpandCollapseDecorator(this.Store, (DslDiagrams::ToggleButtonField)field2, DslDiagrams::ShapeDecoratorPosition.InnerTopRight, DslDiagrams::PointD.Empty);

            decorators.Add(decorator2);
        }
コード例 #7
0
        /// <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>
        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::TextField field1 = new DslDiagrams::TextField("NameDecorator");

            field1.DefaultText      = global::Company.SlideShowDesigner.SlideShowDesignerDomainModel.SingletonResourceManager.GetString("PhotoShapeNameDecoratorDefaultText");
            field1.DefaultFocusable = true;
            field1.DefaultAutoSize  = true;
            field1.AnchoringBehavior.MinimumHeightInLines     = 1;
            field1.AnchoringBehavior.MinimumWidthInCharacters = 1;
            field1.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
            DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.OuterBottomCenter, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);
        }
コード例 #8
0
ファイル: Shapes.cs プロジェクト: Aniz/visualSh
        /// <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>
        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, "Name");
            DslDiagrams::Decorator  decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopCenter, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);

            DslDiagrams::ShapeField field2     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "ReturnType");
            DslDiagrams::Decorator  decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerBottomCenter, DslDiagrams::PointD.Empty);

            decorators.Add(decorator2);

            DslDiagrams::ShapeField field3     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "DeviceType");
            DslDiagrams::Decorator  decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.Center, DslDiagrams::PointD.Empty);

            decorators.Add(decorator3);
        }
コード例 #9
0
        /// <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>
        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, "Nombre");
            DslDiagrams::Decorator  decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);

            decorators.Add(decorator1);

            DslDiagrams::ShapeField field2     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "Tipo de letra");
            DslDiagrams::Decorator  decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);

            decorators.Add(decorator2);

            DslDiagrams::ShapeField field3     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "Tamaño de letra");
            DslDiagrams::Decorator  decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);

            decorators.Add(decorator3);

            DslDiagrams::ShapeField field4     = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "Color de letra");
            DslDiagrams::Decorator  decorator4 = new DslDiagrams::ShapeDecorator(field4, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);

            decorators.Add(decorator4);
        }
コード例 #10
0
ファイル: Shapes.cs プロジェクト: lotosbin/binbin-dsl
		/// <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>
		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, "NameDecorator");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.Center, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
				
			DslDiagrams::TextField field2 = new DslDiagrams::TextField("prototype");
			field2.DefaultText = global::Com.Lotos.BinbinDomainLanguage.BinbinDomainLanguageDomainModel.SingletonResourceManager.GetString("AggregateRootShapeprototypeDefaultText");
			field2.DefaultFocusable = true;
			field2.DefaultAutoSize = true;
			field2.AnchoringBehavior.MinimumHeightInLines = 1;
			field2.AnchoringBehavior.MinimumWidthInCharacters = 1;
			field2.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.OuterTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator2);
				
		}
コード例 #11
0
ファイル: Shapes.cs プロジェクト: Exclr8/CloudCore
		/// <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>
		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, "NameDecorator");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
				
			DslDiagrams::ShapeField field2 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "TypeDecorator");
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerBottomRight, DslDiagrams::PointD.Empty);
			decorators.Add(decorator2);
				
			DslDiagrams::ShapeField field3 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "DescribeIntervalDecorator");
			DslDiagrams::Decorator decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, new DslDiagrams::PointD(0, 0.3));
			decorators.Add(decorator3);
				
			DslDiagrams::ShapeField field4 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "StartDateOnlyDecorator");
			DslDiagrams::Decorator decorator4 = new DslDiagrams::ShapeDecorator(field4, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, new DslDiagrams::PointD(0, 0.45));
			decorators.Add(decorator4);
				
			DslDiagrams::ShapeField field5 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "StartTimeOnlyDecorator");
			DslDiagrams::Decorator decorator5 = new DslDiagrams::ShapeDecorator(field5, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, new DslDiagrams::PointD(0, 0.6));
			decorators.Add(decorator5);
				
		}
コード例 #12
0
ファイル: Shapes.cs プロジェクト: Jeff-Lewis/linqtordf
		/// <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>
		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, "Comment");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.Center, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
				
		}
コード例 #13
0
ファイル: Shapes.cs プロジェクト: Jeff-Lewis/linqtordf
		/// <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>
		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, "Sterotype");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopCenter, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
				
			DslDiagrams::ShapeField field2 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "Name");
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerTopCenter, new DslDiagrams::PointD(0, 0.15));
			decorators.Add(decorator2);
				
			DslDiagrams::ShapeField field3 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "ExpandCollapse");
			DslDiagrams::Decorator decorator3 = new DslDiagrams::ExpandCollapseDecorator(this.Store, (DslDiagrams::ToggleButtonField)field3, DslDiagrams::ShapeDecoratorPosition.InnerTopRight, DslDiagrams::PointD.Empty);
			decorators.Add(decorator3);
				
		}
コード例 #14
0
		/// <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>
		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, "TextNombre");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
				
			DslDiagrams::ShapeField field2 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "TextColor");
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator2);
				
			DslDiagrams::ShapeField field3 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "TextOutput");
			DslDiagrams::Decorator decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator3);
				
			DslDiagrams::ShapeField field4 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "TextEstilo");
			DslDiagrams::Decorator decorator4 = new DslDiagrams::ShapeDecorator(field4, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator4);
				
		}
コード例 #15
0
		/// <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>
		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::TextField field1 = new DslDiagrams::TextField("TextNombre");
			field1.DefaultText = global::Company.DSLBootstrap.DSLBootstrapDomainModel.SingletonResourceManager.GetString("FTableFormalTextNombreDefaultText");
			field1.DefaultFocusable = true;
			field1.DefaultAutoSize = true;
			field1.AnchoringBehavior.MinimumHeightInLines = 1;
			field1.AnchoringBehavior.MinimumWidthInCharacters = 1;
			field1.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.OuterTopCenter, DslDiagrams::PointD.Empty, true);
			decorators.Add(decorator1);
				
		}
コード例 #16
0
ファイル: Shapes.cs プロジェクト: Exclr8/CloudCore
		/// <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>
		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::TextField field1 = new DslDiagrams::TextField("NameDecorator");
			field1.DefaultText = global::Architect.CloudCoreArchitectSubProcessDomainModel.SingletonResourceManager.GetString("DatabaseBatchWaitShapeNameDecoratorDefaultText");
			field1.DefaultFocusable = true;
			field1.DefaultAutoSize = true;
			field1.AnchoringBehavior.MinimumHeightInLines = 1;
			field1.AnchoringBehavior.MinimumWidthInCharacters = 1;
			field1.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.OuterBottomCenter, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
				
			DslDiagrams::ShapeField field2 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "SubProcessGuid");
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerTopCenter, DslDiagrams::PointD.Empty);
			decorators.Add(decorator2);
				
		}
コード例 #17
0
ファイル: Shapes.cs プロジェクト: ericziko/navigation
		/// <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>
		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, "KeyDecorator");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopCenter, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
				
			DslDiagrams::ShapeField field2 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "PageDecorator");
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.Center, DslDiagrams::PointD.Empty);
			decorators.Add(decorator2);
				
			DslDiagrams::ShapeField field3 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "InitialDecorator");
			DslDiagrams::Decorator decorator3 = new DslDiagrams::ShapeDecorator(field3, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator3);
				
			DslDiagrams::ShapeField field4 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "RouteDecorator");
			DslDiagrams::Decorator decorator4 = new DslDiagrams::ShapeDecorator(field4, DslDiagrams::ShapeDecoratorPosition.InnerBottomCenter, DslDiagrams::PointD.Empty);
			decorators.Add(decorator4);
				
		}
コード例 #18
0
ファイル: Shapes.cs プロジェクト: Phidiax/open-wssf-2015
		/// <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>
		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, "Type");
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ShapeDecorator(field1, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, new DslDiagrams::PointD(0.2, 0.15));
			decorators.Add(decorator1);
				
			DslDiagrams::ShapeField field2 = DslDiagrams::ShapeElement.FindShapeField(shapeFields, "TypeIcon");
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ShapeDecorator(field2, DslDiagrams::ShapeDecoratorPosition.InnerTopLeft, DslDiagrams::PointD.Empty);
			decorators.Add(decorator2);
				
		}