Hello,
I have little troubles with generic children. Let's assume these models:
rootModel.xcore
@GenModel(editDirectory="/testGeneric.edit/src-gen", complianceLevel="11.0")
@GenModel(editorDirectory="/testGeneric.editor/src-gen")
@GenModel(extensibleProviderFactory="true")
package test.root
abstract class Presentation
{}
abstract class PresentationPkg<T extends Presentation>
{
contains T[0..*] presentations
}
extendModel.xcore
@GenModel(editDirectory="/testGeneric.edit/src-gen", complianceLevel="11.0")
@GenModel(editorDirectory="/testGeneric.editor/src-gen")
@GenModel(childCreationExtenders="true")
package test.ext
import test.root.Presentation
import test.root.PresentationPkg
class Image extends Presentation
{}
class ImagePkg extends PresentationPkg<Image>
{}
With the default generated editor, I'm able to create new Images in ImagePkg, but:
- Only the first created image appears, after that, I need to manually refresh the editor to see them.
- Same problem when I delete images: they still appear, unless I refresh.
I have the same behaviour with ecore.
I checked the Edit->Notify field, looks ok.
Do I miss something ?