CADability dotNET

The SelectObjectsAction type exposes the following members.

Constructors

  NameDescription
Public methodSelectObjectsAction
Constructs a new SelectObjectsAction. This is automatically done when a SingleDocumentFrame is created and the instance of this class can be retrieved from ActiveAction.

Methods

  NameDescription
Public methodAddSelectedObject
Adds the provided GeoObject to the list of selected objects. The SelectedObjectListChangedEvent will be raised.
Public methodAddSelectedObjects
Adds the provided list of geoObjects to the list of selected objects. The SelectedObjectListChangedEvent will be raised.
Public methodClearSelectedObjects
Clears the list of selected objects. No more objects are selected after this call. The SelectedObjectListChangedEvent will be raised.
Public methodGetFocusedSelectedObject
Returns the selected object which currently has the focus. This is only meaningful if several objects are selected and the user navigates in the control center
Public methodGetID
Implements GetID()()()().
(Overrides Action..::..GetID()()()().)
Public methodGetSelectedObjects
Returns the list of selected GeoObjects.
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
Overrides OnCommand(String). See OnCommand(String) for more information.
(Overrides Action..::..OnCommand(String).)
Public methodOnDelete
Implements OnDelete()()()(). This implementation initiates the menu command "MenuId.Object.Delete".
(Overrides Action..::..OnDelete()()()().)
Public methodOnDisplayChanged
Implements OnDisplayChanged(DisplayChangeArg). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnDisplayChanged(DisplayChangeArg).)
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 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 methodOnSetAction
Implements OnSetAction()()()(). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnSetAction()()()().)
Public methodOnUpdateCommand (Overrides Action..::..OnUpdateCommand(String, CommandState).)
Public methodOnViewsChanged
Implements OnViewsChanged()()()(). If you override this method don't forget to call the bas implementation.
(Overrides Action..::..OnViewsChanged()()()().)
Public methodRemoveSelectedObject
Removes the provided GeoObject from the list of selected objects. The SelectedObjectListChangedEvent will be raised.
Public methodSetSelectedObjects(GeoObjectList)
Replaces the contents of the list of selected objects by the contents of the provided list. The SelectedObjectListChangedEvent will be raised.
Public methodSetSelectedObjects(GeoObjectList, Boolean)
Replaces the contents of the list of selected objects by those objects of the provided list that are accepted by the according FilterList. The SelectedObjectListChangedEvent will be raised.

Properties

  NameDescription
Public propertyPickMode
Gets or sets the pickmode or selection mode for this SelectObjectsAction.

Events

  NameDescription
Public eventClickOnSelectedObjectEvent
Event raised when clicking on a already selected object.
Public eventFilterMouseMessagesEvent
Event raised before the according mouse message is processed by this action. The user may prevent the handling of this mouse message by this action and/or do some other work instead.
Public eventSelectedObjectListChangedEvent
Event raised when the list of selected objects changed.

See Also