Community
Participate
Working Groups
Created attachment 265829 [details] Gitrepo and Screenshot Manual formatting overriding an applied CSS style sheet are stored as EAnnotations with the source id "PapyrusCSSForceValue". That means that EMF compare will report a formatting change as an addition-difference which make it difficult to separate it from "real" additions of elements to a diagram. I really think that the end user should not be exposed to the concept of EAnnotations. It is necessary to have some kind of alternative presentation of EAnnotation differences in the comparison editor. Probably something that has CSS awareness and can present CSS overriding Constructions (stored as EAnnotations) in a user-friendly way. Attached you will find a zip-file containing a screenshot of the Comparison editor and a Git repo with one commit that contains a minimal CSS-file and a model with three classes and a class diagram that make use of the CSS-file. After the commit, the model´s diagram has been modified (but not yet commited)as follow: •Class1 shape is untouched •Class2 shape has been set to bold by pressing the bold-button in the property view •Class3 shape has been set to bold by using the Font dialog (Diagram->Font... submenu) If you compare the modified .notation file with the commited, you will get the result as shown in the attached screenshoot in the zip-file. It is impossible to understand in the comparison editor what the EAnnotation represents as it can´t be expanded further. I would prefer that the additon of the EAnnottion has been hided in the comparison editor or that it has been further detailed, so it could be understood.
New Gerrit change created: https://git.eclipse.org/r/88297