public interface ISelectionCandidateChooser
This class can for example be implemented by showing a popup menu that allows you to choose the feature to select.
Modifier and Type | Method and Description |
---|---|
void |
chooseCandidates(List<LayerFeatureId> selectionCandidates,
Coordinate position,
ISelectionCandidateCallback callback)
This method is called by
SelectEventHandler when there are multiple selection candidates. |
void chooseCandidates(@NotNull List<LayerFeatureId> selectionCandidates, @NotNull Coordinate position, @NotNull ISelectionCandidateCallback callback)
SelectEventHandler
when there are multiple selection candidates.
It allows to determine which subset of the features need to be selected.
selectionCandidates
- : a list of features that could be selected.position
- : the current mouse position. This coordinate is in screen coordinate.callback
- this callback needs to be called to provide the subset of the selection candidates that should be selected.