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