Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333454

Summary: [ATL] enable use of EMF enumeration
Product: [Modeling] MMT.ATL Reporter: Gabriel BARBIER <barbier.gabriel>
Component: emfvmAssignee: mmt-atl.toolkit-inbox <mmt-atl.toolkit-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Gabriel BARBIER CLA 2011-01-04 05:14:45 EST
Hello,
When you create an enumeration in EMF, you are able to add methods, so they are not only a list of values.
Then it would be great to be able to use an enumeration like other metamodel types.

For instance in variable use:
"let yourVariable : YourMetaModel!YourEnumerationKind = variable.enum in ...."

or to call a method on (other than using the toString)
"variable.yourEnum.yourMethod()"

Regards
Gabriel