/// <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;
 }
示例#2
0
 /// <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)
 {
 }
示例#3
0
 /// <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));
 }