Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344479 - Editor's generation code problem
Summary: Editor's generation code problem
Status: CLOSED WONTFIX
Alias: None
Product: EEF
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: EEF Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 12:02 EDT by Romain Guider CLA
Modified: 2016-05-30 11:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Guider CLA 2011-05-02 12:02:19 EDT
Build Identifier: 20100917-0705

When following the one-click-editor protocol, the generated editor's has the following problems :
- The <MyModel>Editor.java file is left empty while the expected code is generated in the src-gen/.java file
- There's an empty import line in the generated .java file ('import ;') 

Reproducible: Always
Comment 1 Romain Guider CLA 2011-05-02 12:03:21 EDT
This happens with a trivial Ecore meta-model that only contains an EClass with a single EAttribute :


<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="bugs"
    nsURI="http://bugs/v1.0" nsPrefix="bugs">
  <eClassifiers xsi:type="ecore:EClass" name="Bug">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
</ecore:EPackage>
Comment 2 Stephane Begaudeau CLA 2016-05-30 11:09:00 EDT
The Eclipse EEF team has worked over the past few months on a brand new runtime using a reflective approach which can be used more easily with Eclipse Sirius. Since we do not plan to continue to work on the old runtime and its code generation approach, I will close this issue for now.

If you want to contribute, you can reopen this issue and submit a contribution to the project thanks to our Gerrit: https://git.eclipse.org/r/#/admin/projects/eef/org.eclipse.eef