OCL constraints intended prevent node creation in an GMF generated editor only makes it invisible
- by TheMorph
Hello,
I am working on editors created with GMF and struggling with OCL right now.
Is there a possibilty to prevent a node to be created if an OCL statement in the mapping evaluates to false? If tried adding an OCL statement to a node and all it does is making the node not visible in the editor, but it is created.
There is also an OCL statement…