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/GraphicalComparison"

(Conflicting cases)
(Conflicting cases)
Line 747: Line 747:
 
|}
 
|}
  
 +
<br>
  
* Local ADD nodes and remote DELETE parent nodes
+
*Local ADD nodes and remote DELETE parent nodes
[[Image:LocalAddRemoteDeleteContainer.png]]
+
  
* Local ADD edges and remote DELETE connected nodes or edges
+
[[Image:LocalAddRemoteDeleteContainer.png]]
[[Image:LocalAddEdgeRemoteDeleteConnectNode.png]]   [[Image:LocalAddEdgeRemoteDeleteConnectEdge.png]]
+
 
 +
*Local ADD edges and remote DELETE connected nodes or edges
 +
 
 +
 
 +
 
 +
{| width="200" cellspacing="10" cellpadding="10" border="0" align="center"
 +
|-
 +
| nowrap="nowrap" align="center" | [[Image:LocalAddEdgeRemoteDeleteConnectNode.png]]  
 +
| nowrap="nowrap" align="center" | [[Image:LocalAddEdgeRemoteDeleteConnectEdge.png]]
 +
|}
  
 
== Backward Compatibility and Migration Paths  ==
 
== Backward Compatibility and Migration Paths  ==

Revision as of 06:54, 1 February 2013

Evolution Specification: Graphical Comparison

Current status is DRAFT

Preamble

Summary: This feature is about all topics around the comparison of graphical objects.

Links to the Bugzilla tickets which are related to the change:

PENDING

Introduction

PENDING This section should contain a summary of the proposed evolution, including why it is needed. Ideally it should be self-contained so that non-developers can get a quick overview of the evolution without reading the detailed specification.

Detailed Specification

The aim is to be the most consistent with the look of the "semantic" comparison (tree).

To put in relief the graphical differences, some decorators should be used.

  • On one hand, it enables to focus on the impacted objects, highlighting them with markers.
  • On the other hand, through phantoms, it enables to locate either the place where objects were deleted or the target location where objects should be added after merging.

On each difference selection, only the related markers will appear.

Below, different cases are detailed.

Non conflicting cases

  • Locally added elements:

AddLocal.png

  • Locally deleted elements:

DeleteLocal.png

  • Remotely added elements:

AddRemote.png

  • Remotely deleted elements:

DeleteRemote.png

  • Local coordinates changes:

ChangeCoordinatesLocal.png

  • Remote coordinates changes:

ChangeCoordinatesRemote.png

  • Local move (and potentially coordinates change):

MoveLocal.png

Conflicting cases




REMOTE



ADD
DELETE
Coordinates Change (CHANGE)
MOVE



nodes
children nodes
parent nodes
edges
connected edges
connected nodes
nodes
children nodes
parent nodes
edges
connected edges
connected nodes
nodes children nodes
parent nodes
edges
connected edges
connected nodes
nodes
children nodes
parent nodes
edges
connected edges
connected nodes
LOCAL
ADD
nodes
























children nodes
























parent nodes
























edges
























connected edges
























connected nodes
























DELETE
nodes
























children nodes
























parent nodes
























edges
























connected edges
























connected nodes
























Coordinates Change (CHANGE)
nodes


















 ?





children nodes
























parent nodes
























edges























 ?
connected edges


















 ?





connected nodes
























MOVE
nodes












 ?



 ?







children nodes
























parent nodes
























edges
























connected edges
























connected nodes















 ?









Conflict (or pseudo-conflict)
 ? Is a conflict ?
Potential pseudo-conflict


  • Local ADD nodes and remote DELETE parent nodes

LocalAddRemoteDeleteContainer.png

  • Local ADD edges and remote DELETE connected nodes or edges


LocalAddEdgeRemoteDeleteConnectNode.png LocalAddEdgeRemoteDeleteConnectEdge.png

Backward Compatibility and Migration Paths

PENDING Every one of the sections below should be present. Even if there is no corresponding change (for example no API change), it should exist to mention explicitly "This evolution does not change any API."

Metamodel Changes

PENDING Document any change to the Viewpoint metamodel. If they require a migration operation, mention it and describe the general idea of how migration process. If any information can be lost during the migration, mention it clearly. If validation rules must be added/modified, mention it also.

API Changes

PENDING List every API addition, removal and deprecation. For each removal and deprecation, indicate the migration path for existing code.

User Interface Changes

PENDING List every user-visible change in the interface. Here "user" includes not only end-users but also developpers.

Documentation Changes

PENDING List every documentation needing an update here, starting by the New and Noteworthy documentation.

Tests and Non-regression strategy

PENDING This part of the document should describe the strategy to use to correctly test the evolution and guarantee the non-regression.

Implementation choices and tradeoffs

PENDING Any important tradeoff or choice made during the implementation should be referenced here with pros/cons leading to the final decision.

Back to the top