Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324924 - [editor] EReference.eKeys not support in OCLinEcore
Summary: [editor] EReference.eKeys not support in OCLinEcore
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 01:48 EDT by Ed Willink CLA
Modified: 2011-05-27 03:13 EDT (History)
2 users (show)

See Also:


Attachments
Support for a key syntax (6.76 KB, patch)
2010-09-10 05:11 EDT, Ed Willink CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2010-09-10 01:48:13 EDT
Add a concrete syntax for EReference.eKeys to exploit the support already present in the CS.
Comment 1 Ed Willink CLA 2010-09-10 05:11:46 EDT
Created attachment 178593 [details]
Support for a key syntax

Attached supports a key sub-clause of a reference.

But the new keyword 'key' will hide old usages. Need to solve Xtext identifier re-use.

Pretty printing is missing.

Patch only has source files, OCLinEcore needs regeneration.
Comment 2 Tonny Madsen CLA 2010-11-18 11:39:05 EST
Can this please be part of Indigo?
Comment 3 Tonny Madsen CLA 2010-11-18 11:43:39 EST
I want to play around with the attached patch, but... do you have how-to-build? :-)

I miss an MWE/MWE2 file...
Comment 4 Ed Willink CLA 2010-11-20 08:01:23 EST
The MWE2 scripts are in the o.e.o.examples.build plugin, thereby avoiding gratuitous build-only dependencies in the editor plugins.

There is major work going on behind the scenes to bridge the gap between the CST-only Xtext editors and a prototype for a potential OMG-specified interchangeable AST. Once this is done these rather easy bugs will be fixed. I hope this will be in Indigo.

If you want to play and contribute a patch it could be in 3.0.2 Examples.
Comment 5 Ed Willink CLA 2011-05-05 14:14:49 EDT
Committed to HEAD for Indigo RC1.
Comment 6 Ed Willink CLA 2011-05-27 03:13:39 EDT
Closing