Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "EMF Compare/Specifications/ResourceNameChange"

(Core)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= ResourceNameChange =
+
Deprecated. see [[EMF_Compare/Specifications/ResourceLocationChange]]
 
+
With EMF Compare 3.0.x, when the compared resources don't have the same name, no difference is detected.
+
 
+
With EMF Compare 3.1.x, this kind of changes will be detected:
+
* A new type of difference will be created in the compare metamodel
+
* This type of difference will be named ResourceNameChange
+
* The comparison editor will display ResourceNameChanges
+
* The comparison editor will allow to merge ResourceNameChanges.
+
EMF Compare 3.1.x will not allow to edit the resources names inside the comparison editor.
+
 
+
== Core ==
+
 
+
* A new concept named ResourceNamechange will be added to the compare.ecore metamodel
+
* ResourceNameChange will inherit from Diff.
+
* A new method declaration ''void resourceNameChange(MatchResource matchResource, DifferenceKind kind, DifferenceSource source)'' will be added to the interface ''/org.eclipse.emf.compare/src/org/eclipse/emf/compare/diff/IDiffProcessor.java''
+
 
+
== Display ==
+
 
+
The ResourceNameChanges will be display in the comparison editor like below:
+
 
+
[[Image:EMFCompare_ResourceNameChange_Preview_1.png]]
+
 
+
* The ResourceNameChanges will be displayed under MatchResources items (like ResourceAttachmentChanges).
+
 
+
== Merge ==
+
 
+
The merge actions will be available on ResourceNameChanges.
+
 
+
The merge actions will renamed the resources on the file system.
+
 
+
[[Category:EMF Compare]]
+
[[Category:EMF Compare/Specification]]
+

Latest revision as of 10:45, 8 April 2015

Deprecated. see EMF_Compare/Specifications/ResourceLocationChange

Back to the top