Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323324 - [editor,environment,registry] Support a Complete OCL registration
Summary: [editor,environment,registry] Support a Complete OCL registration
Status: NEW
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 03:15 EDT by Ed Willink CLA
Modified: 2012-04-14 05:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2010-08-22 03:15:45 EDT
The OCL Interactive Console fails to support Complete OCL documents becuase there is no mechanism for a user to 'load' the Complete OCL document.

A similar problem occurs for any other use of a UML/Ecore meta-model for which Complete OCL is provided. This will most opbviously ocxcur in any validation context for which the OCL delegate registrations activate OCL.

Pull: One possible solution is to add an additional 'import' EAnnotation so that a meta-model rereferences its Complete OCL counterpart.

However user-defined Complete OCL could be added to e.g. Ecore.ecore which clearly cannot be modified to import every possible user's Complete OCL.

Push: If the OCL Model Registry supports a Complete OCL registration for a meta-model, then the OCL environment need only lookup trhe registration and any OCL using tool is automatically enhanced. The user just needs to make the OCL Registry entry, possibly aided by a Complete OCL editor wizard/warning.
Comment 1 Ed Willink CLA 2011-11-08 12:05:12 EST
(In reply to comment #0)
> Pull: One possible solution is to add an additional 'import' EAnnotation so
> that a meta-model rereferences its Complete OCL counterpart.

Perhaps a genmodel GenAnnotation.