Set Enumeration Item as Default Value of Attribute
If you want to set an enumeration item as a default value of an attribute, you may do it easily using drag&drop. Just drag the item from a UML enumeration (start the dragging from the item grip, otherwise you will move the whole enumeration) and drop it over the desired attribute. If the attribute does not have any type defined or the attribute type is not the enumeration which is the item from, the type will be set to this enumeration.
Using drag&drop, you will set the default value and the correct type corresponding to the value at once.