Package com.luciad.controllers
Interface ISelectionCandidateChooser
public interface ISelectionCandidateChooser
A selection candidate handler has the responsibility to show candidates for selection and let a user choose which feature(s) they want to select.
This class can for example be implemented by showing a popup menu that allows you to choose the feature to select.
-
Method Summary
Modifier and TypeMethodDescriptionvoidchooseCandidates(List<@NotNull LayerFeatureId> selectionCandidates, Coordinate position, ISelectionCandidateCallback callback) This method is called bySelectEventHandlerwhen there are multiple selection candidates.
-
Method Details
-
chooseCandidates
void chooseCandidates(@NotNull List<@NotNull LayerFeatureId> selectionCandidates, @NotNull Coordinate position, @NotNull ISelectionCandidateCallback callback) This method is called bySelectEventHandlerwhen there are multiple selection candidates.It allows to determine which subset of the features need to be selected.
- Parameters:
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.
-