-RM-174-MR-WItemSelectionItemTyped can stored a value which is associated with an item
@WItemSelectionItemTyped@ extends @WItemSelectionItem@ to store a value of any type. So a user can associate an enum or any object with an @WItemSelectionItem@. The user do not have to code his own mapper to associate the @string@ of @WItemSelectionItem.getName()@ with his desired action. @WItemSelectionItem@ is extended to @getAs()@ to cast the object from @WItemSelector.at()@ to @WItemSelectionItemTyped@. @WItemSelection@ is extended to @addItem(boost::shared_ptr)@ to add @WItemSelectionItemTyped@.
Appendix:
- diff
- example use case
(from redmine: created on 2012-05-15, closed on 2012-05-16)