# SelectionModule Module

Module to interact with selections.

### Dependencies

This module depends on following other modules which will automatically be loaded.

- Ui module

## Method Overview

Method | Description
--- | ---
getCustomSelection() | Return the current selection using the selection service.
getCustomSelectionFromSelector() | Return the current selection using the selection service.
getIterableSelection() | Return the selection after being adapter to IIterable

## Methods

### getCustomSelection

Object getCustomSelection()

Return the current selection using the selection service. The selection service return transformed selection using some rules define in the platform. This method use the selector with the Highest priority

custom selection

### getCustomSelectionFromSelector

Object getCustomSelectionFromSelector(String selectorID)

Return the current selection using the selection service. The selection service return transformed selection using some rules define in the platform.

selectorID
  The if of the selector to use

custom selecton from selector

### getIterableSelection

Iterable<T> getIterableSelection([String name])

Return the selection after being adapter to IIterable

name
  name or ID of part to get selection fromOptional: defaults to <null>.

iterable selection or `null`