Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Feature initializer problem
Feature initializer problem [message #172567] Fri, 15 February 2008 02:56
Eclipse UserFriend
Originally posted by: zzhangh.cn.ibm.com

Hi,
I want to automatically increase an attribute of an object, so I added a
feature initializer in .gmfmap for that object using OCL, I specified
"Task.allInstances()->size()" as the body and the attribute is type of
EInt. But I always got zero no matter how many instances were there. I
traced MyOCLFactory and found "doEvaluate" method returned null. Is any
problem of the OCL expression I gave?

Regards,
Hao
Previous Topic:Adding elements on creation of a new diagram
Next Topic:childreference with compartment not with connection
Goto Forum:
  


Current Time: Thu Apr 25 20:10:39 GMT 2024

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

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

Back to the top