Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] Integrating EMF Compare in LTK
[EMF Compare] Integrating EMF Compare in LTK [message #137393] Wed, 17 June 2009 08:34 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #137426 is a reply to message #137418] Wed, 17 June 2009 14:41 Go to previous messageGo to next message
Moritz Eysholdt is currently offline Moritz EysholdtFriend
Messages: 161
Registered: July 2009
Location: Kiel, Germany
Senior Member
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 #137459 is a reply to message #137426] Fri, 19 June 2009 10:00 Go to previous message
Eclipse UserFriend
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 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
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 Go to previous message
Eclipse UserFriend
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 #621036 is a reply to message #137418] Wed, 17 June 2009 14:41 Go to previous message
Moritz Eysholdt is currently offline Moritz EysholdtFriend
Messages: 161
Registered: July 2009
Location: Kiel, Germany
Senior Member
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 #621039 is a reply to message #137426] Fri, 19 June 2009 10:00 Go to previous message
Eclipse UserFriend
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?
>>>
Previous Topic:[EMF Compare] Bug in detecting added attributes?
Next Topic:EMF Index Project
Goto Forum:
  


Current Time: Tue Feb 27 06:33:44 GMT 2024

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

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

Back to the top