Currently, the support for "contained" units lets us define contained unit types and add contained units programmatically. What we don't have is a UI for adding these units, so it is an invisible/unavailable feature for users.
With the new "single button UI" (a tree view for adding units from) we can represent contained units more easily than with the original dialog method. The contained units would just be in the tree as sub-items of their parent unit, but the UI for defining which unit they get added to still needs thought.
The question is, does anyone have any other ideas on what UI they would find most useful/intuitive for adding contained units? My current ideas are:
- Add contained units as sub-items in the tree. Adding one lists all units of the parent type in a dialog for you to pick from.
- Add contained units as sub-items in the tree. Right-clicking is the only way to add, which brings up an "Add to..." item with each candidate parent unit as an item
- Put an "Add contained unit" button on the unit forms and use something similar to the existing "Add unit to category" forms
- Put an "Add contained unit" menu item in the right-click menu on units in your army. Clicking lists all units of the parent type in a dialog for you to pick from.
- Put an "Add contained unit..." menu item in the right-click menu on units in your army, which brings up an "Add to..." item with each candidate parent unit as an item.
- Support drag-and-drop between the unit type tree and the army tree (I'm sure WinForms must support it, but I've never looked at how)
- Some other idea I haven't thought of