[EMF Compare] Integrating EMF Compare in LTK [message #137393] |
Wed, 17 June 2009 08:34 |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi!
I try to develop LTK refactorings for UML2 models based on EMF.
Unfortunately I do not know how to integrate EMF Compare to have the
familiar preview for refactorings. Who can help?
|
|
|
Re: [EMF Compare] Integrating EMF Compare in LTK [message #137406 is a reply to message #137393] |
Wed, 17 June 2009 09:17 |
|
This is a multi-part message in MIME format.
--------------070908040001090200070202
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi Thorsten,
I must admit I am not familiar with LTK myself. We have commited some
time ago a contribution from Moritz Eysholdt for the integration with
LTK (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=240201 ).
I have no idea whether this will provide any help or not ... feel free
to come back here if it doesn't, I hope someone will step in and be able
to help you ^^.
Laurent Goubet
Obeo
Thorsten Arendt a
|
|
|
Re: [EMF Compare] Integrating EMF Compare in LTK [message #137418 is a reply to message #137406] |
Wed, 17 June 2009 10:15 |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Laurent!
I alraedy tried to adapt Moritz' example which is a refactoring for EMF
models. Here it works, but when I adapt the code to my UML2 refactoring
the diff-view is not shown while the model is refactored like specified
in the ChangeDescription. This is a funny and curious thing!
So my question is: Is there any experience in specifying refactorings
for EMF based UML2 models in LTK?
Thorsten
laurent Goubet schrieb:
> Hi Thorsten,
>
> I must admit I am not familiar with LTK myself. We have commited some
> time ago a contribution from Moritz Eysholdt for the integration with
> LTK (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=240201 ).
>
> I have no idea whether this will provide any help or not ... feel free
> to come back here if it doesn't, I hope someone will step in and be able
> to help you ^^.
>
> Laurent Goubet
> Obeo
>
> Thorsten Arendt a écrit :
>> Hi!
>>
>> I try to develop LTK refactorings for UML2 models based on EMF.
>> Unfortunately I do not know how to integrate EMF Compare to have the
>> familiar preview for refactorings. Who can help?
>
|
|
|
|
Re: [EMF Compare] Integrating EMF Compare in LTK [message #137459 is a reply to message #137426] |
Fri, 19 June 2009 10:00 |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Moritz!
I had been aware of implementing IModelCompareInputProvider in the new
Change class, because your code did it. But unfortunately this code does
not run for EMF based UML2 models.
Meanwhile I realized this interface in another way and now it works also
for UML2 models.
Thanks for all,
Thorsten
Moritz Eysholdt schrieb:
> Hi Thorsten,
>
> its been quite a while since I wrote this patch, but if I remember
> correctly you are not required to create ChangeDescription-models. All
> you need to do is to make sure the Change-Object returned by the
> refactoring implements
> org.eclipse.emf.compare.ui.IModelCompareInputProvider
>
> Did you check the error log? Maybe an exception has been thrown
> somewhere and didn't raise a messagebox.
>
> hth,
> Moritz
>
>
>> Hi Laurent!
>>
>> I alraedy tried to adapt Moritz' example which is a refactoring for
>> EMF models. Here it works, but when I adapt the code to my UML2
>> refactoring the diff-view is not shown while the model is refactored
>> like specified in the ChangeDescription. This is a funny and curious
>> thing!
>>
>> So my question is: Is there any experience in specifying refactorings
>> for EMF based UML2 models in LTK?
>>
>> Thorsten
>>
>>
>>
>>
>> laurent Goubet schrieb:
>>> Hi Thorsten,
>>>
>>> I must admit I am not familiar with LTK myself. We have commited some
>>> time ago a contribution from Moritz Eysholdt for the integration with
>>> LTK (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=240201 ).
>>>
>>> I have no idea whether this will provide any help or not ... feel
>>> free to come back here if it doesn't, I hope someone will step in and
>>> be able to help you ^^.
>>>
>>> Laurent Goubet
>>> Obeo
>>>
>>> Thorsten Arendt a écrit :
>>>> Hi!
>>>>
>>>> I try to develop LTK refactorings for UML2 models based on EMF.
>>>> Unfortunately I do not know how to integrate EMF Compare to have the
>>>> familiar preview for refactorings. Who can help?
>>>
|
|
|
Re: [EMF Compare] Integrating EMF Compare in LTK [message #621034 is a reply to message #137393] |
Wed, 17 June 2009 09:17 |
|
This is a multi-part message in MIME format.
--------------070908040001090200070202
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi Thorsten,
I must admit I am not familiar with LTK myself. We have commited some
time ago a contribution from Moritz Eysholdt for the integration with
LTK (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=240201 ).
I have no idea whether this will provide any help or not ... feel free
to come back here if it doesn't, I hope someone will step in and be able
to help you ^^.
Laurent Goubet
Obeo
Thorsten Arendt a
|
|
|
Re: [EMF Compare] Integrating EMF Compare in LTK [message #621035 is a reply to message #137406] |
Wed, 17 June 2009 10:15 |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Laurent!
I alraedy tried to adapt Moritz' example which is a refactoring for EMF
models. Here it works, but when I adapt the code to my UML2 refactoring
the diff-view is not shown while the model is refactored like specified
in the ChangeDescription. This is a funny and curious thing!
So my question is: Is there any experience in specifying refactorings
for EMF based UML2 models in LTK?
Thorsten
laurent Goubet schrieb:
> Hi Thorsten,
>
> I must admit I am not familiar with LTK myself. We have commited some
> time ago a contribution from Moritz Eysholdt for the integration with
> LTK (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=240201 ).
>
> I have no idea whether this will provide any help or not ... feel free
> to come back here if it doesn't, I hope someone will step in and be able
> to help you ^^.
>
> Laurent Goubet
> Obeo
>
> Thorsten Arendt a écrit :
>> Hi!
>>
>> I try to develop LTK refactorings for UML2 models based on EMF.
>> Unfortunately I do not know how to integrate EMF Compare to have the
>> familiar preview for refactorings. Who can help?
>
|
|
|
|
Re: [EMF Compare] Integrating EMF Compare in LTK [message #621039 is a reply to message #137426] |
Fri, 19 June 2009 10:00 |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi Moritz!
I had been aware of implementing IModelCompareInputProvider in the new
Change class, because your code did it. But unfortunately this code does
not run for EMF based UML2 models.
Meanwhile I realized this interface in another way and now it works also
for UML2 models.
Thanks for all,
Thorsten
Moritz Eysholdt schrieb:
> Hi Thorsten,
>
> its been quite a while since I wrote this patch, but if I remember
> correctly you are not required to create ChangeDescription-models. All
> you need to do is to make sure the Change-Object returned by the
> refactoring implements
> org.eclipse.emf.compare.ui.IModelCompareInputProvider
>
> Did you check the error log? Maybe an exception has been thrown
> somewhere and didn't raise a messagebox.
>
> hth,
> Moritz
>
>
>> Hi Laurent!
>>
>> I alraedy tried to adapt Moritz' example which is a refactoring for
>> EMF models. Here it works, but when I adapt the code to my UML2
>> refactoring the diff-view is not shown while the model is refactored
>> like specified in the ChangeDescription. This is a funny and curious
>> thing!
>>
>> So my question is: Is there any experience in specifying refactorings
>> for EMF based UML2 models in LTK?
>>
>> Thorsten
>>
>>
>>
>>
>> laurent Goubet schrieb:
>>> Hi Thorsten,
>>>
>>> I must admit I am not familiar with LTK myself. We have commited some
>>> time ago a contribution from Moritz Eysholdt for the integration with
>>> LTK (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=240201 ).
>>>
>>> I have no idea whether this will provide any help or not ... feel
>>> free to come back here if it doesn't, I hope someone will step in and
>>> be able to help you ^^.
>>>
>>> Laurent Goubet
>>> Obeo
>>>
>>> Thorsten Arendt a écrit :
>>>> Hi!
>>>>
>>>> I try to develop LTK refactorings for UML2 models based on EMF.
>>>> Unfortunately I do not know how to integrate EMF Compare to have the
>>>> familiar preview for refactorings. Who can help?
>>>
|
|
|
Powered by
FUDForum. Page generated in 0.03507 seconds