Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325059

Summary: Add an option for the OCLinEcore Editor to support the implicit Rootclass EObject for each class to provide access to eContainer() functions etc.
Product: [Modeling] OCL Reporter: Simon harrer <simon.harrer>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: ed
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon harrer CLA 2010-09-12 16:24:06 EDT
Build Identifier: 20100617-1415

I would like to use the functions eContainer() and other that can be activated normally by defining EObject as the implicit root class. Is it possible to define an option to enable this feature for the OCLinEcore editor?

Reproducible: Always
Comment 1 Ed Willink CLA 2010-09-13 09:42:35 EDT
The availability of eContainer() was really a bug since it has no OMG OCL foundation.

The intention (Bug 283052) is to support reflection in OCL so that container() works and the result behaves coherently as a Class not an EClass.

This should ensure that OCL is to users consistently UML-aligned, even though the underlying tooling is Ecore-based.
Comment 2 Ed Willink CLA 2011-05-27 02:58:00 EDT
Closing WONTFIXes.
Comment 3 Ed Willink CLA 2012-05-29 13:23:27 EDT
Closing all bugs resolved in Indigo.