Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsOCL expression problem extending UML2 editor
https://www.eclipse.org/forums/index.php/mv/msg/194735/619989/#msg_619989
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