/// <summary> /// Initializes the controller for the given view. /// </summary> /// <param name="view">The view object to attach to the controller</param> /// <remarks> /// This method initializes the controller and registers all of the /// tools in the Essential Diagram library. /// </remarks> public override void Initialize(Syncfusion.Windows.Forms.Diagram.View view) { base.Initialize(view); RegisterTool(new MoveTool()); RegisterTool(new ResizeTool()); RegisterTool(new RotateTool()); RegisterTool(new LineTool()); RegisterTool(new OrthogonalLineTool()); RegisterTool(new PolyLineTool()); RegisterTool(new RectangleTool()); RegisterTool(new RoundRectTool()); RegisterTool(new ArcTool()); RegisterTool(new PolygonTool()); RegisterTool(new EllipseTool()); RegisterTool(new CurveTool()); RegisterTool(new ClosedCurveTool()); RegisterTool(new PortTool()); RegisterTool(new LinkTool()); RegisterTool(new TextTool()); RegisterTool(new ZoomTool()); RegisterTool(new PanTool()); RegisterTool(new GroupTool()); RegisterTool(new UngroupTool()); RegisterTool(new SelectTool()); RegisterTool(new MetafileTool()); RegisterTool(new BitmapTool()); RegisterTool(new VertexEditTool()); }
/// <summary> /// Initializes the controller for the given view. /// </summary> /// <param name="view">The view object to attach to the controller</param> public override void Initialize(Syncfusion.Windows.Forms.Diagram.View view) { base.Initialize(view); RegisterTool(new MoveTool()); RegisterTool(new ResizeTool()); RegisterTool(new LineTool()); RegisterTool(new PolyLineTool()); RegisterTool(new RectangleTool()); RegisterTool(new ArcTool()); RegisterTool(new PolygonTool()); RegisterTool(new EllipseTool()); RegisterTool(new CurveTool()); RegisterTool(new ClosedCurveTool()); RegisterTool(new PortTool()); RegisterTool(new TextTool()); RegisterTool(new ZoomTool()); RegisterTool(new PanTool()); RegisterTool(new SelectTool()); }
/// <summary> /// Constructs a DiagramController and attaches it to get specified view. /// </summary> /// <param name="view"></param> public DiagramController(Syncfusion.Windows.Forms.Diagram.View view) : base(view) { //[EvalPlaceholder]// }
/// <summary> /// Constructs a DiagramController and attaches it to get specified view. /// </summary> /// <param name="view"></param> public SymbolEditController(Syncfusion.Windows.Forms.Diagram.View view) { Initialize(view); }