Feature 26: Update application description if flow chart element is moved


AD4.AppDesigner.26.10

Bugfix: In same cases the wire segment adorner isn't moved correctly
  • FlowChartWireCenterAdorner, FlowChartWireStartAdorner, FlowChartWireTargetAdorner simplifed by adding base class FlowChartWireAdornerBase
  • Had to InvalidateArrange the adorner in FlowChartWireAdornerBase.Thumb_DragDelta to fix the bug.

AD4.AppDesigner.26.09

Bugfix: Resulting application description sometimes contains 'Position = ""' or 'Size = ""'
  • DesignAttributeExtensions improved to handle this issue

AD4.AppDesigner.26.08

Update application description text if wire segment decorator was moved:
  • MoveFlowChartWireDecorator.MovedEventInputPin implemented.
Bugfix: If design attribute of flow output pin was created automatically the defined element type was wrong:
  • RenderFlowChartPins improved

AD4.AppDesigner.26.07

Started with update application description text if wire point was moved.
First the right adorners depending on type of wire segment must be moved.
  • Flow chart adorners simplified
  • Class MoveFlowChartWireDecorator added to handle the moving and moved events
  • MoveFlowChartWireDecorator.MovingEventInputPin implemented to handle the moving of wire segment, related wire segment, rleated ArrowDecorator. (Had some problems with the adorner if wire was moved. Bug was in EnforceSize function of adorner.)

The extended MoveFlowChartDecoratorFlow:
AD4.MoveFlowChartDecoratorFlow.26.07.png

AD4.AppDesigner.26.06

Update application description text after move of wire caption:
  • AD4.AppDesigner.WPF.Helpers.DesignAttributeEx.GetLabelPositionString extended to handle FlowChartWireSegmentDecoratorBase as parent.

AD4.AppDesigner.26.05

Update application description text after move of step-pin caption:
  • MoveFlowChartCaptionDecorator.MovingEventInputPin improved (SnapToGrid part)
  • DesignAttributeEx.GetLabelPositionString extended to handle step pin related captions

AD4.AppDesigner.26.04

Update application description text after move of flow-pin caption:
  • FlowChartCaptionDecorator extended by adding event DevoratorMoved
  • MoveFlowChartCaptionDecorator extended to update the position part of related design attribute, MovedOutuputPin added.
  • WireFlowChartDecoratorEvents extended by wiring DecoratorMoved event to MoveFlowChartCaptionDecorator
  • DesignAttributeEx.GetLabelPositionString implemented

The extended MoveFlowChartDecoratorFlow:
AD4.MoveFlowChartDecoratorFlow.26.04.png

AD4.AppDesigner.26.03

Update application description text after move of step-pin:
  • FlowChartStepPinDecorator extended by adding event DecoratorMoved
  • Design of MoveFlowChartDecoratorFlow improved (left to right instead of top to down)
  • WireFlowChartDecoratorEvents extended by wiring DecoratorMoved event to MoveFlowChartStepPinDecorator
  • MoveFlowChartStepPinDecorator extended to update the position part of the step pin design attribute, MovedOutputPin event added.
  • DesignAttributeEx.GetStepPinPositionString added to create relative position string of step pin
BugFix: AppDesigner crashed because of 'BinIncludeSubFolder = ""':
  • ParseAppCodeGenerationSettings improved by better parsing validation

The extended MoveFlowChartDecoratorFlow:
AD4.MoveFlowChartDecoratorFlow.26.03.png

AD4.AppDesigner.26.02

Update application description text after move of Step:
  • FlowChartStepDecorator extended by adding event DecoratorMoved
  • WireFlowChartDecoratorEvents extended by wiring DecoratorMoved event to MoveFlowChartStepDecorator
  • MoveFlowChartStepDecorator extended to update the position part of the step design attribute, MovedOutputPin event added
  • RenderSteps extended to add design attribute if nothing was defined
  • MoveFlowChartDecoratorFlow extend to start the converting of application definition object model to text

The extended MoveFlowChartDecoratorFlow:
AD4.MoveFlowChartDecoratorFlow.26.02.png

AD4.AppDesigner.26.01

Update application description text after move of FlowChartFlowPin:
  • FlowChartFlowPinDecorator extended by adding event DecoratorMoved
  • WireFlowChartDecoratorEvents extended by wiring DecoratorMoved event to MoveFlowChartFlowPinDecorator step
  • MoveFlowChartFlowPinDecorator extended to update the position part of the flow pin design attribute, MovedEventOutputPin event added
  • MoveFlowChartDecoratorFlow extend to start the converting of application definition object model to text

The extended MoveFlowChartDecoratorFlow:
AD4.MoveFlowChartDecoratorFlow.26.01.png

AD4.AppDesigner.26.00

Update application description text after move of FlowChartRemark:
  • DecoratorMoved event added to FlowChartCenterAdorner, FlowChartDecoratorAdorner, FlowChartFlowRemarkDecorator
  • MoveFlowChartRemarkDecorator extended to handle the moved event
  • WireFlowChartDecoratorEvents extended to wire the new event
  • New flow added (with steps) to generate the now ad4 file content: ConvertAppDefinitionToFileContentFlow
  • MoveFlowChartDecoratorFlow extended to show the new ad4 file content in text editor
  • RenderStepPins, RenderFlowPins, RenderSteps extended to add a new design attribute if necessary.
  • Next chapter of tutorial finished: Terminator Pattern

The MoveFlowChartDecoratorFlow handles the converting:
AD4.MoveFlowChartDecoratorFlow.26.00.png

Last edited Sep 14, 2014 at 8:05 AM by InneHo, version 14