Package com.nomagic.magicdraw.ui
Interface SelectionProvider.Selection
- Enclosing class:
- SelectionProvider
@OpenApiAll
public static interface SelectionProvider.Selection
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends BaseElement>
default BaseElement
int
getSize()
-
Method Details
-
getSize
int getSize()- Returns:
- number of selected elements
-
getSelected
Collection<? extends BaseElement> getSelected()- Returns:
- selected elements
-
getMainElement
- Returns:
- main selected element
-
getSelectedOrMainElement
- Returns:
- selected element if only one element is selected or main element
-