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

(Detailed Specification)
(Requirement)
Line 27: Line 27:
 
== Requirement ==
 
== Requirement ==
  
Provide a new IMerger interface that provide method to avoid merge if some requirement are missing to run the merge action.
+
Provide a new IMerger sub-interface that provides methods to test if the merge is executable between each side regarding the preconditions of the merge.

Revision as of 05:19, 28 February 2014

WORK IN PROGRESS..

Evolution Specification: Pre test merge

Current status is DRAFT

Preamble

Summary: Provide a new IMerger interface to avoid partial merge action.


Introduction

EMFCompare is more and more configurable. It is why EMFCompare need to more and more robust to handle incoherent configuration. With Enable/Disable Merger feature, a comparison can be launched in the workbench with missing mergers. The framework shall prevent from running merge action if not all requirement for this merge are fetched.


Detailed Specification

  • EMFCompare shall not launch merge action if all preconditions are not met.
    • It shall prevent merge action if one or more IMerger are missing to complete merge action.
  • It shall not prevent to merge to one side if the oppsite one can not be merged.
  • User interface shall notify the user when a merge action can not be performed
    • In the EMFCompare UI. The merge button shall be disabled if all selected differences are not mergeable
    • A label shall be provided on a difference in the StructureMergeViewer if it can not me merged. This notification shall appear depending of the preview mode selected (RightToLeft, LeftToRight, Accept and Reject)

UnabelToMerge.png

Requirement

Provide a new IMerger sub-interface that provides methods to test if the merge is executable between each side regarding the preconditions of the merge.

Back to the top