# SelectionModule Module

Module to interact with selection

### 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

java.lang.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

Returns:java.lang.Object ...

### getCustomSelectionFromSelector

java.lang.Object getCustomSelectionFromSelector(java.lang.String selectorID)

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

Parameter | Type | Description
--- | --- | ---
selectorID | java.lang.String | The if of the selector to use

Returns:java.lang.Object ...

### getIterableSelection

java.lang.Iterable getIterableSelection([java.lang.String name])

Return the selection after being adapter to IIterable

Parameter | Type | Description
--- | --- | ---
name | java.lang.String | Optional: defaults to <null>.

Returns:java.lang.Iterable ...