Re: ChildCreationExtender problem in edit plugin [message #626074] |
Fri, 22 February 2008 15:09 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Joel,
UML itself has not been regenerated to be extensible, so trying to take
advantage of this won't really help. I wonder if they will consider
doing so?
It seems I got the guard on the extension point completely backwards.
:-( I don't know how that slipped through. I guess because the
plugin.xml isn't regenerated. Please open a bugzilla so I can fix it
for next week's build.
Note that you have to enable this support via options on the
GenPackage. The base needs to be extensible and the derived needs to be
an extender...
Joel Greenyer wrote:
> Hi,
> I have a model extending UML2. I see that the ChildCreationExtenders
> extension is generated with the .edit plugin, but the corresponding
> ChildCreationExtender class does not exist.
>
> ....
> <extension point="org.eclipse.emf.edit.childCreationExtenders">
> <extender
> uri = "http://www.eclipse.org/uml2/2.1.0/UML"
> class =
> "...ItemProviderAdapterFactory$UMLChildCreationExtender" />
> </extension>
> ....
>
> I see that this is a new development as nicely explained by Ed here ;)
> http://ed-merks.blogspot.com/2008/01/creating-children-you-d idnt-know.html
>
>
> However, I have not fully understood what's wrong in this case. Is
> this feature still under development? Or should I look for some
> mistakes in my model? Or is this a UML2-specific problem?
>
> Thanks for helping!
>
> Joel
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02699 seconds