Variant Selection Merge Validators

Identifier:
com.ps.consul.eclipse.ui.VariantSelectionMergeValidators

Since:
2.3

Description:
Extension point to register a MergeValidator. pure-variants provides an action to load a selection set from another variant model.

For this task a list of all merges that conflict with each other is created.
This list can be validated by such a merge validator. It takes the list and decides for every problematic merge item whether to perform or not.
It is then up to the merge validator how to solve this problem (user interaction, own analysis...).

As merge validator a class of type com.ps.consul.eclipse.ui.editors.vdm.load.ISelectionMergeValidator has to be provided.
A priority attribute is used to decide which to take if more than one validator is registered.

Refer the Documentation for more information on the same.

Configuration Markup:

<!ELEMENT extension (mergevalidator)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for additional variant selection merge validators.



<!ELEMENT mergevalidator EMPTY>

<!ATTLIST mergevalidator

priority CDATA "100"

class    CDATA #REQUIRED

name     CDATA #IMPLIED>

An additional variant selection merge validator.



Examples:
<mergevalidator priority="the priority to decide which validator to prefer. 100 default, less means higher priority"
          class="the class of type com.ps.consul.eclipse.ui.editors.vdm.load.ISelectionMergeValidator"
</mergevalidator>