Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Generic children don't appears in editor
Generic children don't appears in editor [message #1809651] Fri, 19 July 2019 09:58 Go to next message
Aurélien Mora is currently offline Aurélien MoraFriend
Messages: 37
Registered: July 2014
Member
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 ?
Re: Generic children don't appears in editor [message #1809654 is a reply to message #1809651] Fri, 19 July 2019 10:35 Go to previous message
Aurélien Mora is currently offline Aurélien MoraFriend
Messages: 37
Registered: July 2014
Member
Ok, I think it was fixed recently : https://bugs.eclipse.org/bugs/show_bug.cgi?id=548957
Previous Topic:[CDO] How to find the source of stale CDO-Objects
Next Topic:"EcoreEditPlugin.INSTANCE" sometimes appears in generated XXXEditPlugin.java
Goto Forum:
  


Current Time: Mon Dec 09 17:53:28 GMT 2019

Powered by FUDForum. Page generated in 0.05622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top