Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EMF Compare/Textual diff in model diff"
(New page: When settings of EAttributes are different, the EMF compare tree editor only show a "modified difference". This is somewhat insufficient when comparing an EAttribute being used for storing...) |
|||
Line 1: | Line 1: | ||
When settings of EAttributes are different, the EMF compare tree editor only show a "modified difference". This is somewhat insufficient when comparing an EAttribute being used for storing documentation, comments or even source code. In such a case, we would like to provide the ability to open a textual diff editor in a popup windows (as JUnit failure opens when comparing different expected and computed results). | When settings of EAttributes are different, the EMF compare tree editor only show a "modified difference". This is somewhat insufficient when comparing an EAttribute being used for storing documentation, comments or even source code. In such a case, we would like to provide the ability to open a textual diff editor in a popup windows (as JUnit failure opens when comparing different expected and computed results). | ||
+ | [[Image:Junit-compare-2.gif]] | ||
− | + | We propose to open such an editor by double-clicking on a EAttribute diff setting in the tree editor. The kind of EAttribute pertinent for this use has the following properties: | |
− | The kind of EAttribute pertinent for this use has the following properties: | + | |
* eType.instanceClassName : java.lang.String | * eType.instanceClassName : java.lang.String |
Revision as of 05:53, 21 February 2011
When settings of EAttributes are different, the EMF compare tree editor only show a "modified difference". This is somewhat insufficient when comparing an EAttribute being used for storing documentation, comments or even source code. In such a case, we would like to provide the ability to open a textual diff editor in a popup windows (as JUnit failure opens when comparing different expected and computed results).
We propose to open such an editor by double-clicking on a EAttribute diff setting in the tree editor. The kind of EAttribute pertinent for this use has the following properties:
- eType.instanceClassName : java.lang.String
- changeable: true
- derived : false
- transient : false