CADability dotNET
The SelectObjectsAction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | SelectObjectsAction |
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
Name | Description | |
---|---|---|
![]() | AddSelectedObject |
Adds the provided GeoObject to the list of selected objects.
The SelectedObjectListChangedEvent will be raised.
|
![]() | AddSelectedObjects |
Adds the provided list of geoObjects to the list of selected objects.
The SelectedObjectListChangedEvent will be raised.
|
![]() | ClearSelectedObjects |
Clears the list of selected objects. No more objects are selected after this call.
The SelectedObjectListChangedEvent will be raised.
|
![]() | GetFocusedSelectedObject |
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
|
![]() | GetID |
Implements GetID()()()().
(Overrides Action..::..GetID()()()().) |
![]() | GetSelectedObjects |
Returns the list of selected GeoObjects.
|
![]() | OnActivate |
Implements OnActivate(Action, Boolean). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnActivate(Action, Boolean).) |
![]() | OnCommand |
Overrides OnCommand(String). See OnCommand(String) for more information.
(Overrides Action..::..OnCommand(String).) |
![]() | OnDelete |
Implements OnDelete()()()(). This implementation initiates the menu command "MenuId.Object.Delete".
(Overrides Action..::..OnDelete()()()().) |
![]() | OnDisplayChanged |
Implements OnDisplayChanged(DisplayChangeArg). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnDisplayChanged(DisplayChangeArg).) |
![]() | OnInactivate |
Implements OnInactivate(Action, Boolean). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnInactivate(Action, Boolean).) |
![]() | OnMouseDown |
Implements OnMouseDown(MouseEventArgs, IView). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnMouseDown(MouseEventArgs, IView).) |
![]() | OnMouseMove |
Implements OnMouseMove(MouseEventArgs, IView). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnMouseMove(MouseEventArgs, IView).) |
![]() | OnMouseUp |
Implements OnMouseUp(MouseEventArgs, IView). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnMouseUp(MouseEventArgs, IView).) |
![]() | OnSetAction |
Implements OnSetAction()()()(). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnSetAction()()()().) |
![]() | OnUpdateCommand |
Overrides OnUpdateCommand(String, CommandState). See OnUpdateCommand(String, CommandState) for more information.
(Overrides Action..::..OnUpdateCommand(String, CommandState).) |
![]() | OnViewsChanged |
Implements OnViewsChanged()()()(). If you override this method
don't forget to call the bas implementation.
(Overrides Action..::..OnViewsChanged()()()().) |
![]() | RemoveSelectedObject |
Removes the provided GeoObject from the list of selected objects.
The SelectedObjectListChangedEvent will be raised.
|
![]() | SetSelectedObjects(GeoObjectList) |
Replaces the contents of the list of selected objects by the contents of the provided list.
The SelectedObjectListChangedEvent will be raised.
|
![]() | SetSelectedObjects(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
Name | Description | |
---|---|---|
![]() | PickMode |
Gets or sets the pickmode or selection mode for this SelectObjectsAction.
|
Events
Name | Description | |
---|---|---|
![]() | ClickOnSelectedObjectEvent |
Event raised when clicking on a already selected object.
|
![]() | FilterMouseMessagesEvent |
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.
|
![]() | SelectedObjectListChangedEvent |
Event raised when the list of selected objects changed.
|