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

Bug 344479

Summary: Editor's generation code problem
Product: [Modeling] EEF Reporter: Romain Guider <romain.guider>
Component: GeneralAssignee: EEF Inbox <emft.eef-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: stephane.begaudeau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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