Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenWalnut Core
OpenWalnut Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • OpenWalnut
  • OpenWalnut CoreOpenWalnut Core
  • Issues
  • #249

Closed
Open
Opened May 15, 2012 by Sebastian Volke@volke
  • Report abuse
  • New issue
Report abuse New issue

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

To upload designs, you'll need to enable LFS. More information
Assignee
Assign to
OpenWalnut 1.3
Milestone
OpenWalnut 1.3
Assign milestone
Time tracking
None
Due date
None
1
Labels
Feature
Assign labels
  • View project labels
Reference: openwalnut/openwalnut#249