Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Peter Kelley on August 28, 2012, 11:41:05 am
-
I have a class with a property that can have 1 to many values taken from an enumeration. How do I best define it so I can set the run state of an instance of that class?
At the moment I have the type of the property set to the enumeration and in the multiplicity section I have lower bound 1 and upper bound n. I also have the Attribute is a collection box ticked.
When I go to add a value by setting the run state I get a simple text box in which I can type anything. The best I can do is retype the values from the enumeration separated by commas. I was hoping for something with a bit better type checking.
On a related front when I drop the instance on a diagram the width of the box can be no smaller than the long list of attribute values assigned to the property which is somewhat annoying. A vertical arrangement or the ability to wrap would be preferred.
-
I'm afraid you have to live with what you found and described. However, you might submit a feature request. It's a good idea to start a thread in the suggestions board to get support from other users.
q.