| Summary: | [EcoreTools] Cardinality edition could be more intuitive | ||
|---|---|---|---|
| Product: | [Modeling] Ecoretools | Reporter: | Simon Bernard <sbernard> |
| Component: | General | Assignee: | Project Inbox <ecore-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | contact, jlescot, wallin_erik |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | M7 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | Ergonomy | ||
|
Description
Simon Bernard
Simon, can you propose a patch ? But we need to only accept valid cardinalities for Ecore : 0..1 0..* 1..* and perhaps some others *** Bug 270193 has been marked as a duplicate of this bug. *** Fixed. Now, we provide some "shortcuts" when editing cardinalities through the Editable cell editor in the diagram : - 0..* instead of 0..-1 - 1..? instead of 1..-2 - 1 instead of 1..1 - 3 instead of 3..3 - ... Note that I did not use * instead of 0..*, so that it reflects icon used for an EAttribute with the same cardinality. |