Bug 333454 - [ATL] enable use of EMF enumeration
Summary: [ATL] enable use of EMF enumeration
Status: NEW
Alias: None
Product: MMT.ATL
Classification: Modeling
Component: emfvm (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: mmt-atl.toolkit-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 05:14 EST by Gabriel BARBIER CLA
Modified: 2011-01-04 05:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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