Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » [EMF Compare] [Compare] Extension point for IPAF registration(Extension point for IPAF registration)
[EMF Compare] [Compare] Extension point for IPAF registration [message #727100] Tue, 20 September 2011 08:16 Go to next message
Arthur Daussy is currently offline Arthur Daussy
Messages: 30
Registered: September 2011
Member
Hello,
I'm currently working on specific integration of the SysML language in EMF
Compare.(for this implementation I use the Papyrus implementation of SysML
.That is to say UML with static SysML Profile).
To allow this enhancement I would like to add an extension point to EMF
Compare which would allow to manually register ItemProviderAdapterFactory
(IPAF) into EMF Compare. I'm going to explain why:
In the SysML language (as it is implemented in MDT Papyrus) a SysML element is
an UML element stereotyped with SysML static profile. That is to say that with
the current implementation of EMF Compare the IPAF used would be the UML one.
The ext point I would like to add allow user to manually register IPAF into EMF
Compare. This ext point also introduce a notion of priority between IPAF. For
example:
The UML IPAF is automatically register by the EMF service. So with this ext
point I would be able to register my own IPAF for SysML elements which would
have a higher priority than UML one.
The ext point also handle dynamic registration ( in theory because I don't
really know how to test it. If you have any idea I would be please to hear it).
I was in contact with Mikeal Barbero and he told me to discuss with you the
benefits of such an ext point.

The result of this is quiet nice I give you a screen shoot of the result below (see on the referenced bug below because I'm not allow to publish links for now on this forum)
I give you a patch of what I have done. Would please tell what do you think
about it and if it is possible to integrate into EMF Compare.

I have also opened a bug on the bugzilla because I did not know the good way to suggest an enhancement. see bug 358225 (sorry I'm not allowed to publish link for now on this forum).


Thanks for any help you could give me.
Arthur Daussy.
Re: [EMF Compare] [Compare] Extension point for IPAF registration [message #727103 is a reply to message #727100] Tue, 20 September 2011 08:24 Go to previous message
Arthur Daussy is currently offline Arthur Daussy
Messages: 30
Registered: September 2011
Member
You can find the patch on the referenced bug id=358225
Previous Topic:Registering compare
Next Topic:Possible issues with EMF compare?
Goto Forum:
  


Current Time: Sat Apr 19 05:53:03 EDT 2014

Powered by FUDForum. Page generated in 0.01573 seconds