|OCL expression problem extending UML2 editor [message #619989]
||Tue, 10 June 2008 18:45
| Joel Greenyer
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.02066 seconds