[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [emf-dev] [EMF-Compare] questions about EMF-Compare and Papyrus diagrams

Le 29/09/2011 09:42, LORENZO Vincent a Ãcrit :
Hi,
   I downloaded code from your git[1] and AddUMLAssociationImpl doesn't compile, because some methods are not implemented, so I added empty methods.

you should remove or close that plugin, it will not be used anymore by the uml comparison, and will be removed from the repository.



I have some questions concerning papyrus diagram comparison :

- How will you manage when there is several diagrams in the model ?

The support of multiples diagrams is supported, when you select a difference on the structureviewer, it will show the correct diagram associated with this difference. Of course, if diagram have no difference, you cannot displays it.
there are some screenshots[1] and testcases[2][3] for this use case.



	- Concerning Papyrus diagrams, will you compare only graphical changes? That's to say, when a UML element is drawn on the first model and not drawn on the second model, there are 2 cases :
		- the UML element is hidden (it is in the model)
		- the UML element is deleted (removed from the model)
			Will you manage these 2 kinds of changes?

Yes, both cases are supported in comparison.
We are comparing only graphical changes, so we are detecting that a graphical node is removed, even if the semantic element is present or not. the same applies for hidden/revealed nodes, we are detecting this behavior and representing it with different colors.
see [4],[5] and [6]


- when the user compares uml files, referenced by di files, will you clean the diagrams which reference obsolete elements?

there is two options for this. the first one is to let gmf/papyrus do the cleanup itself when the diagram is displayed. the second is to use the logical models[7][8]. actually, we are using the first option.



Best regards, /Vincent Lorenzo


Cheers,


[1] http://wiki.eclipse.org/Image:TC52.png
[2] https://github.com/mbarbero/emfcompare/tree/ericsson_integration/plugins/org.eclipse.emf.compare.diagram.ui.tests/TC52_Added_and_removed_nodes_in_sub_diagrams
[3] https://github.com/mbarbero/emfcompare/tree/ericsson_integration/plugins/org.eclipse.emf.compare.diagram.ui.tests/TC71_Papyrus_MultiDiagram
[4] http://wiki.eclipse.org/Image:TC29.png
[5] http://wiki.eclipse.org/Image:TC30.png
[6] http://wiki.eclipse.org/Image:TC38.png
[7] http://eclipsemde.blogspot.com/2011/06/whats-next-in-emf-compare.html
[8] http://tasktop.com/blog/eclipse/what-the-heck-are-logical-models





<snip>
begin:vcard
fn;quoted-printable:St=C3=A9phane Bouchet
n;quoted-printable:Bouchet;St=C3=A9phane
org:Obeo
adr;quoted-printable:BP 20773;;7 Boulevard Amp=C3=A8re;CARQUEFOU;;44481;France
email;internet:stephane.bouchet@xxxxxxx
tel;work:02-51-13-61-67
x-mozilla-html:FALSE
url:http://www.obeo.fr
version:2.1
end:vcard