I'm trying to create some Java classes from my ECore Model. In this model, some classes must implement Iterable<Something>
. To make this happen, I added a EClass Iterable
and set its Instance Type Name
to java.lang.Iterable
. This prevents the ECore Code Generator from generating code for Iterable
while still allowing me to use it a ESuper Types
for the classes which I want to implement this interface
Is this the right way to do it?
The problem with this approach is, that all editors (I tried the "Sample Reflective eCore Editor" and the "Generic EMF Form Editor" fail to edit a instance of the Model. Both editors are unable to find the Iterable
type and show a error "Class 'Iterable' is a unkown classifier".
Is there a workaround or a solution for this?