CADability dotNET

The ConstructAction type exposes the following members.

Methods

  NameDescription
Public methodAutoRepeat
Detremins whether this action supports autorepeat. Autorepeat is enabled in the GlobalSettings.
(Overrides Action..::..AutoRepeat()()()().)
Protected methodCancelBackgroundTask
Public methodFindShape
Tries to find a CompoundShape that encloses the point p on the plane plane.
Protected methodFindTangentialPoint
Additional posibility for the derived action to specify a tangential point besides the tangential point from the base point
Protected methodFinish
Explicitly finish this action. OnDone will be called.
Protected methodKeepAsLastStyle
Sets the Styleof the provided GeoObject go as the last style. If new objects are created with construct method and last style is used, this style will be used.
Protected methodMayFinish
Public methodOnActivate
Implements OnActivate(Action, Boolean). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnActivate(Action, Boolean).)
Public methodOnCommand
Handles a few context menu commands. Don't forget to call the base implementation if you override this method. See ICommandHandler.
(Overrides Action..::..OnCommand(String).)
Public methodOnDifferentSolution
Will be called when MultiSolution is true and the user presses the PgUp/PgDown key or selects the appropriate entries of the context menu. Override this method to implement a multi-solution construction. Default implementation is empty.
Public methodOnDone
Called, when the ConstructAction is done, i.e. all non-optional inputs have been fixed. The default implementation adds the active object (if it exists) to the active model and removes this action. Override this method if you need a different behaviour.
Public methodOnEnter()()()()
Overrides OnEnter()()()()
(Overrides Action..::..OnEnter()()()().)
Public methodOnEnter(Object)
Overrides OnEnter()()()(). Usually you don't override this method, but handle the appropriate events of the input objects.
(Overrides Action..::..OnEnter(Object).)
Public methodOnEscape()()()()
Overrides OnEscape()()()()
(Overrides Action..::..OnEscape()()()().)
Public methodOnEscape(Object)
Overrides OnEscape()()()(). Usually you don't override this method, but handle the appropriate events of the input objects.
(Overrides Action..::..OnEscape(Object).)
Public methodOnInactivate
Implements OnInactivate(Action, Boolean). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnInactivate(Action, Boolean).)
Public methodOnMouseDown
Implements OnMouseDown(MouseEventArgs, IView). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnMouseDown(MouseEventArgs, IView).)
Public methodOnMouseLeave
Overrides OnMouseLeave(EventArgs, IView). Usually you don't override this method, but handle the appropriate events of the input objects.
(Overrides Action..::..OnMouseLeave(EventArgs, IView).)
Public methodOnMouseMove
Implements OnMouseMove(MouseEventArgs, IView). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnMouseMove(MouseEventArgs, IView).)
Public methodOnMouseUp
Implements OnMouseUp(MouseEventArgs, IView). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnMouseUp(MouseEventArgs, IView).)
Public methodOnRemoveAction
Implements OnRemoveAction()()()(). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnRemoveAction()()()().)
Public methodOnSetAction
Implements OnSetAction()()()(). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnSetAction()()()().)
Public methodOnSolution
Will be called when MultiSolution is true and the user presses the PgUp/PgDown key or selects the appropriate entries of the context menu. Override this method to implement a multi-solution construction. Default implementation is empty.
Public methodOnUpdateCommand (Overrides Action..::..OnUpdateCommand(String, CommandState).)
Public methodOnViewsChanged
Implements OnViewsChanged()()()(). This implementation aborts the action.
(Overrides Action..::..OnViewsChanged()()()().)
Public methodSetFocus
Sets the input focus to the given input object. The input object must be one of those given in the SetInput(array<Object>[]()[][]) method.
Public methodSetInput
Public methodSnapPoint(MouseEventArgs, IView, SnapPointFinder..::..DidSnapModes%)
Gets a point from the MouseEventArgs and the view. The point will be in the appropriate model and will be snapped according to the views snap setting.
Public methodSnapPoint(MouseEventArgs, GeoPoint, IView, SnapPointFinder..::..DidSnapModes%)
Protected methodStartBackgroundTask
Protected methodWaitForBackgroundTask

Explicit Interface Implementations

See Also