Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » OCL expression problem extending UML2 editor
OCL expression problem extending UML2 editor [message #619989] Tue, 10 June 2008 18:45
Joel Greenyer is currently offline Joel Greenyer
Messages: 170
Registered: July 2009
Senior Member
Hi,
I'm trying to build a customized/extended composite structure editor for my middleweight-extension of UML.
My model contains a specialized Port (in addition to the regular Port from UML) which shall be displayed differently.
I copied the Port Node Mapping entry from the compositeStructures.gmfmap and adapted it to fit the new Port.
While the editor works as expected with the regular UML Ports, I have a problem with the feature initializers of the new
Port. For example, there is one OCL feature initializer saying that feature "aggregation" should be
"AggregationKind::composite". When I create a new Port in the editor, I get the following error:

Expression problem:Unknown type ([AggregationKind, composite])body:AggregationKind::composite

Any ideas why that is?
Thanks

Joel
Previous Topic:Action belonging to multiple activity groups
Next Topic:OCL expression problem extending UML2 editor
Goto Forum:
  


Current Time: Mon Sep 15 04:08:51 GMT 2014

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

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