/// <summary> /// Initializes a new instance of the <see cref="AnnotationCommentBuilder"/> class. /// </summary> /// <param name="commentVisualTool">The comment visual tool.</param> /// <param name="annotationVisualTool">The annotation visual tool.</param> public AnnotationCommentBuilder( CommentVisualTool commentVisualTool, AnnotationVisualTool annotationVisualTool) { _commentVisualTool = commentVisualTool; _annotationVisualTool = annotationVisualTool; }
/// <summary> /// Initializes a new instance of the <see cref="CustomAnnotationVisualToolUndoMonitor"/> class. /// </summary> /// <param name="undoManager">The undo manager.</param> /// <param name="visualTool">The visual tool.</param> public CustomAnnotationVisualToolUndoMonitor(UndoManager undoManager, AnnotationVisualTool visualTool) : base(undoManager, visualTool) { }
/// <summary> /// Creates the undo monitor for annotation visual tool. /// </summary> /// <param name="undoManager">The undo manager.</param> /// <param name="annotationVisualTool">The annotation visual tool.</param> /// <returns> /// The undo monitor for annotation visual tool. /// </returns> protected override AnnotationVisualToolUndoMonitor CreateAnnotationVisualToolUndoMonitor( UndoManager undoManager, AnnotationVisualTool annotationVisualTool) { return(new CustomAnnotationVisualToolUndoMonitor(undoManager, annotationVisualTool)); }