Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Qualified Enum Literals

Hi Sebastian,

sorry for the delay. Two questions:

1) Are you using generated model classes or a dynamic EMF model?

2) Do you need to use it in expressions, or as constants? E.g. "(x>5 ? RED : BLUE)" would be an _expression_, and just "RED" or "BLUE" would be constants.

Cheers,
Christian

2014-11-09 4:03 GMT+01:00 Sebastian Gabmeyer <sebastian.gabmeyer@xxxxxxxxxxxx>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Is there a way to fully qualify an enum literal, for example,
something like Color::Red?

best wishes, sebastian
- --
Sebastian Gabmeyer
Business Informatics Group (BIG)
Vienna University of Technology

http://www.big.tuwien.ac.at/staff/sgabmeyer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUXtmPAAoJELSN8YoN2kNZCzMIAJ3+y8Hwj5fuqO32vrad50ZP
FQE+/U/sMWGcH5SEgy3A+cNEeUvUxt9pMPKZ4ezSRvrbFTee6GGhOX7+1sAbzD/O
tT7OQh/IMsn5zYBbMK7xjNgsze9/yHnjJvZWYiwThbLed+6Hc3/FoFlv2NINj46c
z353Rbu99hPuCUoAqENUZn9NiraQehQzave+roFKoRanlAp6L5LarD1fSjtbhHfv
2ISfQMymmKR3ibME72ycbmdQeEXW6FLSuBo0TEKli/w0CQ+6OMasCThwnA+23Glx
iwbs9RUXHPnk7G2X3QMRZ4xWWnIVX/X4S6t1knh0vAbHnCxwFP7bV3oKUhA023A=
=Lg7F
-----END PGP SIGNATURE-----
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/henshin-dev


Back to the top