Northwoods.GoWPF 2.2.4 Assembly
ToolManager Class
Members 

This special IDiagramTool is responsible for managing all of the Northwoods.GoXam.Diagram's mode-less tools.
Syntax
Remarks

Mode-less tools are tools that are present in one of the following lists: Northwoods.GoXam.Diagram.MouseDownTools, Northwoods.GoXam.Diagram.MouseMoveTools, or Northwoods.GoXam.Diagram.MouseUpTools. This ToolManager tool is normally the Northwoods.GoXam.Diagram.DefaultTool, so it is also often the Northwoods.GoXam.Diagram.CurrentTool.

When this tool is running as the current tool, it handles mouse-down, mouse-move, and mouse-up events. For each event it iterates over each of the tools in the corresponding list, calling its IDiagramTool.CanStart predicate. If that predicate returns true, it starts that tool by making it the diagram's current tool. It then activates the tool and passes on the event to the tool by calling the corresponding method (either IDiagramTool.DoMouseDown, IDiagramTool.DoMouseMove, or IDiagramTool.DoMouseUp).

Because this tool is typically the one running as the diagram's current tool when the user isn't "doing" anything, this tool can also handle other events, such as mouse wheel events. In Silverlight it handles key down events. (WPF handles the standard keyboard events for diagrams via command bindings.)

This tool does not utilize any Northwoods.GoXam.Adornments or tool handles.

This tool does not edit the model.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  Northwoods.GoXam.Tool.DiagramTool
                     Northwoods.GoXam.Tool.ToolManager

Requirements
See Also

Reference

ToolManager Members
Northwoods.GoXam.Tool Namespace

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback