GoDiagram Win Reference
GoToolCreating Class Methods


For a list of all members of this type, see GoToolCreating members.

Public Methods
 NameDescription
Public MethodCanStartOverridden. This tool, when used modelessly, does not start when the user is using the context button or when the mouse is over an object in the document.  
Public MethodComputeBoxCompute the Bounds for the NewObject, given the initial and current positions of the mouse.  
Public MethodCopyPrototypeThis method is called to create the NewObject by making a copy of the Prototype.  
Public MethodDoCancelMouseOverridden. If Modal and not OneShot, the current NewObject is removed but this tool remains active to allow further object creations; otherwise this tool is stopped.  
Public MethodDoClickAny tool can call this method in order to implement the standard click behavior. (Inherited from Northwoods.Go.GoTool)
Public MethodDoCreateAdd the NewObject to this view's document.  
Public MethodDoKeyDownOverridden. When Modal is true and OneShot is false, handle Ctrl-Z and Ctrl-Y for undo and redo.  
Public MethodDoMouseDownOverridden. A mouse-down activates this tool so that a mouse-move causes the Prototype object to be copied as the NewObject.  
Public MethodDoMouseHoverThe view calls this method after the mouse rests for a while at a point; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoMouseMoveOverridden. Create and resize the NewObject that is added to this view.  
Public MethodDoMouseUpOverridden. A mouse-up calls DoCreate to add the NewObject to the view's document.  
Public MethodDoMouseWheelThe view calls this method as the mouse wheel rotates; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoSelectAny tool can call this method in order to implement the standard selection behavior for a user click. (Inherited from Northwoods.Go.GoTool)
Public MethodIsBeyondDragSizeDetermine if the mouse has gone beyond the DragSize distance to be considered a drag instead of a sloppy click. (Inherited from Northwoods.Go.GoTool)
Public MethodStartOverridden. Starting this tool starts a transaction covering all of the changes made until this tool is stopped.  
Public MethodStartTransactionStart a transaction on the view. (Inherited from Northwoods.Go.GoTool)
Public MethodStopOverridden. Stopping this tool will remove the temporary NewObject from the view, if it had not yet been added to the document.  
Public MethodStopToolThis method just causes the view's current tool to be stopped and to start the view's default tool instead as the current tool. (Inherited from Northwoods.Go.GoTool)
Public MethodStopTransactionStop the current transaction, aborting it if TransactionResult is null. (Inherited from Northwoods.Go.GoTool)
Top
See Also

Reference

GoToolCreating Class
Northwoods.Go Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback