Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NTool Class

In This Topic
    NTool Class
    In This Topic
    The NTool abstract class serves as base class for all tools
    Object Model
    NTool Class
    Public MustInherit Class NTool 
       Implements Nevron.INReferenceHolder 
    Dim instance As NTool
    public abstract class NTool : Nevron.INReferenceHolder  
    In essence tools are user event processors, which interpret the events dispatched to them by the controller to perform tool specific actions.

    Tools can operate in two states - active and inactive. When a tool is active it will receive all user events. The transition between these states is performed by the Activate and Deactivate methods. You must call the CanActivate method prior to calling the Activate method and the CanDeactivate method prior to calling the Deactivate method. The actual work performed by tools, which can activate is performed by the Deactivate method. If a tool is active you can always abort it by calling the Abort method.

    Inheritance Hierarchy



    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also