Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Refactor] Reference searches
[EMF Refactor] Reference searches [message #632816] Thu, 14 October 2010 11:03 Go to next message
saurav sarkar is currently offline saurav sarkar
Messages: 424
Registered: July 2009
Senior Member
Hi All,

I was going through the EMF refactor project.I have two questions on EMF Refactor.

(1) How are the reference searches performed when the refactoring is applied ?.
(2) Any kind of extension points provided where type of searches can be plugged-in ?

Thanks and Regards,
Saurav


Re: [EMF Refactor] Reference searches [message #633554 is a reply to message #632816] Mon, 18 October 2010 11:28 Go to previous messageGo to next message
Eclipse User
Originally posted by: arendt.mathematik.uni-marburg.de

Hi Saurav,

What do you exactly mean by 'reference searches'? Can you give an example?

Regards,
Thorsten
Re: [EMF Refactor] Reference searches [message #633676 is a reply to message #632816] Mon, 18 October 2010 20:07 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkar
Messages: 424
Registered: July 2009
Senior Member
Hi Thorsten,

Lets say i am trying to refactor one object A which is again referred by some other objects.So if i rename the Object A then the references of the Object A must be also updated.

In these cases do you perform a search of Object A's references ?

I saw you use EMF tiger which transforms the models.How does it search for the references ?.

cheers,
Saurav


Re: [EMF Refactor] Reference searches [message #634030 is a reply to message #633676] Wed, 20 October 2010 10:28 Go to previous messageGo to next message
Eclipse User
Originally posted by: arendt.mathematik.uni-marburg.de

Hi Saurav,

For refactoring specification we use Henshin (a successor of Tiger). We
specify the pattern that has to be found and use the Henshin match
finder to get the specific match in the model. This match finder uses
graph theory as basis.

If you are interested in the internal principles of Henshin please post
a new topic in this newsgroup concerning [Henshin] or post your question
to the Henshin mailing list (see
https://dev.eclipse.org/mailman/listinfo/henshin-dev).

Regards,
Thorsten
Re: [EMF Refactor] Reference searches [message #634086 is a reply to message #634030] Wed, 20 October 2010 13:40 Go to previous message
saurav sarkar is currently offline saurav sarkar
Messages: 424
Registered: July 2009
Senior Member
Hi Thorsten,

Thanks for the infromation provided.
For further Heshin related queries i will create a separate thread or post a question in the mailing list.

cheers,
Saurav


Previous Topic:Re: [OCL-ECORE-JAVA] OCL Queries on Ecore model from Java code.
Next Topic:annotation references
Goto Forum:
  


Current Time: Wed Oct 22 00:14:36 GMT 2014

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

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