431953: Stereotype garbage left in .uml file after removing profile (crash reason?)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431953

Refactor the initialization of the ModelSet service so that its own service factory associates it with the service registry (removing the additional service-factory that did this).

This introduces a new concept of service adapters that can externally provide a POJO service instance with the service lifecycle hooks, for POJOs that are injected into the service registry by a client and not created by a factory.  Non-POJO services and factory-created services do not need this because they have the service lifecycle built-in.

Update the CoreMultiDiagramEditor to start itself early to let other services such as the model set find it in the registry.  Fix an NPE in the abstract editor triggered by the service registry's attempt to obtain a service adapter from it.
431953: Stereotype garbage left in .uml file after removing profile (crash reason?)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431953

Implement a model-set snippet that detects and repairs (with user interaction) stereotype applications that either are not described by any profile application in the context of the a resource's root element when a resource is loaded.

Includes refactoring of the UI and back-end of the Switch Profiles functionality.

Cases of broken stereotypes include:
- instances of EClasses from a different version of the profile's Ecore definition than what is currently applied
- instances of EClasses from a profile that is not applied at all
- instances of EClasses from a profile that may be applied but which is unresolved (no longer exists at its former location)
Bug 433081 - [Sequence diagram] CastException while working on Guard

Change-Id: I6d700bee1edcec1d8a1804bbc8ef0d086d5b0f0b
Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
433169: NPE Importing Metaclass
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433169
Fix obvious error in nattable catalog handler due to new version of EMF-Facet
Merge branch 'master' of ssh://git.eclipse.org:29418/papyrus/org.eclipse.papyrus
430023: [Papyrus Tests] Papyrus shall propose different levels of testing, to allow test-driven development
https://bugs.eclipse.org/bugs/show_bug.cgi?id=430023

Use the @Conditional annotation instead of JUnit assumptions to avoid spurious failure reports in the Hudson environment that doesn't support assumption violations.
430023: [Papyrus Tests] Papyrus shall propose different levels of testing, to allow test-driven development
https://bugs.eclipse.org/bugs/show_bug.cgi?id=430023

Re-export JUnit utils dependency required to complete the classpath of other test projects.
431953: Stereotype garbage left in .uml file after removing profile (crash reason?)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431953

Automated tests for the stereotype repair model-set snippet.  Includes refactorings and improvements in JUnit utilities to support
- plain ModelSet fixtures
- new association implementation for ModelSet's service registry
- loading test resources from test fragments (not just plug-ins)
431953: Stereotype garbage left in .uml file after removing profile (crash reason?)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431953

Fix extended-types registry tests to not pop up the new Model Repair dialog because of unknown and/or incorrect schema for stereotype applications.
Merge branch 'refs/heads/master' into bugs/431953-stereo-repair2

Conflicts:
	plugins/uml/org.eclipse.papyrus.uml.modelrepair/src/org/eclipse/papyrus/uml/modelrepair/internal/participants/StereotypeApplicationRepairParticipant.java
Merge branch 'refs/heads/bugs/431953-stereo-repair2'
408491: [Profile] Papyrus shall enable to easily switch between local and registered profiles.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408491

Hook stereotype-application repair as a precondition of profile switch.  This employs a new extension point that can be used to register additional pre-condition checks not yet identified.
[Tests - trivial] Add incubation tag to new test bundle name
Bug 433274 - [Model explorer] Duplicate diagram link
Use == instead of equals to validate the owner of a diagram in the model
explorer
Change-Id: If284b7e9765e16587ccb0e64a418acfb84ffa618
Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Update diagram templates to use Papyrus Logger
Merge "Bug 433274 - [Model explorer] Duplicate diagram link Use == instead of equals to validate the owner of a diagram in the model explorer Change-Id: If284b7e9765e16587ccb0e64a418acfb84ffa618 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>"
433086: [Documentation] The Properties View Customization framework must
be documented
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433086

- Include the documentation to the build

Change-Id: I8ad54dfd3570770619ccc6de91a2f1f18ccc68d7
Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
432850: [ModelExplorer / Tree Providers] Improve the EMF Facet 2
integration
https://bugs.eclipse.org/bugs/show_bug.cgi?id=432850

- Fix errors in the Properties View editor
Synchronize with master