Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350955 - [editor] Provide a richer CompleteOCLEObjectValidator API
Summary: [editor] Provide a richer CompleteOCLEObjectValidator API
Status: NEW
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 512403
Blocks:
  Show dependency tree
 
Reported: 2011-07-01 13:49 EDT by Ed Willink CLA
Modified: 2017-02-19 14:29 EST (History)
0 users

See Also:


Attachments
Example standalone Complete OCL validation (2.40 KB, text/plain)
2011-07-01 13:52 EDT, Ed Willink CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-07-01 13:49:23 EDT
CompleteOCLEObjectValidator was put together to make Xtext validation work. It can be used standalone, but this exposes limitations.

a) no ability to access the Ecore2Pivot or TypeManager
b) no ability to initialize for a known TypeManager

It would also be nice to be able to form a Composite EObjectValidator for standalone usage.

(Ditto OCLinEcoreEObjectValidator.)
Comment 1 Ed Willink CLA 2011-07-01 13:52:22 EDT
Created attachment 198981 [details]
Example standalone Complete OCL validation

Turn this into a documented example.