Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337051 - Parameter upper bound is not handled.
Summary: Parameter upper bound is not handled.
Status: RESOLVED FIXED
Alias: None
Product: Ecoretools
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal
Target Milestone: 2.0.0M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-13 03:38 EST by Thomas Hallgren CLA
Modified: 2014-04-29 12:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hallgren CLA 2011-02-13 03:38:55 EST
There is no way to manipulate the upper bound of a parameter in the Ecore Tools Diagram Editor. Only it's name and type can be edited.

In the diagram, a parameter declared with upper bound -1 is displayed the same way as a parameter with upper bound 1. One must click on the actual method, then click Parameters, before the 0..* indication becomes visible.
Comment 1 Cedric Brun CLA 2014-01-06 10:17:38 EST
EcoreTools 2.0 bring this capability

typing "*" will set the upper bound to many
typing "[0..1]" will set it to 1
typing "1" will set a 1..1 cardinality.