Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Re: ChildCreationExtender problem in edit plugin
Re: ChildCreationExtender problem in edit plugin [message #476975] Fri, 22 February 2008 15:09 Go to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32431
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/
Re: ChildCreationExtender problem in edit plugin [message #476977 is a reply to message #476975] Fri, 22 February 2008 15:37 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Ed,

Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
on the UML2 project to regenerate to be extensible and it will be looked
into.

Cheers,
- James.


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fpmojv$sih$1@build.eclipse.org...
> 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
Re: ChildCreationExtender problem in edit plugin [message #476978 is a reply to message #476977] Fri, 22 February 2008 16:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32431
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000007010308060304050001
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

James,

Kenn says he already did it. I should have checked. That means Joel is
good to go except he needs to check the GenPackage flag to generate the
class (and since the plugin.xml already has the registration, he won't
notice my stupid bug).

James Bruck wrote:
> Hi Ed,
>
> Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
> on the UML2 project to regenerate to be extensible and it will be looked
> into.
>
> Cheers,
> - James.
>
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fpmojv$sih$1@build.eclipse.org...
>
>> 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
>>>
>
>
>


--------------000007010308060304050001
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
James,<br>
<br>
Kenn says he already did it.&nbsp; I should have checked.&nbsp; That means Joel
is good to go except he needs to check the GenPackage flag to generate
the class (and since the plugin.xml already has the registration, he
won't notice my stupid bug).<br>
<br>
James Bruck wrote:
<blockquote cite="mid:fpmq8q$bs8$2@build.eclipse.org" type="cite">
<pre wrap="">Hi Ed,

Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
on the UML2 project to regenerate to be extensible and it will be looked
into.

Cheers,
- James.


"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fpmojv$sih$1@build.eclipse.org">news:fpmojv$sih$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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.

.....
&lt;extension point="org.eclipse.emf.edit.childCreationExtenders"&gt;
&lt;extender
uri = <a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/uml2/2.1.0/UML">"http://www.eclipse.org/uml2/2.1.0/UML"</a>
class = "...ItemProviderAdapterFactory$UMLChildCreationExtender"
/&gt;
&lt;/extension&gt;
.....

I see that this is a new development as nicely explained by Ed here ;)
<a class="moz-txt-link-freetext" href=" http://ed-merks.blogspot.com/2008/01/creating-children-you-d idnt-know.html"> http://ed-merks.blogspot.com/2008/01/creating-children-you-d idnt-know.html</a>

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
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------000007010308060304050001--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: ChildCreationExtender problem in edit plugin [message #476979 is a reply to message #476977] Fri, 22 February 2008 16:18 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Actually, UML2 has been regenerated to be extensible, so you should be good
to go already (e.g. with UML2 M5).

Kenn

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:fpmq8q$bs8$2@build.eclipse.org...
> Hi Ed,
>
> Yes indeed that sounds really cool. Joel, perhaps you could raise a
> defect on the UML2 project to regenerate to be extensible and it will be
> looked into.
>
> Cheers,
> - James.
>
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fpmojv$sih$1@build.eclipse.org...
>> 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
>
>
Re: ChildCreationExtender problem in edit plugin [message #476980 is a reply to message #476975] Fri, 22 February 2008 16:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Ed,

From time to time, EMF makes enhancements that require clients like UML to
regenerate their models in order for them actually to be effective.

Can these kinds of changes be communicated in the EMF New & Noteworthy?
They might even be announced on the emf-dev mailing list. I'm not sure
that everybody follows your blog, which is a personal thing and probably
not generally considered to be an extension of the EMF documentation. :-)

Cheers,

Christian


Ed Merks wrote:

> 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...

-----8<-----
Re: ChildCreationExtender problem in edit plugin [message #476981 is a reply to message #476978] Fri, 22 February 2008 17:41 Go to previous message
Joel Greenyer is currently offline Joel GreenyerFriend
Messages: 170
Registered: July 2009
Senior Member
Great, that does it.
Thanks.

Ed Merks wrote:
> James,
>
> Kenn says he already did it. I should have checked. That means Joel is
> good to go except he needs to check the GenPackage flag to generate the
> class (and since the plugin.xml already has the registration, he won't
> notice my stupid bug).
>
> James Bruck wrote:
>> Hi Ed,
>>
>> Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
>> on the UML2 project to regenerate to be extensible and it will be looked
>> into.
>>
>> Cheers,
>> - James.
>>
>>
>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>> news:fpmojv$sih$1@build.eclipse.org...
>>
>>> 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
>>>>
>>
>>
>>
>
Re: ChildCreationExtender problem in edit plugin [message #626076 is a reply to message #476975] Fri, 22 February 2008 15:37 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Ed,

Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
on the UML2 project to regenerate to be extensible and it will be looked
into.

Cheers,
- James.


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fpmojv$sih$1@build.eclipse.org...
> 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
Re: ChildCreationExtender problem in edit plugin [message #626077 is a reply to message #476977] Fri, 22 February 2008 16:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32431
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000007010308060304050001
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

James,

Kenn says he already did it. I should have checked. That means Joel is
good to go except he needs to check the GenPackage flag to generate the
class (and since the plugin.xml already has the registration, he won't
notice my stupid bug).

James Bruck wrote:
> Hi Ed,
>
> Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
> on the UML2 project to regenerate to be extensible and it will be looked
> into.
>
> Cheers,
> - James.
>
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fpmojv$sih$1@build.eclipse.org...
>
>> 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
>>>
>
>
>


--------------000007010308060304050001
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
James,<br>
<br>
Kenn says he already did it.&nbsp; I should have checked.&nbsp; That means Joel
is good to go except he needs to check the GenPackage flag to generate
the class (and since the plugin.xml already has the registration, he
won't notice my stupid bug).<br>
<br>
James Bruck wrote:
<blockquote cite="mid:fpmq8q$bs8$2@build.eclipse.org" type="cite">
<pre wrap="">Hi Ed,

Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
on the UML2 project to regenerate to be extensible and it will be looked
into.

Cheers,
- James.


"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fpmojv$sih$1@build.eclipse.org">news:fpmojv$sih$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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.

.....
&lt;extension point="org.eclipse.emf.edit.childCreationExtenders"&gt;
&lt;extender
uri = <a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/uml2/2.1.0/UML">"http://www.eclipse.org/uml2/2.1.0/UML"</a>
class = "...ItemProviderAdapterFactory$UMLChildCreationExtender"
/&gt;
&lt;/extension&gt;
.....

I see that this is a new development as nicely explained by Ed here ;)
<a class="moz-txt-link-freetext" href=" http://ed-merks.blogspot.com/2008/01/creating-children-you-d idnt-know.html"> http://ed-merks.blogspot.com/2008/01/creating-children-you-d idnt-know.html</a>

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
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------000007010308060304050001--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: ChildCreationExtender problem in edit plugin [message #626078 is a reply to message #476977] Fri, 22 February 2008 16:18 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Actually, UML2 has been regenerated to be extensible, so you should be good
to go already (e.g. with UML2 M5).

Kenn

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:fpmq8q$bs8$2@build.eclipse.org...
> Hi Ed,
>
> Yes indeed that sounds really cool. Joel, perhaps you could raise a
> defect on the UML2 project to regenerate to be extensible and it will be
> looked into.
>
> Cheers,
> - James.
>
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fpmojv$sih$1@build.eclipse.org...
>> 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
>
>
Re: ChildCreationExtender problem in edit plugin [message #626079 is a reply to message #476975] Fri, 22 February 2008 16:33 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Ed,

From time to time, EMF makes enhancements that require clients like UML to
regenerate their models in order for them actually to be effective.

Can these kinds of changes be communicated in the EMF New & Noteworthy?
They might even be announced on the emf-dev mailing list. I'm not sure
that everybody follows your blog, which is a personal thing and probably
not generally considered to be an extension of the EMF documentation. :-)

Cheers,

Christian


Ed Merks wrote:

> 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...

-----8<-----
Re: ChildCreationExtender problem in edit plugin [message #626080 is a reply to message #476978] Fri, 22 February 2008 17:41 Go to previous message
Joel Greenyer is currently offline Joel GreenyerFriend
Messages: 170
Registered: July 2009
Senior Member
Great, that does it.
Thanks.

Ed Merks wrote:
> James,
>
> Kenn says he already did it. I should have checked. That means Joel is
> good to go except he needs to check the GenPackage flag to generate the
> class (and since the plugin.xml already has the registration, he won't
> notice my stupid bug).
>
> James Bruck wrote:
>> Hi Ed,
>>
>> Yes indeed that sounds really cool. Joel, perhaps you could raise a defect
>> on the UML2 project to regenerate to be extensible and it will be looked
>> into.
>>
>> Cheers,
>> - James.
>>
>>
>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>> news:fpmojv$sih$1@build.eclipse.org...
>>
>>> 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
>>>>
>>
>>
>>
>
Previous Topic:Re: ChildCreationExtender problem in edit plugin
Next Topic:IllegalArgumetnException when applying a stereotyp
Goto Forum:
  


Current Time: Tue Aug 09 11:55:37 GMT 2022

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

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

Back to the top