Provides conversion between the objects in
Selection
s generated by a
SelectionSource
, and some other format. For example, the raw
Selection
s generated by a tree-based
SelectionSource
may contain
TreeNode
s. A
SelectionConverter
can then be applied to the selection to convert the tree nodes to the corresponding business objects.
For {@link MutableSelectionSource mutable selection sources} a conversion in the other directionmay be needed. Again using the example of a tree-based selection source, the selection source may expect selections containing TreeNode
s. A SelectionConverter
can then be used to convert business objects to the corresponding tree nodes in the tree model.
@author Torgil Zethson
@since 1.3.0