Default implementation of the getSelection / setSelection adapter
contract every action hook (delete, duplicate, nudge, group, ...) requires.
Owns selection state, exposes a click-policy helper (single vs multi with
an extend key), and pre-builds the two adapter methods consumers otherwise
hand-roll in every demo:
Default implementation of the
getSelection/setSelectionadapter contract every action hook (delete, duplicate, nudge, group, ...) requires.Owns selection state, exposes a click-policy helper (single vs multi with an extend key), and pre-builds the two adapter methods consumers otherwise hand-roll in every demo: