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 Compare/Specifications/ItemProviderPreferences"

(UI)
Line 21: Line 21:
  
 
== UI ==
 
== UI ==
 +
=== Blueprint ===
 
==== Solution 1 ====
 
==== 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
 
Impossible see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=259092 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=203943
Line 36: Line 37:
  
 
Same solution than solution 1 but we do not display mandatory item providers
 
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.
 +
  
 
[[Category:EMF Compare]]
 
[[Category:EMF Compare]]
 
[[Category:EMF Compare/Specification]]
 
[[Category:EMF Compare/Specification]]

Revision as of 03:31, 4 July 2014

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 SpecPreferencePageItemProvider.png

Solution 2

SpecPreferencePageItemProvider2.png

Solution 3

SpecPreferencePageItemProvider3.png

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.

Back to the top