Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeamPluginManipulationContext"/> class.
 /// </summary>
 /// <param name="component">The component to be manipulated.</param>
 /// <param name="feature">The parent feature.</param>
 public BeamPluginManipulationContext(Component component, PluginManipulationFeatureBase feature)
     : base(component, feature)
 {
     this.handleManager = feature.HandleManager;
     this.pointHandles  = this.CreatePointHandles(component);
     this.AttachHandlers();
 }
 /// <summary>
 /// Creates an instance of the <see cref="CircleManipulationContext"/> class.
 /// </summary>
 /// <param name="component">The transition section component.</param>
 /// <param name="parentFeature">The parent feature.</param>
 public CircleManipulationContext(Component component, PluginManipulationFeatureBase parentFeature)
     : base(component, parentFeature)
 {
     this.handleManager = this.ParentFeature.HandleManager;
     this.managedCircle = this.GetCircle();
     this.CreateRadiusHandle();
 }
 /// <summary>
 /// Creates an instance of the <see cref="RectangleManipulationContext"/>
 /// </summary>
 /// <param name="component">The transition section plugin</param>
 /// <param name="feature">The owning feature</param>
 public RectangleManipulationContext(Component component, PluginManipulationFeatureBase feature)
     : base(component, feature)
 {
     this.handleManager = this.ParentFeature.HandleManager;
     this.CreateHandles();
 }