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.
EMF Compare/Specifications/PreTestMerge
WORK IN PROGRESS..
Contents
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)
Requirement
Provide a new IMerger interface that provide method to avoid merge if some requirement are missing to run the merge action.