Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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 DiffMerge/Changes"

Line 24: Line 24:
  
 
* UI extension point: comparisonScope => scopeDefinition, scopeFactory => factory, comparisonSpecification => comparisonMethod, specificationFactory => factory
 
* UI extension point: comparisonScope => scopeDefinition, scopeFactory => factory, comparisonSpecification => comparisonMethod, specificationFactory => factory
 +
 +
 +
== From 0.3.0 to 0.4.0  ==
 +
 +
Main API changes - a single change for better flexibility:
 +
 +
* IComparisonMethod :: getResourceSet() => getResourceSet(Role)

Revision as of 11:38, 12 November 2014

From 0.2.x to 0.3.0

A refactoring has been made between versions 0.2.x and version 0.3.0. The most significant changes are listed below.

Main API changes - essentially renaming, for the sake of clarity:

  • IComparisonSpecification => IComparisonMethod
  • IComparisonSpecificationFactory => IComparisonMethodFactory, where createComparisonSpecification(...) => createComparisonMethod(...)
  • IScopeSpecification => IModelScopeDefinition
  • IMatchPolicy: Comparable<?> getMatchId(...) => Object getMatchID(...)
  • IMergePolicy: copyFeature(EStructuralFeature) => copyFeature(EStructuralFeature, IFeaturedModelScope)


Main implementations of the API:

  • GMFComparisonSpecification => GMFComparisonMethod
  • GMFComparisonFactory => GMFComparisonMethodFactory
  • FileScopeSpecification => URIScopeDefinition, with constructors taking different parameters and new methods: createScopeOnEditingDomain(...), createScopeOnResourceSet(...)
  • FileScopeSpecificationFactory => URIScopeDefinitionFactory, where createScopeSpecificationFromUri(...) => createScopeDefinitionFromURI(...)

Others:

  • ModelComparisonDiffNode => EMFDiffNode
  • UI extension point: comparisonScope => scopeDefinition, scopeFactory => factory, comparisonSpecification => comparisonMethod, specificationFactory => factory


From 0.3.0 to 0.4.0

Main API changes - a single change for better flexibility:

  • IComparisonMethod :: getResourceSet() => getResourceSet(Role)

Back to the top