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/ItemProviderPreferences
Contents
Evolution Specification: Title of the evolution
Current status is DRAFT
Preamble
Summary: EMF Compare Item provider preferences.
Introduction
Specification for preferences of item provider contributed to EMF Compare. EMF compare provides a extension point that allow external plugins to register their own item provider. EMF Compare should now provide a way to disable those item providers through a preference page.
Detailed Specification
- REQ_010: Extensions should be able to provide an optional label for their item provider.
- REQ_020: Extensions should be able to provide an optional description for their item provider.
- REQ_030: Extension should be able to specify if an item provider is deactivable or not (by default an item provider is not deactivable).
- REQ_040: All item provider should appears in the preference page. The non deactivable providers should appears in grey. The deactivable providers should appears in black.
- REQ_50: EMF Compare should only use the item providers that are enabled at the beginning of the comparison (no update of the UI if the preferences are changed).
UI
Blueprint
Solution 1
Impossible see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=259092 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=203943
Solution 2
Solution 3
Solution 4
Same solution than solution 1 but we do not display mandatory item providers
Labels
- org.eclipse.emf.compare.diagram.internal.matchs.provider.spec.DiagramCompareItemProviderAdapterFactorySpec:
- Label:Notation item provider
- Description: Customizes the way notation element are displayed in EMF Compare.
- Optional: False
- org.eclipse.emf.compare.uml2.internal.provider.decorator.UMLProfileItemProviderAdapterFactoryDecorator:
- Label: UML extension item provider
- Description: This item provider changes the way UML difference extensions are displayed.
- Optional: True
- org.eclipse.emf.compare.uml2.internal.provider.custom.ProfileIntegrationItemProviderAdapterFactory:
- Label: Profile integration item provider
- Description: This item provider hides UML Profile complexity. It displays Stereotyped elements like they were a new king of uml element with their own icon and their own label.