Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » FeatureValueSpec problem with EEnum
FeatureValueSpec problem with EEnum [message #184118] Thu, 24 April 2008 09:29 Go to next message
Eclipse UserFriend
Originally posted by: 14.08.99.gmx.de

Hi,

I have an enumeration (EEnum) myEnum with instances v0=0, v1=1 and v2=2.
Within a FeatureValueSpec I tried to change the value of an attribute
with type myEnum.
With language="ocl" and body="myEnum.v1" or body="v1" I had no effect.
The same with language="java".

So, how to assign a enum-value within a FeatureValueSpec?

br,
Guido
Re: FeatureValueSpec problem with EEnum [message #184133 is a reply to message #184118] Thu, 24 April 2008 11:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jano333.centrum.sk

Hi,
try this body="myEnum::v1"
Re: FeatureValueSpec problem with EEnum [message #184147 is a reply to message #184133] Thu, 24 April 2008 12:11 Go to previous message
Eclipse UserFriend
Originally posted by: 14.08.99.gmx.de

jano333 schrieb:
> try this body="myEnum::v1"

Ty, works!!!
Previous Topic:Wizard before creating a Node
Next Topic:Resize via properties
Goto Forum:
  


Current Time: Fri Apr 26 18:25:28 GMT 2024

Powered by FUDForum. Page generated in 0.25152 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top