protected void SetSelectedObjects(List <ObjectInstance> objects) { if (_selectionManager != null) { _selectionManager.ClearSelection(); _selectionManager.AddObjectsToSelection(objects); } }
private void CommandSelectAll() { if (CommandCanSelectAll()) { if (Layer != null) { _selectionManager.AddObjectsToSelection(Layer.Objects); SetCurrentTool(NewSelectTool()); } } }