Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/NestedCompare/NestedCompare_ChangeNameExample/.project11
-rw-r--r--sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.di17
-rw-r--r--sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.notation101
-rw-r--r--sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.uml5
-rw-r--r--sandbox/NestedCompare/NestedCompare_ChangeNameExample/name changed.bmpbin343854 -> 0 bytes
-rw-r--r--sandbox/NestedCompare/NestedCompare_DifferentParentExample/.project11
-rw-r--r--sandbox/NestedCompare/NestedCompare_DifferentParentExample/BadComparison.bmpbin3895638 -> 0 bytes
-rw-r--r--sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.di17
-rw-r--r--sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.notation5
-rw-r--r--sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.uml9
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.classpath7
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.project28
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/META-INF/MANIFEST.MF25
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/build.properties9
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/PapyrusLogo16x16.gifbin561 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/papyrus_compare_editor.gifbin956 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/plugin.xml60
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/Activator.java77
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/BasicCompareAction.java262
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/FileCompareAction.java98
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusCompareEditor.java370
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelCompareActionBarContributor.java231
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelElementCompareEditorInput.java357
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcorePlatformUtil.java1982
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcoreResourceUtil.java1148
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceEditingDomainUtil.java321
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceTransactionUtil.java198
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusCompareAction.java154
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusSaveablesCompareEditorInput.java70
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalActionBarContributor.java111
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalCompareEditor.java428
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.classpath6
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.project28
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/META-INF/MANIFEST.MF10
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/about.html28
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/build.properties15
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/icons/sysml.gifbin1032 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin-doc.pdoc5
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.properties4
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.xml20
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/todo/dummySysML.uiCustom2
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.classpath7
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.project34
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/META-INF/MANIFEST.MF25
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/build.properties6
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/PapyrusLogo16x16.gifbin561 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/papyrus_compare_editor.gifbin956 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/plugin.xml51
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/resources/emfcompare.uiCustom2
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/Activator.java110
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/PapyrusContentMergeViewerCreator.java22
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeDiffTab.java82
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeTabFolder.java234
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeViewer.java49
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/provider/PapyrusLabelProvider.java174
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/structure/viewer/UMLStructureMergeViewerCreator.java39
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalContentMergeViewerCreator.java22
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeDiffTab.java82
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeTabFolder.java234
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeViewer.java169
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/testSWT/MyViewer.java90
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.classpath6
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.project28
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/META-INF/MANIFEST.MF10
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/about.html28
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/build.properties15
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/icons/uml_notation.gifbin897 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin-doc.pdoc5
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.properties4
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.xml18
-rw-r--r--sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/todo/dummyUML.uiCustom2
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.classpath7
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.project28
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs22
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.ui.prefs59
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/META-INF/MANIFEST.MF38
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/about.html28
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/build.properties17
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/PapyrusLogo16x16.gifbin561 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/addUiCustom.gifbin612 -> 0 bytes
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/plugin.xml63
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/Activator.java158
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/actions/CustomizationAction.java104
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/AbstractEMFCompareHandler.java53
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/RedoHandler.java53
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/UndoHandler.java44
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/listeners/CloseEditorListener.java113
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/AbstractActionStateSourceProvider.java280
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ActionSourceProvider.java33
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ModelStructureLabelProvider.java99
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/PapyrusLabelProvider.java177
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/TransactionalActionSourceProvider.java76
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusParameterizedStructureMergeViewer.java74
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusStructureMergeViewerCreator.java39
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalContentMergeViewerCreator.java34
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeDiffTab.java127
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeTabFolder.java254
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeViewer.java277
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.classpath7
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.project28
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.ui.prefs108
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/META-INF/MANIFEST.MF26
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/build.properties5
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/plugin.xml27
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/Activator.java126
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/actions/CompareTwoElementsAction.java193
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AbstractPapyrusDefaultMerger.java60
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeLeftTargetMerger.java80
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeRightTargetMerger.java80
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeOrderChangeMerger.java227
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffExtensionMerger.java69
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffGroupMerger.java49
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ModelElementChangeRightTargetMerger.java146
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/MoveModelElementMerger.java103
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusModelElementChangeLeftTargetMerger.java167
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusUpdateAttributeMerger.java77
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeLeftTargetMerger.java149
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeRightTargetMerger.java150
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceOrderChangeMerger.java83
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/UpdateReferenceMerger.java93
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/MergeCommandProvider.java230
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergeCommandProvider.java56
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergerProvider.java86
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/service/SaveEMFCompareListener.java107
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/CompareEditorConfiguration.java261
-rw-r--r--sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/Utils.java55
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.di13
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.notation5
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.uml6
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.di13
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.notation5
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.uml4
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.notation5
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.uml4
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.notation5
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.uml6
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.notation53
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.uml8
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.notation53
-rw-r--r--sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.uml8
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.notation142
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.uml15
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.notation122
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.uml7
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.notation63
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.uml9
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.notation63
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.uml6
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.notation122
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.uml7
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.notation142
-rw-r--r--sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.uml15
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.notation177
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.uml8
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.notation177
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.uml7
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.notation273
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.uml9
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.notation273
-rw-r--r--sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.uml10
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.di23
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.notation63
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.uml8
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.di23
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.notation63
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.uml8
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.notation83
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.uml7
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.notation57
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.uml6
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.notation63
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.uml12
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.notation63
-rw-r--r--sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.uml12
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateAttributeExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.notation53
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.uml7
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.notation53
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.uml7
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample1/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.notation169
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.uml21
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.notation169
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.uml21
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample2/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.di17
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.notation159
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.uml14
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.di17
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.notation159
-rw-r--r--sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.uml14
-rw-r--r--sandbox/UMLCompareMergerExample/generalization/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/generalization/left.di17
-rw-r--r--sandbox/UMLCompareMergerExample/generalization/left.notation119
-rw-r--r--sandbox/UMLCompareMergerExample/generalization/left.uml19
-rw-r--r--sandbox/UMLCompareMergerExample/generalization/right.di17
-rw-r--r--sandbox/UMLCompareMergerExample/generalization/right.notation115
-rw-r--r--sandbox/UMLCompareMergerExample/generalization/right.uml19
-rw-r--r--sandbox/UMLCompareMergerExample/generalization_target/.project11
-rw-r--r--sandbox/UMLCompareMergerExample/generalization_target/left.di17
-rw-r--r--sandbox/UMLCompareMergerExample/generalization_target/left.notation118
-rw-r--r--sandbox/UMLCompareMergerExample/generalization_target/left.uml19
-rw-r--r--sandbox/UMLCompareMergerExample/generalization_target/right.di17
-rw-r--r--sandbox/UMLCompareMergerExample/generalization_target/right.notation115
-rw-r--r--sandbox/UMLCompareMergerExample/generalization_target/right.uml19
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/AddStereotypeApplication.JPGbin10432 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/EMFCompare13UML2Integration.JPGbin18366 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.notation37
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.uml13
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.uml16
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/CompareTwoElementDiffModel.JPGbin138185 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.notation137
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.uml16
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/EMFCompare13UML2Integration.JPGbin12443 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/RemoveStereotypeApplication.jpegbin10627 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.uml76
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.uml73
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/EMFCompare13UML2Integration.JPGbin20608 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/TaggedValueChangeLeftTarget.JPGbin15036 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.uml21
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.uml19
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/EMFCompare13UML2Integration.JPGbin22513 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/TaggedValueChangeRightTarget.JPGbin15909 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.uml16
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.uml18
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/EMFCompare13UML2Integration.JPGbin23570 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/TaggedValueReferenceChange.JPGbin90507 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.di9
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.notation2
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.uml77
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.di9
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.notation2
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.uml77
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/EMFCompare13UML2Integration.JPGbin14755 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/UpdateTaggedValue.JPGbin10982 -> 0 bytes
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.uml13
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.uml13
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/.project11
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.notation37
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.uml7
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.di17
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.notation44
-rw-r--r--sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.uml16
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/.classpath7
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/.project28
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/META-INF/MANIFEST.MF21
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/build.properties4
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/Activator.java55
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/ITransactionalMerger.java81
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/TransactionalMergeService.java317
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/AbstractFireMergeCommand.java76
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/CopyXMIIDCommand.java112
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffEndCommand.java43
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffStartCommand.java43
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationEndCommand.java52
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationStartCommand.java52
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/nested/NestedMergeUtils.java13
-rw-r--r--sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/standalone/StandaloneMergeUtils.java13
325 files changed, 0 insertions, 19667 deletions
diff --git a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/.project b/sandbox/NestedCompare/NestedCompare_ChangeNameExample/.project
deleted file mode 100644
index fe7f453cb2e..00000000000
--- a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>NestedCompare_ChangeNameExample</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.di b/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.di
deleted file mode 100644
index e8eeb7986b1..00000000000
--- a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_g9H6oInoEeG-Stt_ORxFaw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_g9H6oInoEeG-Stt_ORxFaw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.notation b/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.notation
deleted file mode 100644
index e6ab8d18dc0..00000000000
--- a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.notation
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_g9H6oInoEeG-Stt_ORxFaw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_kr9j4InoEeG-Stt_ORxFaw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kr-K8InoEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr-K8YnoEeG-Stt_ORxFaw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr-K8onoEeG-Stt_ORxFaw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr-K84noEeG-Stt_ORxFaw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr-K9InoEeG-Stt_ORxFaw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr-yAInoEeG-Stt_ORxFaw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kr-yAYnoEeG-Stt_ORxFaw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr-yAonoEeG-Stt_ORxFaw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kr_ZEInoEeG-Stt_ORxFaw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr_ZEYnoEeG-Stt_ORxFaw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kr_ZEonoEeG-Stt_ORxFaw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kr_ZE4noEeG-Stt_ORxFaw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_kr_ZFInoEeG-Stt_ORxFaw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_kr_ZFYnoEeG-Stt_ORxFaw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ksAAJYnoEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ksAAJonoEeG-Stt_ORxFaw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_kr_ZFonoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_kr_ZF4noEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_kr_ZGInoEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kr_ZGYnoEeG-Stt_ORxFaw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_kr_ZGonoEeG-Stt_ORxFaw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ksAAJ4noEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ksAnMInoEeG-Stt_ORxFaw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_kr_ZG4noEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_kr_ZHInoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_kr_ZHYnoEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kr_ZHonoEeG-Stt_ORxFaw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_ksAAIInoEeG-Stt_ORxFaw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ksAnMYnoEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ksAnMonoEeG-Stt_ORxFaw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_ksAAIYnoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_ksAAIonoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_ksAAI4noEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksAAJInoEeG-Stt_ORxFaw"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_krtFMInoEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kr9j4YnoEeG-Stt_ORxFaw" x="455" y="180"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_myJ0UInoEeG-Stt_ORxFaw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_myKbYInoEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myKbYYnoEeG-Stt_ORxFaw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myKbYonoEeG-Stt_ORxFaw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myKbY4noEeG-Stt_ORxFaw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myLCcInoEeG-Stt_ORxFaw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myLCcYnoEeG-Stt_ORxFaw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_myLCconoEeG-Stt_ORxFaw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myLCc4noEeG-Stt_ORxFaw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_myLCdInoEeG-Stt_ORxFaw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myLCdYnoEeG-Stt_ORxFaw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_myLCdonoEeG-Stt_ORxFaw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myLCd4noEeG-Stt_ORxFaw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_myLCeInoEeG-Stt_ORxFaw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_myLpgInoEeG-Stt_ORxFaw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_myLpj4noEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myMQkInoEeG-Stt_ORxFaw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_myLpgYnoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_myLpgonoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_myLpg4noEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_myLphInoEeG-Stt_ORxFaw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_myLphYnoEeG-Stt_ORxFaw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_myMQkYnoEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myMQkonoEeG-Stt_ORxFaw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_myLphonoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_myLph4noEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_myLpiInoEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_myLpiYnoEeG-Stt_ORxFaw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_myLpionoEeG-Stt_ORxFaw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_myMQk4noEeG-Stt_ORxFaw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_myMQlInoEeG-Stt_ORxFaw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_myLpi4noEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_myLpjInoEeG-Stt_ORxFaw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_myLpjYnoEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_myLpjonoEeG-Stt_ORxFaw"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_myCfkInoEeG-Stt_ORxFaw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_myJ0UYnoEeG-Stt_ORxFaw" x="729" y="183"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_g9H6oYnoEeG-Stt_ORxFaw"/>
- <element xmi:type="uml:Model" href="model.uml#_g8qAkInoEeG-Stt_ORxFaw"/>
-</notation:Diagram>
diff --git a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.uml b/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.uml
deleted file mode 100644
index 474bdac8e01..00000000000
--- a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/model.uml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_g8qAkInoEeG-Stt_ORxFaw" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_krtFMInoEeG-Stt_ORxFaw" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_myCfkInoEeG-Stt_ORxFaw" name="Class2"/>
-</uml:Model>
diff --git a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/name changed.bmp b/sandbox/NestedCompare/NestedCompare_ChangeNameExample/name changed.bmp
deleted file mode 100644
index 3215e833e59..00000000000
--- a/sandbox/NestedCompare/NestedCompare_ChangeNameExample/name changed.bmp
+++ /dev/null
Binary files differ
diff --git a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/.project b/sandbox/NestedCompare/NestedCompare_DifferentParentExample/.project
deleted file mode 100644
index 3e459910a48..00000000000
--- a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>NestedCompare_DifferentParentExample</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/BadComparison.bmp b/sandbox/NestedCompare/NestedCompare_DifferentParentExample/BadComparison.bmp
deleted file mode 100644
index 276310929a4..00000000000
--- a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/BadComparison.bmp
+++ /dev/null
Binary files differ
diff --git a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.di b/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.di
deleted file mode 100644
index 203d0185d26..00000000000
--- a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_XSuDIInuEeGxdcQdAms8Gw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_XSuDIInuEeGxdcQdAms8Gw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.notation b/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.notation
deleted file mode 100644
index 7604cebf31d..00000000000
--- a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.notation
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_XSuDIInuEeGxdcQdAms8Gw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <styles xmi:type="notation:DiagramStyle" xmi:id="_XSuDIYnuEeGxdcQdAms8Gw"/>
- <element xmi:type="uml:Model" href="model.uml#_XSnVcInuEeGxdcQdAms8Gw"/>
-</notation:Diagram>
diff --git a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.uml b/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.uml
deleted file mode 100644
index cbe1eb8e66a..00000000000
--- a/sandbox/NestedCompare/NestedCompare_DifferentParentExample/model.uml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_XSnVcInuEeGxdcQdAms8Gw" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_eYsnUInuEeGxdcQdAms8Gw" name="Class1"/>
- <packagedElement xmi:type="uml:Package" xmi:id="_fsfxgInuEeGxdcQdAms8Gw" name="Package1">
- <packagedElement xmi:type="uml:Class" xmi:id="_gc1CQInuEeGxdcQdAms8Gw" name="Class2">
- <ownedAttribute xmi:id="_hqcr8InuEeGxdcQdAms8Gw" name="property1"/>
- </packagedElement>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.classpath b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.classpath
deleted file mode 100644
index 2d1a4302f04..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.project b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.project
deleted file mode 100644
index 9bed46d4a5f..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.emf.compare.transactional.editor</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.settings/org.eclipse.jdt.core.prefs b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index fd1db489110..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Thu Oct 13 17:09:29 CEST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/META-INF/MANIFEST.MF b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/META-INF/MANIFEST.MF
deleted file mode 100644
index 1ea91756792..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,25 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: EMF-Compare With Command
-Bundle-SymbolicName: org.eclipse.papyrus.emf.compare.transactional.editor;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.papyrus.emf.compare.transactional.editor.Activator
-Bundle-Vendor: Eclipse Modeling Project
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.emf.ecore;bundle-version="2.7.0",
- org.eclipse.emf.compare;bundle-version="1.2.1",
- org.eclipse.compare;bundle-version="3.5.201",
- org.eclipse.emf.compare.diff;bundle-version="1.3.0",
- org.eclipse.emf.compare.ui,
- org.eclipse.emf.compare.match,
- org.eclipse.core.resources,
- org.eclipse.emf.transaction,
- org.eclipse.sphinx.emf.compare.ui,
- org.eclipse.sphinx.platform.ui,
- org.eclipse.sphinx.emf,
- org.eclipse.papyrus.log;bundle-version="0.8.2",
- org.eclipse.papyrus.uml.compare.ui;bundle-version="1.0.0",
- org.eclipse.pde;bundle-version="3.6.100"
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/build.properties b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/build.properties
deleted file mode 100644
index 2aaf819ba36..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/build.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- icons/
-src.includes = icons/,\
- plugin.xml,\
- src/
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/PapyrusLogo16x16.gif b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/PapyrusLogo16x16.gif
deleted file mode 100644
index 8a31f458379..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/PapyrusLogo16x16.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/papyrus_compare_editor.gif b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/papyrus_compare_editor.gif
deleted file mode 100644
index e817df6ff0c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/icons/papyrus_compare_editor.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/plugin.xml b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/plugin.xml
deleted file mode 100644
index 70dec336661..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/plugin.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.eclipse.papyrus.emf.compare.transactional.editor.PapyrusCompareEditor"
- contributorClass="org.eclipse.papyrus.emf.compare.transactional.editor.PapyrusModelCompareActionBarContributor"
- default="true"
- id="org.eclipse.papyrus.emf.compare.editor"
- name="EMF-Compare Editor With Command">
- <contentTypeBinding
- contentTypeId="org.eclipse.uml2.uml">
- </contentTypeBinding>
- </editor>
- <editor
- class="org.eclipse.papyrus.emf.compare.transactional.editor.v2.TransactionalCompareEditor"
- contributorClass="org.eclipse.papyrus.emf.compare.transactional.editor.v2.TransactionalActionBarContributor"
- default="true"
- id="org.eclipse.papyrus.emf.compare.transactional.editor"
- name="Transactional EMF-Compare Editor ">
- <contentTypeBinding
- contentTypeId="org.eclipse.uml2.uml">
- </contentTypeBinding>
- </editor>
- </extension>
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- adaptable="false"
- id="org.eclipse.papyrus.uml.compare.ui"
- objectClass="org.eclipse.core.resources.IFile">
- <action
- class="org.eclipse.papyrus.emf.compare.transactional.editor.FileCompareAction"
- enablesFor="2+"
- id="PapyrusCompareWithEachOther"
- label="Papyrus Compare"
- menubarPath="compareWithMenu/compareWithGroup"
- tooltip="Papyrus Compare">
- </action>
- </objectContribution>
- </extension>
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- adaptable="false"
- id="org.eclipse.papyrus.emf.compare.transactional.editor.objectContribution1"
- objectClass="org.eclipse.core.resources.IFile">
- <action
- class="org.eclipse.papyrus.emf.compare.transactional.editor.v2.PapyrusCompareAction"
- enablesFor="2+"
- id="org.eclipse.papyrus.emf.compare.transactional.editor.action1"
- label="Papyrus Compare Action V2"
- menubarPath="compareWithMenu/compareWithGroup"
- tooltip="Papyrus Compare V2">
- </action>
- </objectContribution>
- </extension>
-
-</plugin>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/Activator.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/Activator.java
deleted file mode 100644
index 82704ec8c6b..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/Activator.java
+++ /dev/null
@@ -1,77 +0,0 @@
-package org.eclipse.papyrus.emf.compare.transactional.editor;
-
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.papyrus.log.LogHelper;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.emf.compare.transactional.editor"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /**
- * Returns the image from the given path.
- *
- * @param path the path the image to be displayed
- * @return the image found
- * FIXME
- */
- public static Image getImage(String path) {
- final ImageRegistry registry = getDefault().getImageRegistry();
- Image image = registry.get(path);
- if(image == null) {
- registry.put(path, Activator.imageDescriptorFromPlugin(PLUGIN_ID, path));
- image = registry.get(path);
- }
- return image;
-
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- log = new LogHelper(plugin);
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return plugin;
- }
-
- /** The log service */
- public static LogHelper log;
-
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/BasicCompareAction.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/BasicCompareAction.java
deleted file mode 100644
index df31cd7c653..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/BasicCompareAction.java
+++ /dev/null
@@ -1,262 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2008-2010 See4sys and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * See4sys - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.papyrus.emf.compare.transactional.editor;
-
-import java.lang.ref.WeakReference;
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.CompareEditorInput;
-import org.eclipse.compare.internal.ComparePreferencePage;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonResourceSnapshot;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonSnapshot;
-import org.eclipse.emf.compare.diff.metamodel.DiffFactory;
-import org.eclipse.emf.compare.diff.metamodel.DiffModel;
-import org.eclipse.emf.compare.diff.service.DiffService;
-import org.eclipse.emf.compare.match.metamodel.MatchModel;
-import org.eclipse.emf.compare.match.service.MatchService;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.papyrus.emf.compare.transactional.editor.sphinx.EcorePlatformUtil;
-import org.eclipse.sphinx.emf.metamodel.MetaModelDescriptorRegistry;
-
-import org.eclipse.sphinx.platform.ui.util.ExtendedPlatformUI;
-import org.eclipse.sphinx.platform.util.PlatformLogUtil;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IReusableEditor;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.actions.BaseSelectionListenerAction;
-import org.eclipse.sphinx.emf.compare.ui.internal.messages.Messages;
-
-/**
- * Duplicate code from Sphinx
- */
-@SuppressWarnings("restriction")
-public class BasicCompareAction extends BaseSelectionListenerAction implements ISelectionChangedListener {
-
- /**
- * The comparison snapshot owning the match and diff models. This snapshot is needed in order to create the compare
- * editor input.
- */
- protected ComparisonSnapshot comparisonSnapshot;
-
- /**
- * The selected objects that must be compared.
- */
- protected List<WeakReference<EObject>> selectedObjects = null;
- /**
- * The selected files that must be compared.
- */
- protected List<WeakReference<IFile>> selectedFiles = null;
-
- /**
- * Constructor.
- */
- public BasicCompareAction() {
- //super(Messages.action_compareWithEachOther);
- super("With Each Other");
- // TODO Add action description
- // setDescription(TO BE DEFINED);
- }
-
- /**
- * @param selection
- * The selection in the viewer onto which this action should perform an operation.
- * @return <ul>
- * <li><tt><b>true</b>&nbsp;&nbsp;</tt> if compare action is available (i.e. if {@link IStructuredSelection
- * selection} matches enablement criteria);</li>
- * <li><tt><b>false</b>&nbsp;</tt> otherwise.</li>
- * </ul>
- */
- @Override
- public boolean updateSelection(IStructuredSelection selection) {
- Assert.isNotNull(selection);
-
- if (selection.size() != 2) {
- return false;
- }
-
- // Reset attributes
- comparisonSnapshot = null;
- selectedFiles = null;
- selectedObjects = null;
-
- for (Iterator<?> it = selection.iterator(); it.hasNext();) {
- Object obj = it.next();
-
- if (obj instanceof EObject) {
- if (selectedObjects == null) {
- selectedObjects = new ArrayList<WeakReference<EObject>>();
- }
- selectedObjects.add(new WeakReference<EObject>((EObject) obj));
- } else if (obj instanceof IFile) {
- IFile file = (IFile) obj;
- if (MetaModelDescriptorRegistry.INSTANCE.getDescriptor(file) != null) {
- if (selectedFiles == null) {
- selectedFiles = new ArrayList<WeakReference<IFile>>();
- }
- selectedFiles.add(new WeakReference<IFile>(file));
- }
- }
- }
- return selectedFiles != null ? selectedFiles.size() == 2 : false ^ selectedObjects != null ? selectedObjects.size() == 2 : false;
- }
-
- @Override
- public void run() {
- EObject leftObject = null;
- EObject rightObject = null;
- if (selectedObjects != null && selectedObjects.size() == 2) {
- leftObject = selectedObjects.get(0).get();
- rightObject = selectedObjects.get(1).get();
- } else if (selectedFiles != null && selectedFiles.size() == 2) {
- leftObject = getModelRoot(selectedFiles.get(0).get());
- rightObject = getModelRoot(selectedFiles.get(1).get());
- }
- if (leftObject == null || rightObject == null) {
- return;
- }
- try {
- MatchModel matchModel = MatchService.doContentMatch(leftObject, rightObject, Collections.EMPTY_MAP);
- DiffModel diffModel = DiffService.doDiff(matchModel);
-
- comparisonSnapshot = createComparisonSnapshot(matchModel, diffModel);
-
- CompareEditorInput input = getCompareEditorInput();
- IWorkbenchPage page = ExtendedPlatformUI.getActivePage();
- IReusableEditor editor = getReusableEditor();
-
- openCompareEditor(input, page, editor);
-
- } catch (InterruptedException ex) {
- Activator.log.error(ex);//PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- } finally {
- }
- }
-
- /**
- * @param file
- * The file whose root model object must be returned.
- * @return The root object of the model contained in the specified {@link IFile file}.
- */
- protected EObject getModelRoot(IFile file) {
- Assert.isNotNull(file);
-
- // Get model from workspace file and force it to be loaded in case that this has not been done yet
- return EcorePlatformUtil.loadModelRoot(file);
- }
-
- protected ComparisonSnapshot createComparisonSnapshot(MatchModel matchModel, DiffModel diffModel) {
- ComparisonResourceSnapshot snapshot = DiffFactory.eINSTANCE.createComparisonResourceSnapshot();
- snapshot.setDate(Calendar.getInstance().getTime());
- snapshot.setDiff(diffModel);
- snapshot.setMatch(matchModel);
- return snapshot;
- }
-
- protected CompareEditorInput getCompareEditorInput() {
- CompareEditorInput input = new PapyrusModelElementCompareEditorInput(comparisonSnapshot);
-
- CompareConfiguration configuration = input.getCompareConfiguration();
- if (configuration != null) {
- IPreferenceStore ps = configuration.getPreferenceStore();
- if (ps != null) {
- configuration.setProperty(CompareConfiguration.USE_OUTLINE_VIEW, Boolean.valueOf(ps
- .getBoolean(ComparePreferencePage.USE_OUTLINE_VIEW)));
- }
- }
- return input;
- }
-
- protected IReusableEditor getReusableEditor() {
- return null;
- }
-
- /**
- * Performs the comparison described by the given input and opens a compare editor on the result.
- *
- * @param input
- * the input on which to open the compare editor
- * @param page
- * the workbench page on which to create a new compare editor
- * @param editor
- * if not null the input is opened in this editor
- * @see CompareEditorInput
- */
- protected void openCompareEditor(final CompareEditorInput input, final IWorkbenchPage page, final IReusableEditor editor) {
- Runnable runnable = new Runnable() {
- public void run() {
- if (editor != null && !editor.getSite().getShell().isDisposed()) {
- // Reuse the given editor
- editor.setInput(input);
- return;
- }
- if (page != null) {
- // Open new CompareEditor on page
- try {
- page.openEditor(input, getCompareEditorId(input));
- } catch (PartInitException e) {
- Activator.log.error(e);
-// PlatformLogUtil.logAsError(Activator.getPlugin(), e);
- MessageDialog.openError(ExtendedPlatformUI.getActiveShell(), Messages.error_openEditorError, e.getMessage());
- }
- } else {
- String msg = Messages.error_noActiveWorkbenchPage;
- Activator.log.error(new NullPointerException(msg));//TODO bad, no?
- //PlatformLogUtil.logAsError(Activator.getPlugin(), new NullPointerException(msg));
- MessageDialog.openError(ExtendedPlatformUI.getActiveShell(), Messages.error_openEditorError, msg);
- }
- }
- };
-
- Display display = ExtendedPlatformUI.getDisplay();
- if (display != null) {
- display.syncExec(runnable);
- } else {
- runnable.run();
- }
- }
-
- /**
- * Returns the identifier of the compare editor to open.
- * <p>
- * Inheriting clients may override this method in order to specify the identifier of another compare editor (e.g.
- * according to the type of the specified input).
- *
- * @param input
- * The {@linkplain CompareEditorInput editor input} for which a compare editor is supposed to be opened.
- * @return The identifier of the compare editor to open.
- */
- protected String getCompareEditorId(CompareEditorInput input) {
- // Use our own ModelCompareEditor rather than Eclipse's org.eclipse.compare.CompareEditor
- return PapyrusCompareEditor.ID;
- }
-
- @Override
- public void setEnabled(boolean enabled) {
- // TODO Auto-generated method stub
- super.setEnabled(enabled);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/FileCompareAction.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/FileCompareAction.java
deleted file mode 100644
index 0b469cdfd98..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/FileCompareAction.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2008-2010 See4sys and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * See4sys - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.papyrus.emf.compare.transactional.editor;
-
-import org.eclipse.compare.internal.CompareEditor;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-//import org.eclipse.sphinx.emf.compare.ui.editor.ModelCompareEditor;
-import org.eclipse.sphinx.platform.ui.util.SelectionUtil;
-import org.eclipse.sphinx.platform.util.ExtendedPlatform;
-import org.eclipse.sphinx.platform.util.ReflectUtil;
-import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IWorkbenchPart;
-
-/**
- * Action for comparing {@link IFile file}s in the workspace. Overrides Eclipse-defined action behind "Compare With >
- * Each Other" popup menu to make sure that {@link ModelCompareEditor} rather than Eclipse's {@link CompareEditor} is
- * opened when selected {@link IFile file}s are model files.
- *
- * @see ModelCompareEditor
- */
-@SuppressWarnings("restriction")
-public class FileCompareAction implements IObjectActionDelegate {
-
- private BasicCompareAction modelCompareActionDelegate = new BasicCompareAction();
- private IObjectActionDelegate eclipseCompareActionDelegate;
-
- @SuppressWarnings("unchecked")
- public FileCompareAction() {
- // Ensure backward compatibility with Eclipse 3.4.x and earlier
- try {
- String eclipseCompareActionClassName;
- if (ExtendedPlatform.getFeatureVersionOrdinal() >= 35) {
- eclipseCompareActionClassName = "org.eclipse.team.internal.ui.actions.CompareAction"; //$NON-NLS-1$
- } else {
- eclipseCompareActionClassName = "org.eclipse.compare.internal.CompareAction"; //$NON-NLS-1$
- }
- Class<IObjectActionDelegate> eclipseCompareActionClass = (Class<IObjectActionDelegate>) getClass().getClassLoader().loadClass(
- eclipseCompareActionClassName);
- eclipseCompareActionDelegate = eclipseCompareActionClass.newInstance();
- } catch (Exception ex) {
- // Ignore exception
- }
- }
-
- public void setActivePart(IAction action, IWorkbenchPart targetPart) {
- if (eclipseCompareActionDelegate != null) {
- eclipseCompareActionDelegate.setActivePart(action, targetPart);
- }
- }
-
- public void selectionChanged(IAction action, ISelection selection) {
- // Propagate selection to delegates
- if (eclipseCompareActionDelegate != null) {
- eclipseCompareActionDelegate.selectionChanged(action, selection);
- }
- modelCompareActionDelegate.selectionChanged(SelectionUtil.getStructuredSelection(selection));
-
- // Update enablement state
- if (action != null) {
- action.setEnabled(isEclipseCompareActionEnabled() | modelCompareActionDelegate.isEnabled());
- }
- }
-
- public void run(IAction action) {
- if (modelCompareActionDelegate.isEnabled()) {
- modelCompareActionDelegate.run();
- } else if (isEclipseCompareActionEnabled()) {
- eclipseCompareActionDelegate.run(action);
- }
- }
-
- private boolean isEclipseCompareActionEnabled() {
- try {
- // Retrieve Eclipse compare action enablement state reflectively to be compatible with Eclipse 3.4.x and
- // Eclipse 3.5.x
- if (eclipseCompareActionDelegate != null) {
- return (Boolean) ReflectUtil.invokeMethod(eclipseCompareActionDelegate, "isEnabled"); //$NON-NLS-1$
- }
- } catch (Exception ex) {
- // Ignore exception
- }
- return false;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusCompareEditor.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusCompareEditor.java
deleted file mode 100644
index 33c05176f71..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusCompareEditor.java
+++ /dev/null
@@ -1,370 +0,0 @@
-package org.eclipse.papyrus.emf.compare.transactional.editor;
-import java.util.HashSet;
-import java.util.Set;
-
-import org.eclipse.compare.CompareEditorInput;
-import org.eclipse.compare.internal.CompareEditor;
-import org.eclipse.core.commands.operations.IOperationHistory;
-import org.eclipse.core.commands.operations.IOperationHistoryListener;
-import org.eclipse.core.commands.operations.IUndoContext;
-import org.eclipse.core.commands.operations.IUndoableOperation;
-import org.eclipse.core.commands.operations.ObjectUndoContext;
-import org.eclipse.core.commands.operations.OperationHistoryEvent;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.transaction.util.TransactionUtil;
-import org.eclipse.emf.workspace.IWorkspaceCommandStack;
-import org.eclipse.emf.workspace.ResourceUndoContext;
-import org.eclipse.papyrus.emf.compare.transactional.editor.sphinx.WorkspaceEditingDomainUtil;
-import org.eclipse.sphinx.emf.workspace.ui.saving.BasicModelSaveablesProvider.SiteNotifyingSaveablesLifecycleListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IEditorSite;
-import org.eclipse.ui.ISaveablesLifecycleListener;
-import org.eclipse.ui.IWorkbenchPartSite;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.SaveablesLifecycleEvent;
-
-
-/**
- *
- * Duplicate code from ModelCompareEditor
- *
- */
-@SuppressWarnings("restriction")//we suppres the warning for CompareEditor
-public class PapyrusCompareEditor extends CompareEditor implements IEditingDomainProvider{
-
- /**
- * The identifier of this editor (as contributed).
- */
- public static String ID = "org.eclipse.papyrus.emf.compare.editor"; //$NON-NLS-1$
-
- /**
- * The undo context for this compare editor.
- */
- protected IUndoContext undoContext;
-
- private IOperationHistoryListener affectedObjectsListener;
-
- /**
- * Default constructor.
- */
- public PapyrusCompareEditor() {
- // Create undo context
- undoContext = new ObjectUndoContext(this, ID);
-
- }
-
- @Override
- public void init(IEditorSite site, IEditorInput input) throws PartInitException {
- super.init(site, input);
-
- // First do not keep duplicated editing domain entries
- Set<TransactionalEditingDomain> editingDomains = new HashSet<TransactionalEditingDomain>();
- for (TransactionalEditingDomain editingDomain : getEditingDomains()) {
- if (editingDomain != null) {
- editingDomains.add(editingDomain);
- }
- }
- if (editingDomains.isEmpty()) {
- Activator.log.error(new RuntimeException("Editing domain not found"));
-// PlatformLogUtil.logAsError(Activator.getPlugin(), new RuntimeException(EMFMessages.error_notFound_editingDomain));
- }
- // Then creates and registers listeners on resulting editing domains
- for (TransactionalEditingDomain editingDomain : editingDomains) {
- addTransactionalEditingDomainListeners(editingDomain);
- }
- }
-
- @Override
- public void dispose() {
- for (TransactionalEditingDomain editingDomain : getEditingDomains()) {
- if (editingDomain != null) {
- removeTransactionalEditingDomainListeners(editingDomain);
- }
- }
-
- for (IOperationHistory operationHistory : getOperationHistories()) {
- if (operationHistory != null) {
- operationHistory.dispose(getUndoContext(), true, true, true);
- }
- }
- super.dispose();
- }
-
- protected void addTransactionalEditingDomainListeners(TransactionalEditingDomain editingDomain) {
- if (editingDomain != null) {
- // Create and register IOperationHistoryListener that detects changed objects
- affectedObjectsListener = createAffectedObjectsListener();
- Assert.isNotNull(affectedObjectsListener);
- ((IWorkspaceCommandStack) editingDomain.getCommandStack()).getOperationHistory().addOperationHistoryListener(affectedObjectsListener);
- }
- }
-
- protected void removeTransactionalEditingDomainListeners(TransactionalEditingDomain editingDomain) {
- if (editingDomain != null) {
- if (affectedObjectsListener != null) {
- IOperationHistory operationHistory = ((IWorkspaceCommandStack) editingDomain.getCommandStack()).getOperationHistory();
- operationHistory.removeOperationHistoryListener(affectedObjectsListener);
- }
- }
- }
-
- /**
- * Creates and returns the {@linkplain IOperationHistoryListener listener} to add on the
- * {@linkplain IOperationHistory operation history} of {@linkplain TransactionalEditingDomain editing domain}'s
- * {@linkplain IWorkspaceCommandStack command stack}.
- * <p>
- * The listener's implementation that is provided here aims at updating {@linkplain IUndoableOperation operation}'s
- * context by first removing default {@linkplain IUndoContext undo context} and second by adding
- * {@linkplain IUndoContext undo context} encapsulated by this editor.
- * <p>
- * Clients may override this default implementation.
- *
- * @return The {@linkplain IOperationHistoryListener operation history listener} to register on the command stack of
- * the concerned editing domain.
- */
- protected IOperationHistoryListener createAffectedObjectsListener() {
- return new IOperationHistoryListener() {
-
- public void historyNotification(final OperationHistoryEvent event) {
- IUndoableOperation operation = event.getOperation();
- if (event.getEventType() == OperationHistoryEvent.ABOUT_TO_EXECUTE) {
- handleOperationAboutToExecute(operation);
- } else if (event.getEventType() == OperationHistoryEvent.DONE || event.getEventType() == OperationHistoryEvent.UNDONE
- || event.getEventType() == OperationHistoryEvent.REDONE) {
- Set<?> affectedResources = ResourceUndoContext.getAffectedResources(operation);
- Resource[] resources = getModelRootsResources();
- boolean isLeftResourceAffected = resources[0] != null ? affectedResources.contains(resources[0]) : false;
- boolean isRightResourceAffected = resources[1] != null ? affectedResources.contains(resources[1]) : false;
- if (isLeftResourceAffected || isRightResourceAffected) {
- handleOperationFinished(operation);
- }
- }
- }
-
- private void handleOperationAboutToExecute(final IUndoableOperation operation) {
- if (operation.canUndo()) {
- IWorkbenchPartSite site = getSite();
- if (site != null) {
- site.getShell().getDisplay().syncExec(new Runnable() {
- public void run() {
- if (isActivePart()) {
- Resource[] resources = getModelRootsResources();
- for (Resource resource : resources) {
- TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(resource);
- if (editingDomain != null && editingDomain.getCommandStack() instanceof IWorkspaceCommandStack) {
- IWorkspaceCommandStack cmdStack = (IWorkspaceCommandStack) editingDomain.getCommandStack();
- IUndoContext defaultUndoContext = cmdStack.getDefaultUndoContext();
- if (defaultUndoContext != null) {
- // Remove default undo context and this editor's undo context
- operation.removeContext(defaultUndoContext);
- }
- }
- }
- operation.addContext(getUndoContext());
- }
- }
- });
- }
- }
- }
-
- private void handleOperationFinished(final IUndoableOperation operation) {
- getSite().getShell().getDisplay().asyncExec(new Runnable() {
- public void run() {
- // Update editor part name
- // FIXME Not needed for the moment.
- // setPartName(getModelRootsNames());
- }
- });
- }
- };
- }
-
- /**
- * @return
- */
- public ISaveablesLifecycleListener createModelSaveablesLifecycleListener() {
- return new SiteNotifyingSaveablesLifecycleListener(this) {
- @Override
- public void handleLifecycleEvent(SaveablesLifecycleEvent event) {
- super.handleLifecycleEvent(event);
-
- if (event.getEventType() == SaveablesLifecycleEvent.DIRTY_CHANGED) {
- firePropertyChange(PROP_DIRTY);
- }
- }
- };
- }
-
- @Override
- public boolean isSaveOnCloseNeeded() {
- // Model-based editors don't need to be saved when being closed even if the model is dirty, because they don't
- // own the model. The model is loaded, managed, and saved globally, i.e. it is not destroyed but stays there
- // when editors are being closed.
- return false;
- }
-
- @Override
- public boolean isSaveAsAllowed() {
- // TODO Modify implementation as soon as saving as diff model would be available.
- return false;
- }
-
- @Override
- public Object getAdapter(@SuppressWarnings("rawtypes") Class key) {
- if (key.equals(IUndoContext.class)) {
- // Used by undo/redo actions to get their undo context
- return getUndoContext();
- } else {
- return super.getAdapter(key);
- }
- }
-
- /**
- * @return The {@linkplain IUndoContext undo context} associated to this compare editor.
- */
- public IUndoContext getUndoContext() {
- return undoContext;
- }
-
- /**
- * @return An array of {@linkplain TransactionalEditingDomain editing domain}s which size is 2 and where at index 0
- * is editing domain from left, at index 1 is editing domain from right.
- */
- public TransactionalEditingDomain[] getEditingDomains() {
- TransactionalEditingDomain[] editingDomains = new TransactionalEditingDomain[2];
- EObject[] modelRoots = getModelRoots();
- if (modelRoots[0] != null) {
- editingDomains[0] = WorkspaceEditingDomainUtil.getEditingDomain(modelRoots[0]);
- }
- if (modelRoots[1] != null) {
- editingDomains[1] = WorkspaceEditingDomainUtil.getEditingDomain(modelRoots[1]);
- }
- if (editingDomains[0] == null && editingDomains[1] == null) {
- Activator.log.error(new RuntimeException("No editing domain found")); //$NON-NLS-1$
-// PlatformLogUtil.logAsError(Activator.getPlugin(), new RuntimeException("No editing domain found")); //$NON-NLS-1$
- }
- return editingDomains;
- }
-
- protected IOperationHistory[] getOperationHistories() {
- IOperationHistory[] operationHistories = new IOperationHistory[2];
- TransactionalEditingDomain[] editingDomains = getEditingDomains();
- for (int i = 0; i < 2; i++) {
- if (editingDomains[i] != null) {
- operationHistories[i] = ((IWorkspaceCommandStack) editingDomains[i].getCommandStack()).getOperationHistory();
- }
- }
- return operationHistories;
- }
-
- /**
- * @return The root objects of the model part that are currently being compared in this editor or an empty array if
- * no such objects are available. Anyway, always returns an array of {@linkplain EObject}s which size is 2
- * and where at index 0 is the left root and at index 1 is the right root.
- */
- public EObject[] getModelRoots() {
- EObject[] modelRoots = new EObject[2];
- IEditorInput editorInput = getEditorInput();
- if (editorInput instanceof PapyrusModelElementCompareEditorInput) {
- modelRoots = ((PapyrusModelElementCompareEditorInput) editorInput).getModelRoots();
- }
- return modelRoots;
- }
-
- /**
- * <p>
- * <table>
- * <tr valign=top>
- * <td><b>Note</b>&nbsp;&nbsp;</td>
- * <td>Whatever the model roots are (i.e. if <code>null</code> or not), this method returns an array of
- * {@linkplain Resource}s whose size is 2.</td>
- * </tr>
- * </table>
- *
- * @return
- */
- protected Resource[] getModelRootsResources() {
- Resource[] resources = new Resource[2];
- EObject[] modelRoots = getModelRoots();
- for (int i = 0; i < 2; i++) {
- EObject modelRoot = modelRoots[i];
- if (modelRoot != null) {
- resources[i] = modelRoot.eResource();
- }
- }
- return resources;
- }
-
- protected String getModelRootsNames() {
- String[] labels = new String[2];
- EObject[] modelRoots = getModelRoots();
- AdapterFactoryItemDelegator[] itemDelegators = getItemDelegators();
- for (int i = 0; i < 2; i++) {
- if (modelRoots[i] != null && itemDelegators[i] != null) {
- // Label of model root
- labels[i] = itemDelegators[i].getText(modelRoots[i]);
- }
- }
- if (labels[0] != null && labels[1] != null) {
- return labels[0] + " <---> " + labels[1]; //$NON-NLS-1$
- } else {
- return ((CompareEditorInput) getEditorInput()).getTitle();
- }
- }
-
- protected AdapterFactory[] getAdapterFactories() {
- AdapterFactory[] adapterFactories = new AdapterFactory[2];
- TransactionalEditingDomain[] editingDomains = getEditingDomains();
- for (int i = 0; i < 2; i++) {
- TransactionalEditingDomain editingDomain = editingDomains[i];
- if (editingDomain != null) {
- adapterFactories[i] = ((AdapterFactoryEditingDomain) editingDomain).getAdapterFactory();
- }
- }
- return adapterFactories;
- }
-
- protected AdapterFactoryItemDelegator[] getItemDelegators() {
- AdapterFactoryItemDelegator[] itemDelegators = new AdapterFactoryItemDelegator[2];
- AdapterFactory[] adapterFactories = getAdapterFactories();
- for (int i = 0; i < 2; i++) {
- AdapterFactory adapterFactory = adapterFactories[i];
- if (adapterFactory != null) {
- itemDelegators[i] = new AdapterFactoryItemDelegator(adapterFactory);
- }
- }
- return itemDelegators;
- }
-
- protected boolean isActivePart() {
- return this == getSite().getWorkbenchWindow().getPartService().getActivePart();
- }
-
- @Override
- public void setInput(IEditorInput input) {
- if (input instanceof PapyrusModelElementCompareEditorInput) {
- super.setInput(input);
- } else {
- Activator.log.error(new RuntimeException("Invalid editor input (must be an instance of ModelElementCompareEditorInput)"));
-// PlatformLogUtil.logAsError(Activator.getPlugin(), new RuntimeException(Messages.error_invalidEditorInput));
- }
- Image im = org.eclipse.papyrus.emf.compare.transactional.editor.Activator.getImage("/icons/PapyrusLogo16x16.gif");
- //TODO
- setTitleImage(im);
- setPartName("Papyrus Compare");
- }
-
- public TransactionalEditingDomain getEditingDomain() {
- return getEditingDomains()[0];
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelCompareActionBarContributor.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelCompareActionBarContributor.java
deleted file mode 100644
index 97e1787804c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelCompareActionBarContributor.java
+++ /dev/null
@@ -1,231 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2008-2010 See4sys and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * See4sys - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.papyrus.emf.compare.transactional.editor;
-
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.commands.operations.IOperationHistoryListener;
-import org.eclipse.core.commands.operations.IUndoContext;
-import org.eclipse.core.commands.operations.OperationHistoryEvent;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
-import org.eclipse.emf.edit.ui.action.RedoAction;
-import org.eclipse.emf.edit.ui.action.UndoAction;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.workspace.IWorkspaceCommandStack;
-import org.eclipse.emf.workspace.ResourceUndoContext;
-import org.eclipse.emf.workspace.ui.actions.RedoActionWrapper;
-import org.eclipse.emf.workspace.ui.actions.UndoActionWrapper;
-import org.eclipse.papyrus.emf.compare.transactional.editor.sphinx.WorkspaceEditingDomainUtil;
-import org.eclipse.sphinx.emf.compare.ui.editor.ModelCompareEditor;
-import org.eclipse.sphinx.emf.workspace.domain.WorkspaceEditingDomainManager;
-import org.eclipse.ui.IActionBars;
-import org.eclipse.ui.IEditorActionBarContributor;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.ISharedImages;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.actions.ActionFactory;
-
-/**
- * An implementation of {@linkplain IEditorActionBarContributor action bar contributor} that is dedicated to
- * {@linkplain ModelCompareEditor model compare editor}s.
- * <p>
- * Brings support for undo/redo actions.
- */
-public class PapyrusModelCompareActionBarContributor extends EditingDomainActionBarContributor {
-
- /**
- * The {@linkplain IOperationHistoryListener operation history listener} responsible for setting editing domain on
- * <em>undo</em>/<em>redo</em> actions as soon as an operation (on the command stack of that precise editing domain)
- * has been finished.
- */
- protected IOperationHistoryListener historyListener;
-
- /**
- * Default constructor that creates a new instance of this contributor.
- */
- public PapyrusModelCompareActionBarContributor() {
- super(ADDITIONS_LAST_STYLE);
- }
-
- /**
- * Creates the {@linkplain IOperationHistoryListener operation history listener} that is responsible for setting
- * editing domain on <em>undo</em>/<em>redo</em> actions as soon as an operation (on the command stack of that
- * precise editing domain) has been finished.
- *
- * @return The {@linkplain IOperationHistoryListener operation history listener} to add on the concerned editing
- * domain's command stack.
- */
- protected IOperationHistoryListener createOperationHistoryListener() {
- return new IOperationHistoryListener() {
- public void historyNotification(OperationHistoryEvent event) {
- if (event.getEventType() == OperationHistoryEvent.DONE || event.getEventType() == OperationHistoryEvent.UNDONE
- || event.getEventType() == OperationHistoryEvent.REDONE) {
- IUndoContext[] contexts = event.getOperation().getContexts();
- for (IUndoContext context : contexts) {
- if (PapyrusCompareEditor.ID.equals(context.getLabel())) {
- Set<Resource> affectedResources = ResourceUndoContext.getAffectedResources(event.getOperation());
- TransactionalEditingDomain editingDomain = null;
- for (Resource resource : affectedResources) {
- TransactionalEditingDomain domain = WorkspaceEditingDomainUtil.getEditingDomain(resource);
- if (editingDomain != null && editingDomain != domain) {
- //
- // !! Important Note !!
- // For the moment, the case where two elements from different editing domain are
- // compared is not really supported because we do not know very well the expected
- // behavior of such a kind of comparison.
- //
- UnsupportedOperationException ex = new UnsupportedOperationException("Several editing domains"); //$NON-NLS-1$
- //PlatformLogUtil.logAsWarning(Activator.getPlugin(), ex);
- Activator.log.error(ex);
- editingDomain = null;
- break;
- } else {
- editingDomain = domain;
- }
- }
- if (editingDomain != null) {
- // Set editing domain on Undo/Redo actions
- if (undoAction != null) {
- undoAction.setEditingDomain(editingDomain);
- }
- if (redoAction != null) {
- redoAction.setEditingDomain(editingDomain);
- }
- }
- break;
- }
- }
- }
- }
- };
- }
-
- @Override
- public void init(IActionBars actionBars) {
- super.init(actionBars);
-
- historyListener = createOperationHistoryListener();
-
- ISharedImages sharedImages = PlatformUI.getWorkbench().getSharedImages();
-
- // Override the superclass implementation of these actions
- undoAction = createUndoAction();
- undoAction.setImageDescriptor(sharedImages.getImageDescriptor(ISharedImages.IMG_TOOL_UNDO));
- actionBars.setGlobalActionHandler(ActionFactory.UNDO.getId(), undoAction);
-
- redoAction = createRedoAction();
- redoAction.setImageDescriptor(sharedImages.getImageDescriptor(ISharedImages.IMG_TOOL_REDO));
- actionBars.setGlobalActionHandler(ActionFactory.REDO.getId(), redoAction);
- }
-
- /**
- * Returns the {@linkplain RedoAction} this action bar contributor must provide. Default implementation creates a
- * new instance of {@linkplain RedoActionWrapper}; clients may override this method in order to create another kind
- * of action instead.
- *
- * @return The {@linkplain RedoAction} this action bar contributor must provide.
- */
- // FIXME Uncomment @Override once we don't need to support Eclipse 3.5 any longer
- // @Override
- protected RedoAction createRedoAction() {
- return new RedoActionWrapper();
- }
-
- /**
- * Returns the {@linkplain UndoAction} this action bar contributor must provide. Default implementation creates a
- * new instance of {@linkplain UndoActionWrapper}; clients may override this method in order to create another kind
- * of action instead.
- *
- * @return The {@linkplain UndoAction} this action bar contributor must provide.
- */
- // FIXME Uncomment @Override once we don't need to support Eclipse 3.5 any longer
- // @Override
- protected UndoAction createUndoAction() {
- return new UndoActionWrapper();
- }
-
- @Override
- public void setActiveEditor(IEditorPart part) {
- if (part != activeEditor) {
- if (activeEditor != null) {
- deactivate();
- }
- if (part instanceof PapyrusCompareEditor) {
- activeEditor = part;
- activate();
- }
- }
- }
-
- @Override
- public void dispose() {
- super.dispose();
-
- if (historyListener != null) {
- List<TransactionalEditingDomain> editingDomains = WorkspaceEditingDomainManager.INSTANCE.getEditingDomainMapping().getEditingDomains();
- for (TransactionalEditingDomain editingDomain : editingDomains) {
- ((IWorkspaceCommandStack) editingDomain.getCommandStack()).getOperationHistory().removeOperationHistoryListener(historyListener);
- }
- }
- historyListener = null;
- }
-
- @Override
- public void deactivate() {
- activeEditor.removePropertyListener(this);
-
- undoAction.setActiveWorkbenchPart(null);
- redoAction.setActiveWorkbenchPart(null);
- }
-
- /**
- * @return The {@linkplain TransactionalEditingDomain editing domain}s of the objects being compared (retrieves them
- * directly from {@linkplain ModelCompareEditor}).
- */
- protected Set<TransactionalEditingDomain> getEditingDomainsFromCompareEditor() {
- Set<TransactionalEditingDomain> editingDomains = new HashSet<TransactionalEditingDomain>();
- for (TransactionalEditingDomain editingDomain : ((PapyrusCompareEditor) activeEditor).getEditingDomains()) {
- if (editingDomain != null) {
- editingDomains.add(editingDomain);
- }
- }
- return editingDomains;
- }
-
- @Override
- public void activate() {
- if (historyListener != null) {
- for (TransactionalEditingDomain editingDomain : getEditingDomainsFromCompareEditor()) {
- ((IWorkspaceCommandStack) editingDomain.getCommandStack()).getOperationHistory().addOperationHistoryListener(historyListener);
- }
- }
-
- activeEditor.addPropertyListener(this);
-
- undoAction.setActiveWorkbenchPart(activeEditor);
- redoAction.setActiveWorkbenchPart(activeEditor);
-
- update();
- }
-
- @Override
- public void update() {
- undoAction.update();
- redoAction.update();
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelElementCompareEditorInput.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelElementCompareEditorInput.java
deleted file mode 100644
index ff110f9030d..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/PapyrusModelElementCompareEditorInput.java
+++ /dev/null
@@ -1,357 +0,0 @@
-package org.eclipse.papyrus.emf.compare.transactional.editor;
-
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.CompareEditorInput;
-import org.eclipse.compare.CompareViewerPane;
-import org.eclipse.compare.IViewerCreator;
-import org.eclipse.compare.Splitter;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonResourceSetSnapshot;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonResourceSnapshot;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonSnapshot;
-import org.eclipse.emf.compare.match.metamodel.MatchModel;
-import org.eclipse.emf.compare.ui.ModelCompareInput;
-import org.eclipse.emf.compare.ui.editor.ModelCompareEditorInput;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.papyrus.emf.compare.transactional.editor.sphinx.EcoreResourceUtil;
-import org.eclipse.papyrus.uml.compare.ui.merge.viewer.PapyrusContentMergeViewerCreator;
-import org.eclipse.papyrus.uml.compare.ui.structure.viewer.UMLStructureMergeViewerCreator;
-import org.eclipse.sphinx.emf.compare.ui.ModelElementCompareInput;
-import org.eclipse.sphinx.emf.compare.ui.editor.ModelCompareEditor;
-import org.eclipse.sphinx.emf.compare.ui.internal.Activator;
-import org.eclipse.sphinx.emf.compare.ui.internal.messages.Messages;
-import org.eclipse.sphinx.emf.compare.ui.viewer.content.ModelElementContentMergeViewer;
-import org.eclipse.sphinx.emf.resource.ExtendedResource;
-import org.eclipse.sphinx.emf.workspace.saving.ModelSaveManager;
-import org.eclipse.sphinx.emf.workspace.ui.saving.BasicModelSaveablesProvider;
-import org.eclipse.sphinx.platform.util.PlatformLogUtil;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.ISaveablesLifecycleListener;
-import org.eclipse.ui.ISaveablesSource;
-import org.eclipse.ui.Saveable;
-import org.eclipse.ui.navigator.SaveablesProvider;
-
-/**
- * Duplicate code from ModelElementCompareEditorInput
- */
-public class PapyrusModelElementCompareEditorInput extends ModelCompareEditorInput implements ISaveablesSource {
-
- /**
- * The two {@linkplain EObject}s that are currently being compared.
- * <p>
- * <code>modelRoots[0]</code> is the <b>left</b> model root object;<br>
- * <code>modelRoots[1]</code> is the <b>right</b> model root object.
- */
- private EObject[] modelRoots;
-
- protected SaveablesProvider modelSaveablesProvider;
-
- /**
- * This is a temporary editing domain used to load distant files.
- */
- protected TransactionalEditingDomain editingDomain;
-
- /**
- * This constructor takes a {@link ModelInputSnapshot} as input.
- *
- * @param snapshot
- * The {@link ComparisonSnapshot} loaded from an emfdiff.
- */
- public PapyrusModelElementCompareEditorInput(ComparisonSnapshot snapshot) {
- super(snapshot);
- }
-
- /**
- * Internal convenient method allowing to easily retrieve the match model for this compare editor input.
- *
- * @return The {@linkplain MatchModel match model} provided by the {@linkplain ModelCompareInput} encapsulated in
- * this {@linkplain ModelCompareEditorInput compare editor input}.
- */
- protected MatchModel getMatchModel() {
- Object matchModel = null;
- if(preparedInput != null) {
- matchModel = preparedInput.getMatch();
- } else if(inputSnapshot != null) {
- if(inputSnapshot instanceof ComparisonResourceSnapshot) {
- matchModel = ((ComparisonResourceSnapshot)inputSnapshot).getMatch();
- } else if(inputSnapshot instanceof ComparisonResourceSetSnapshot) {
- matchModel = ((ComparisonResourceSetSnapshot)inputSnapshot).getMatchResourceSet();
- }
- } else {
- IStatus warning = new Status(IStatus.WARNING, Activator.getPlugin().getSymbolicName(), Messages.warning_inputsNull, new NullPointerException());
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), warning);
- }
- return matchModel instanceof MatchModel ? (MatchModel)matchModel : null;
- }
-
- /**
- * Returns the save options to consider while saving the underlying model being edited. Default implementation
- * returns the default save options provided by the Sphinx EMF platform utility {@linkplain EcoreResourceUtil}.
- * Clients may override this method in order to specify custom options.
- *
- * @return The save options to consider while saving the underlying model being edited.
- */
- protected Map<?, ?> getSaveOptions() {
- return EcoreResourceUtil.getDefaultSaveOptions();
- }
-
- @Override
- public boolean isDirty() {
- boolean isDirty = false;
- for(Object modelRoot : getModelRoots()) {
- if(modelRoot instanceof EObject) {
- // Return true if the model, this editor or both are dirty
- isDirty = isDirty || ModelSaveManager.INSTANCE.isDirty(((EObject)modelRoot).eResource());
- }
- }
- return isDirty;
- }
-
- protected void init() {
- if(modelSaveablesProvider == null) {
- modelSaveablesProvider = createModelSaveablesProvider();
- if(getWorkbenchPart() instanceof PapyrusCompareEditor) {
- ISaveablesLifecycleListener modelSaveablesLifecycleListener = ((PapyrusCompareEditor)getWorkbenchPart()).createModelSaveablesLifecycleListener();
- modelSaveablesProvider.init(modelSaveablesLifecycleListener);
- } else {
- if(getWorkbenchPart() == null) {
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), new NullPointerException(Messages.warning_workbenchPartNull));
- } else {
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), new RuntimeException(Messages.warning_workbenchPartInstanceofModelCompareEditor));
- }
- }
- }
- }
-
- /**
- * @return The root object of the model part that is currently being edited in this editor or <code>null</code> if
- * no such is available.
- */
- public EObject[] getModelRoots() {
- if(modelRoots == null) {
- modelRoots = new EObject[2];
- }
-
- MatchModel matchModel = getMatchModel();
-
- if(matchModel != null) {
- if(modelRoots[0] == null || modelRoots[0].eIsProxy() || modelRoots[0].eResource() == null || !modelRoots[0].eResource().isLoaded()) {
- EList<EObject> leftRoots = matchModel.getLeftRoots();
- modelRoots[0] = leftRoots.get(0);
- }
- if(modelRoots[1] == null || modelRoots[1].eIsProxy() || modelRoots[1].eResource() == null || !modelRoots[1].eResource().isLoaded()) {
- EList<EObject> rightRoots = matchModel.getRightRoots();
- modelRoots[1] = rightRoots.get(0);
- }
- } else {
- IStatus warning = new Status(IStatus.WARNING, Activator.getPlugin().getSymbolicName(), Messages.warning_inputMatchModelNull, new NullPointerException());
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), warning);
- }
- return modelRoots;
- }
-
- @Override
- protected ModelContentMergeViewer createMergeViewer(CompareViewerPane pane, CompareConfiguration compareConfig) {
-// return super.createMergeViewer(pane, compareConfig);
-//we provide a Papyrus ContentMergeViewer
- IViewerCreator creator = new PapyrusContentMergeViewerCreator();
- return (ModelContentMergeViewer)creator.createViewer(pane, compareConfig);
-// return new ModelElementContentMergeViewer(pane, compareConfig);
- }
-
- @Override
- protected ModelCompareInput createModelCompareInput(ComparisonSnapshot snap) {
- if(snap instanceof ComparisonResourceSetSnapshot) {
- return new ModelElementCompareInput(((ComparisonResourceSetSnapshot)snap).getMatchResourceSet(), ((ComparisonResourceSetSnapshot)snap).getDiffResourceSet());
- }
- return new ModelElementCompareInput(((ComparisonResourceSnapshot)snap).getMatch(), ((ComparisonResourceSnapshot)snap).getDiff());
- }
-
- protected SaveablesProvider createModelSaveablesProvider() {
- return new BasicModelSaveablesProvider();
- }
-
- /**
- * @see Bug 892 - Indicate files being compared in compare editor tab title
- * @see #setTitle(String)
- */
- @Override
- protected Object prepareInput(IProgressMonitor monitor) {
- init();
- String title;
- Object input = super.prepareInput(monitor);
- String leftLabel = getLeftLabel();
- String rightLabel = getRightLabel();
- String ancestorLabel = getAncestorLabel();
- if(ancestorLabel == null) {
- title = NLS.bind(Messages.twoWay_title, leftLabel, rightLabel);
- } else {
- title = NLS.bind(Messages.threeWay_title, new String[]{ ancestorLabel, leftLabel, rightLabel });
- }
- setTitle(title);
- return input;
- }
-
- /**
- * Returns the label of the left compared object to use it in the title and the tool tip of the compare editor.
- *
- * @return As specified above.
- */
- protected String getRightLabel() {
- String rightLabel;
- EObject rightRoot = getModelRoots()[1];
- Resource rightResource = preparedInput.getRightResource();
- EObject rightModelRoot = EcoreResourceUtil.getModelRoot(rightResource);
- rightLabel = rightResource.getURI().toPlatformString(true);
- if(rightRoot != rightModelRoot) {
- String fragment = rightResource.getURIFragment(rightRoot);
- fragment = fragment.lastIndexOf(ExtendedResource.URI_QUERY_SEPARATOR) == -1 ? "" : fragment.substring(0, fragment.lastIndexOf(ExtendedResource.URI_QUERY_SEPARATOR)); //$NON-NLS-1$
- rightLabel = rightLabel.concat(ExtendedResource.URI_FRAGMENT_SEPARATOR + fragment);
- }
- return rightLabel;
- }
-
- /**
- * Returns the label of the right compared object to use it in the title and the tool tip of the compare editor.
- *
- * @return As specified above.
- */
- protected String getLeftLabel() {
- String leftLabel;
- EObject leftRoot = getModelRoots()[0];
- Resource leftResource = preparedInput.getLeftResource();
- EObject leftModelRoot = EcoreResourceUtil.getModelRoot(leftResource);
- leftLabel = leftResource.getURI().toPlatformString(true);
- if(leftRoot != leftModelRoot) {
- String fragment = leftResource.getURIFragment(leftRoot);
- fragment = fragment.lastIndexOf(ExtendedResource.URI_QUERY_SEPARATOR) == -1 ? "" : fragment.substring(0, fragment.lastIndexOf(ExtendedResource.URI_QUERY_SEPARATOR)); //$NON-NLS-1$
- leftLabel = leftLabel.concat(ExtendedResource.URI_FRAGMENT_SEPARATOR + fragment);
- }
- return leftLabel;
- }
-
- /**
- * Returns the label of the ancestor object in case of three way comparison.
- *
- * @return As specified above.
- */
- // TODO aakar We should handle three way comparison
- protected String getAncestorLabel() {
- Resource ancestorResource = preparedInput.getAncestorResource();
- if(ancestorResource != null) {
- return ancestorResource.getURI().toString();
- }
- return null;
- }
-
- @Override
- public String getToolTipText() {
- if(preparedInput != null) {
- String leftLabel = getLeftLabel();
- String rightLabel = getRightLabel();
- String ancestorLabel = getAncestorLabel();
- if(ancestorLabel == null) {
- return NLS.bind(Messages.twoWay_tooltip, leftLabel, rightLabel);
- } else {
- return NLS.bind(Messages.threeWay_tooltip, new Object[]{ ancestorLabel, leftLabel, rightLabel });
- }
- }
- // Fall back
- return super.getToolTipText();
- }
-
- @Override
- public void saveChanges(IProgressMonitor monitor) {
- for(Object modelRoot : getModelRoots()) {
- if(modelRoot instanceof EObject) {
- // Save the all dirty resources of underlying model
- ModelSaveManager.INSTANCE.saveModel(((EObject)modelRoot).eResource(), getSaveOptions(), false, monitor);
- }
- }
- }
-
- public Saveable[] getActiveSaveables() {
- return getSaveables();
- }
-
- public Saveable[] getSaveables() {
- Set<Saveable> saveables = new HashSet<Saveable>();
- if(modelSaveablesProvider != null) {
- Saveable leftSaveable = modelSaveablesProvider.getSaveable(getModelRoots()[0].eResource());
- if(leftSaveable != null) {
- saveables.add(leftSaveable);
- }
- Saveable rightSaveable = modelSaveablesProvider.getSaveable(getModelRoots()[1].eResource());
- if(rightSaveable != null) {
- saveables.add(rightSaveable);
- }
- }
- return saveables.toArray(new Saveable[saveables.size()]);
-
- }
-
- public TransactionalEditingDomain getEditingDomain() {
- return editingDomain;
- }
-
- public TransactionalEditingDomain setEditingDomain(TransactionalEditingDomain editingDomain) {
- return this.editingDomain = editingDomain;
- }
-
- @Override
- protected void finalize() throws Throwable {
- if(modelSaveablesProvider != null) {
- modelSaveablesProvider.dispose();
- modelSaveablesProvider = null;
- }
- if(editingDomain != null) {
- editingDomain.dispose();
- }
- super.finalize();
- }
-
- //TODO
- @Override
- public void setDirty(boolean dirty) {
- // TODO Auto-generated method stub
- super.setDirty(dirty);
- }
-
-
- //we override this method to provide the Papyrus Structural Viewer
- /**
- * {@inheritDoc}
- *
- * @see CompareEditorInput#createOutlineContents(Composite, int)
- */
- @Override
- public Control createOutlineContents(Composite parent, int direction) {
-
-
- final Splitter splitter = new Splitter(parent, direction);
-
- final CompareViewerPane pane = new CompareViewerPane(splitter, SWT.NONE);
- IViewerCreator creator = new UMLStructureMergeViewerCreator();
- //structureMergeViewer = new ModelStructureMergeViewer(pane, getCompareConfiguration());
- structureMergeViewer = (ModelStructureMergeViewer)creator.createViewer(pane, getCompareConfiguration());
- pane.setContent(structureMergeViewer.getTree());
-
- structureMergeViewer.setInput(preparedInput);
-
- return splitter;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcorePlatformUtil.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcorePlatformUtil.java
deleted file mode 100644
index 67c1d923fb3..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcorePlatformUtil.java
+++ /dev/null
@@ -1,1982 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2008-2011 See4sys, itemis and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * See4sys - Initial API and implementation
- * itemis - [346715] IMetaModelDescriptor methods of MetaModelDescriptorRegistry taking EObject or Resource arguments should not start new EMF transactions
- *
- * </copyright>
- */
-package org.eclipse.papyrus.emf.compare.transactional.editor.sphinx;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.operations.IOperationHistory;
-import org.eclipse.core.commands.operations.IUndoableOperation;
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.IWorkspaceRunnable;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.OperationCanceledException;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.SubMonitor;
-import org.eclipse.core.runtime.jobs.ISchedulingRule;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.core.runtime.jobs.MultiRule;
-import org.eclipse.emf.common.command.BasicCommandStack;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.provider.IWrapperItemProvider;
-import org.eclipse.emf.transaction.RunnableWithResult;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.transaction.util.TransactionUtil;
-import org.eclipse.emf.workspace.AbstractEMFOperation;
-import org.eclipse.emf.workspace.util.WorkspaceSynchronizer;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.sphinx.emf.Activator;
-import org.eclipse.sphinx.emf.edit.TransientItemProvider;
-import org.eclipse.sphinx.emf.internal.messages.Messages;
-import org.eclipse.sphinx.emf.metamodel.IMetaModelDescriptor;
-import org.eclipse.sphinx.emf.model.IModelDescriptor;
-import org.eclipse.sphinx.emf.model.ModelDescriptorRegistry;
-import org.eclipse.sphinx.emf.resource.ModelResourceDescriptor;
-import org.eclipse.sphinx.emf.saving.SaveIndicatorUtil;
-import org.eclipse.sphinx.emf.scoping.IResourceScope;
-import org.eclipse.sphinx.platform.util.ExtendedPlatform;
-import org.eclipse.sphinx.platform.util.PlatformLogUtil;
-import org.eclipse.sphinx.platform.util.ReflectUtil;
-import org.eclipse.sphinx.platform.util.StatusUtil;
-import org.xml.sax.SAXException;
-
-/**
- * Eclipse platform utility class.
- * <p>
- * Provides a set of methods allowing to handle resources, to load or save models, to retrieve a file from a resource
- * (and vice-versa), etc.
- */
-public final class EcorePlatformUtil {
-
- // Prevent from instantiation
- private EcorePlatformUtil() {
- }
-
- /**
- * Converts given {@link IPath path} into a workspace-relative platform resource {@link URI} if possible or an
- * absolute file {@link URI} otherwise. Returns given {@link IPath} as indeterminate (scheme-less) {@link URI} if
- * none of both is possible.
- *
- * @param path
- * The {@link IPath path} for which to create the {@link URI}; must not be <code>null</code>.
- * @return Workspace-relative platform resource {@link URI} or absolute file {@link URI} for given {@link IPath
- * path} or given {@link IPath} as indeterminate (scheme-less) {@link URI} otherwise.
- */
- public static URI createURI(IPath path) {
- Assert.isNotNull(path);
-
- URI uri = URI.createURI(path.toString(), true);
- URI convertedURI = EcoreResourceUtil.convertToPlatformResourceURI(uri);
- if (!convertedURI.isPlatformResource()) {
- convertedURI = EcoreResourceUtil.convertToAbsoluteFileURI(convertedURI);
- }
- return convertedURI;
- }
-
- public static IPath createPath(URI uri) {
- Assert.isNotNull(uri);
-
- if (uri.isPlatform()) {
- return new Path(uri.toPlatformString(true)).removeTrailingSeparator();
- } else if (uri.isFile()) {
- return new Path(uri.toFileString()).removeTrailingSeparator();
- } else {
- return new Path(uri.toString()).removeTrailingSeparator();
- }
- }
-
- /**
- * Converts the given {@link IPath path} into an absolute file {@linkplain URI}.
- *
- * @param path
- * The {@link Path path} for which an {@linkplain URI} is to be created.
- * @return The absolute file {@linkplain URI} for the given {@link IPath path} or an {@link URI} corresponding to
- * given {@link IPath path} as is if no conversion is possible.
- */
- public static URI createAbsoluteFileURI(IPath path) {
- URI uri = createURI(path);
- return EcoreResourceUtil.convertToAbsoluteFileURI(uri);
- }
-
- /**
- * Converts the given {@link URI uri} into an absolute file location, <em>i.e.</em> into a {@linkplain IPath path}.
- *
- * @param uri
- * The file {@linkplain URI} for which an absolute file {@linkplain IPath location} must be created.
- * @return The absolute file {@linkplain IPath location} for the given file {@link URI uri}.
- */
- public static IPath createAbsoluteFileLocation(URI uri) {
- uri = EcoreResourceUtil.convertToAbsoluteFileURI(uri);
- String uriString;
- if (uri.isFile()) {
- uriString = uri.toFileString();
- } else {
- uriString = uri.toString();
- }
- return new Path(uriString).removeTrailingSeparator();
- }
-
- /**
- * Converts the given {@link IPath path} into an absolute file {@linkplain IPath location}.
- *
- * @param path
- * The file path for which an absolute file {@linkplain IPath location} must be created.
- * @return The absolute file {@linkplain IPath location} for the given file {@link IPath path}.
- */
- public static IPath convertToAbsoluteFileLocation(IPath path) {
- URI uri = createAbsoluteFileURI(path);
- String uriString;
- if (uri.isFile()) {
- uriString = uri.toFileString();
- } else {
- uriString = uri.toString();
- }
- return new Path(uriString).removeTrailingSeparator();
- }
-
- /**
- * Reads the model namespace (i.e. XML namespace) of given {@link IFile file}. Returns a meaningful result only if
- * the {@link IFile file} is an XML document.
- *
- * @param file
- * The {@link IFile file} to investigate.
- * @return The model namespace denoted in the specified {@link IFile file} or <code>null</code> if the file is
- * either a non-XML file or an XML file which is not well-formed or has no model namespace.
- */
- public static String readModelNamespace(IFile file) {
- if (file != null && file.isAccessible()) {
- URI uri = createURI(file.getFullPath());
- return EcoreResourceUtil.readModelNamespace(null, uri);
- }
- return null;
- }
-
- /**
- * Reads the target namespace of given {@link IFile file}. Returns a meaningful result only if given {@link IFile
- * file} is an XML document.
- *
- * @param file
- * The {@link IFile file} to investigate.
- * @return The target namespace denoted in given {@link IFile file} or <code>null</code> if the {@link IFile file}
- * is either a not an XML file or an XML file which is not well-formed or has no target namespace.
- */
- public static String readTargetNamespace(IFile file) {
- return readTargetNamespace(file, (String[]) null);
- }
-
- /**
- * @param file
- * @param targetNamespaceExcludePatterns
- * @return
- */
- public static String readTargetNamespace(IFile file, String... targetNamespaceExcludePatterns) {
- if (file != null && file.isAccessible()) {
- URI uri = createURI(file.getFullPath());
- return EcoreResourceUtil.readTargetNamespace(null, uri, targetNamespaceExcludePatterns);
- }
- return null;
- }
-
- /**
- * Retrieves the XML comments located above the root element in given {@link IFile file}. Returns a meaningful
- * result only if given {@link IFile file} is an XML document.
- *
- * @param file
- * The {@link IFile file} to investigate.
- * @return Collection of strings representing the retrieved XML comments or empty collection if no such could be
- * found.
- */
- public static Collection<String> readRootElementComments(IFile file) {
- if (file != null && file.isAccessible()) {
- URI uri = createURI(file.getFullPath());
- return EcoreResourceUtil.readRootElementComments(null, uri);
- }
- return Collections.emptyList();
- }
-
- /**
- * Retrieves the {@link EObject root object} of the model contained in given {@link IFile file}. Returns
- * <code>null</code> if the {@link IFile file} has not been loaded yet.
- *
- * @param file
- * The {@link IFile file} containing the model.
- * @return The {@link EObject root object} of the model in given {@link IFile file} or <tt>null</tt> if the
- * {@link IFile file} has not been loaded yet or is empty.
- * @see #getModelRoot(TransactionalEditingDomain, IFile)
- */
- public static EObject getModelRoot(IFile file) {
- TransactionalEditingDomain editingDomain = WorkspaceEditingDomainUtil.getEditingDomain(file);
- if (editingDomain != null) {
- return getModelRoot(editingDomain, file);
- }
- return null;
- }
-
- /**
- * Retrieves the {@link EObject root object} of the model contained in given {@link IFile file} using given
- * {@link TransactionalEditingDomain editing domain}. Returns <tt>null</tt> if the {@link IFile file} has not been
- * loaded into the {@link TransactionalEditingDomain editing domain}'s {@link ResourceSet resource set} yet or is
- * empty.
- *
- * @param editingDomain
- * The {@linkplain TransactionalEditingDomain editing domain} the specified {@link IFile file} belongs
- * to; must not be <code>null</code>.
- * @param file
- * The {@linkplain IFile file} containing the model; must not be <code>null</code>.
- * @return The {@linkplain EObject root object} of the model in given {@link IFile file} or <tt>null</tt> if that
- * {@linkplain IFile file} has not been loaded into the specified {@linkplain TransactionalEditingDomain
- * editing domain}'s {@linkplain ResourceSet resource set} yet.
- */
- public static EObject getModelRoot(final TransactionalEditingDomain editingDomain, final IFile file) {
- if (editingDomain != null && file != null) {
- try {
- return TransactionUtil.runExclusive(editingDomain, new RunnableWithResult.Impl<EObject>() {
- public void run() {
- URI uri = createURI(file.getFullPath());
- setResult(EcoreResourceUtil.getModelRoot(editingDomain.getResourceSet(), uri));
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- return null;
- }
-
- /**
- * Loads the model contained in given {@link IFile file} using {@link EcoreResourceUtil#getDefaultLoadOptions()
- * default load options} and returns its {@link EObject root object}. Returns <tt>null</tt> if the {@link IFile
- * file} is empty.
- * <p>
- * Note: Calling this method involves retrieving the {@link TransactionalEditingDomain editing domain} behind the
- * given file. In case that the {@link IFile file} has not been loaded yet this is done by analyzing the its content
- * type. However, if it happens that the {@link IFile file}'s content type is retrieved for the very first time this
- * operation is somewhat costly in terms of runtime performance. Therefore, when the
- * {@link TransactionalEditingDomain editing domain} is already available prior to calling this method it is
- * recommended to use {@link #loadModelRoot(TransactionalEditingDomain, IFile)} instead.
- *
- * @param file
- * The {@link IFile file} containing the model.
- * @return The {@link EObject root object} of the model in given {@link IFile file} or <tt>null</tt> if the
- * {@link IFile file} is empty.
- * @see EcoreResourceUtil#getDefaultLoadOptions()
- * @see #loadModelRoot(TransactionalEditingDomain, IFile)
- */
- public static EObject loadModelRoot(IFile file) {
- return loadModelRoot(file, EcoreResourceUtil.getDefaultLoadOptions());
- }
-
- /**
- * Loads the model contained in given {@link IFile file} using given load options and returns its {@link EObject
- * root object}. Returns <tt>null</tt> if the {@link IFile file} is empty.
- * <p>
- * Note: Calling this method involves retrieving the {@link TransactionalEditingDomain editing domain} behind the
- * given file. In case that the {@link IFile file} has not been loaded yet this is done by analyzing the its content
- * type. However, if it happens that the {@link IFile file}'s content type is retrieved for the very first time this
- * operation is somewhat costly in terms of runtime performance. Therefore, when the
- * {@link TransactionalEditingDomain editing domain} is already available prior to calling this method it is
- * recommended to use {@link #loadModelRoot(TransactionalEditingDomain, IFile, Map)} instead.
- *
- * @param file
- * The {@link IFile file} containing the model.
- * @param options
- * The options to be used for loading the model.
- * @return The {@link EObject root object} of the model in given {@link IFile file} or <tt>null</tt> if the
- * {@link IFile file} is empty.
- * @see #loadModelRoot(TransactionalEditingDomain, IFile, Map)
- */
- public static EObject loadModelRoot(IFile file, Map<?, ?> options) {
- TransactionalEditingDomain editingDomain = WorkspaceEditingDomainUtil.getEditingDomain(file);
- if (editingDomain != null) {
- return loadModelRoot(editingDomain, file, options);
- }
- return null;
- }
-
- /**
- * Loads the model contained in given {@link IFile file} into given {@link TransactionalEditingDomain editing
- * domain} using {@link EcoreResourceUtil#getDefaultLoadOptions() default load options} and returns its
- * {@link EObject root object}. Returns <tt>null</tt> if the {@link IFile file} is empty.
- *
- * @param file
- * The {@link IFile file} containing the model.
- * @param editingDomain
- * The {@link TransactionalEditingDomain editing domain} the {@link IFile file} belongs to.
- * @param options
- * The options to be used for loading the model.
- * @return The {@link EObject root object} of the model in given {@link IFile file} or <tt>null</tt> if the
- * {@link IFile file} is empty.
- * @see EcoreResourceUtil#getDefaultLoadOptions()
- */
- public static EObject loadModelRoot(TransactionalEditingDomain editingDomain, IFile file) {
- return loadModelRoot(editingDomain, file, EcoreResourceUtil.getDefaultLoadOptions());
- }
-
- /**
- * Loads the model contained in given {@link IFile file} into given {@link TransactionalEditingDomain editing
- * domain} using given load options and returns its {@link EObject root object}. Returns <tt>null</tt> if the
- * {@link IFile file} is empty.
- *
- * @param file
- * The {@link IFile file} containing the model; must not be <code>null</code>.
- * @param editingDomain
- * The {@link TransactionalEditingDomain editing domain} the {@link IFile file} belongs to; must not be
- * <code>null</code>.
- * @param options
- * The options to be used for loading the model.
- * @return The {@link EObject root object} of the model in given {@link IFile file} or <tt>null</tt> if the
- * {@link IFile file} is empty.
- */
- public static EObject loadModelRoot(final TransactionalEditingDomain editingDomain, final IFile file, final Map<?, ?> options) {
- if (editingDomain != null && file != null) {
- try {
- return TransactionUtil.runExclusive(editingDomain, new RunnableWithResult.Impl<EObject>() {
- public void run() {
- URI uri = createURI(file.getFullPath());
- setResult(EcoreResourceUtil.loadModelRoot(editingDomain.getResourceSet(), uri, options));
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- return null;
- }
-
- /**
- * Tests if the given {@link Resource resource} is loaded in the {@link ResourceSet resource set} of given
- * {@link TransactionalEditingDomain editingDomain}.
- *
- * @param editingDomain
- * The {@link TransactionalEditingDomain editing domain} with the {@link ResourceSet resource set} to be
- * investigated.
- * @param resource
- * The {@link Resource resource} that may or not be loaded.
- * @return <code>true</code> if specified {@link Resource resource} is loaded in {@link ResourceSet resource set} of
- * given {@link TransactionalEditingDomain editingDomain}; <code>false</code> otherwise.
- */
- public static boolean isResourceLoaded(final TransactionalEditingDomain editingDomain, final Resource resource) {
- if (editingDomain != null && resource != null) {
- try {
- return TransactionUtil.runExclusive(editingDomain, new RunnableWithResult.Impl<Boolean>() {
- public void run() {
- setResult(EcoreResourceUtil.isResourceLoaded(editingDomain.getResourceSet(), resource.getURI()));
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- return false;
- }
-
- /**
- * Tests if the given {@link IFile file} is loaded in the {@link ResourceSet resource set} of some
- * {@link TransactionalEditingDomain editingDomain}.
- *
- * @param file
- * The {@link IFile file} that may or not be loaded.
- * @return <code>true</code> if specified {@link IFile file} is loaded in {@link ResourceSet resource set} of some
- * {@link TransactionalEditingDomain editingDomain}; <code>false</code> otherwise.
- */
- public static boolean isFileLoaded(IFile file) {
- return WorkspaceEditingDomainUtil.getCurrentEditingDomain(file) != null;
- }
-
- /**
- * Tests if the given {@link IFile file} is loaded in the {@link ResourceSet resource set} of the given
- * {@link TransactionalEditingDomain editingDomain}.
- *
- * @param editingDomain
- * The {@link TransactionalEditingDomain editing domain} with the {@link ResourceSet resource set} to be
- * investigated.
- * @param file
- * The {@link IFile file} that may or not be loaded.
- * @return <code>true</code> if specified {@link IFile file} is loaded in {@link ResourceSet resource set} of given
- * {@link TransactionalEditingDomain editingDomain}; <code>false</code> otherwise.
- */
- public static boolean isFileLoaded(final TransactionalEditingDomain editingDomain, final IFile file) {
- if (editingDomain != null && file != null) {
- try {
- return TransactionUtil.runExclusive(editingDomain, new RunnableWithResult.Impl<Boolean>() {
- public void run() {
- URI uri = createURI(file.getFullPath());
- setResult(EcoreResourceUtil.isResourceLoaded(editingDomain.getResourceSet(), uri));
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- return false;
- }
-
- /**
- * Returns the {@linkplain IFile file} corresponding to the specified {@linkplain Object object}.
- * <p>
- * The supported object types are:
- * <ul>
- * <li>{@linkplain org.eclipse.core.resources.IFile}</li>
- * <li>{@linkplain org.eclipse.emf.common.util.URI}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.resource.Resource}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.EObject}</li>
- * <li>{@linkplain org.eclipse.emf.edit.provider.IWrapperItemProvider}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.util.FeatureMap.Entry}</li>
- * </ul>
- *
- * @param object
- * The object from which a file must be returned.
- * @return The underlying file from the given object.
- */
- public static IFile getFile(Object object) {
- if (object instanceof IFile) {
- return (IFile) object;
- } else if (object instanceof URI) {
- return getFile((URI) object);
- } else if (object instanceof Resource) {
- return getFile((Resource) object);
- } else if (object instanceof EObject) {
- return getFile((EObject) object);
- } else if (object instanceof IWrapperItemProvider) {
- return getFile((IWrapperItemProvider) object);
- } else if (object instanceof FeatureMap.Entry) {
- return getFile((FeatureMap.Entry) object);
- } else if (object instanceof TransientItemProvider) {
- return getFile((TransientItemProvider) object);
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain IFile file} corresponding to the given {@linkplain org.eclipse.emf.common.util.URI}.
- *
- * @param uri
- * The {@linkplain URI} of the file to return.
- * @return The file corresponding to the specified {@link URI uri}.
- */
- public static IFile getFile(URI uri) {
- if (uri != null && Platform.isRunning()) {
- try {
- return (IFile) ReflectUtil.invokeInvisibleMethod(WorkspaceSynchronizer.class, "getFile", new Object[] { uri, //$NON-NLS-1$
- EcoreResourceUtil.getURIConverter(), false });
- } catch (Exception ex) {
- // Ignore exception
- }
- }
- return null;
- }
-
- /**
- * Retrieves the {@link IFile file} corresponding to the given <code>resource</code>.
- *
- * @param resource
- * The {@link Resource resource} for which the file is to be returned.
- * @return The file corresponding to the specified <code>resource</code>.
- */
- public static IFile getFile(final Resource resource) {
- if (resource != null && Platform.isRunning()) {
- return WorkspaceSynchronizer.getFile(resource);
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain IFile file} owning to the given {@linkplain org.eclipse.emf.ecore.EObject}.
- *
- * @param eObject
- * The {@linkplain EObject} whose file must be returned.
- * @return The file containing the specified {@link EObject eObject}.
- */
- public static IFile getFile(final EObject eObject) {
- if (eObject != null) {
- return getFile(eObject.eResource());
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain IFile file} owning the given
- * {@linkplain org.eclipse.emf.edit.provider.IWrapperItemProvider}.
- * <p>
- * First retrieves the owner of the {@link IWrapperItemProvider provider}; then, if owner is an {@linkplain EObject}
- * delegates to {@linkplain #getFile(EObject)} else delegates to {@linkplain #getFile(Object)}.
- *
- * @param provider
- * The {@linkplain IWrapperItemProvider} whose file must be returned.
- * @return The file containing the specified {@link IWrapperItemProvider provider}; <code>null</code> if that
- * provider is <code>null</code>.
- */
- public static IFile getFile(final IWrapperItemProvider provider) {
- if (provider != null) {
- Object owner = provider.getOwner();
- if (owner instanceof EObject) {
- return getFile((EObject) owner);
- } else {
- Object unwrapped = AdapterFactoryEditingDomain.unwrap(provider);
- return getFile(unwrapped);
- }
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain IFile file} matching the given {@link FeatureMap.Entry entry}.
- * <p>
- * First unwraps the {@link FeatureMap.Entry entry}; then, delegates to {@linkplain #getFile(Object)}.
- *
- * @param entry
- * The {@linkplain FeatureMap.Entry} whose underlying file must be returned.
- * @return The file under the specified {@link FeatureMap.Entry entry}.
- */
- public static IFile getFile(FeatureMap.Entry entry) {
- Object unwrapped = AdapterFactoryEditingDomain.unwrap(entry);
- return getFile(unwrapped);
- }
-
- /**
- * Retrieves the {@linkplain IFile file} owning the given {@linkplain TransientItemProvider}.
- * <p>
- * First retrieves the owner of the {@link TransientItemProvider provider}; then, if owner is an
- * {@linkplain EObject} delegates to {@linkplain #getFile(EObject)} else delegates to {@linkplain #getFile(Object)}.
- *
- * @param provider
- * The {@linkplain TransientItemProvider} whose file must be returned.
- * @return The file containing the specified {@link TransientItemProvider provider}; <code>null</code> if that
- * provider is <code>null</code>.
- */
- public static IFile getFile(final TransientItemProvider provider) {
- if (provider != null) {
- Object target = provider.getTarget();
- if (target instanceof EObject) {
- return getFile((EObject) target);
- }
- }
- return null;
- }
-
- /**
- * Returns the {@linkplain Resource resource} corresponding to the specified {@linkplain Object object}.
- * <p>
- * The supported object types are:
- * <ul>
- * <li>{@linkplain org.eclipse.core.resources.IFile}</li>
- * <li>{@linkplain org.eclipse.emf.common.util.URI}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.resource.Resource}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.EObject}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.util.FeatureMap.Entry}</li>
- * <li>{@linkplain org.eclipse.emf.edit.provider.IWrapperItemProvider}</li>
- * </ul>
- * <p>
- * If the type of the specified object does not belongs to that list of supported types, <code>null</code> is
- * returned.
- *
- * @param object
- * The object from which a resource must be returned.
- * @return The underlying resource from the given object.
- */
- public static Resource getResource(Object object) {
- if (object instanceof IFile) {
- return getResource((IFile) object);
- } else if (object instanceof URI) {
- return getResource((URI) object);
- } else if (object instanceof Resource) {
- return (Resource) object;
- } else if (object instanceof EObject) {
- return getResource((EObject) object);
- } else if (object instanceof IWrapperItemProvider) {
- return getResource((IWrapperItemProvider) object);
- } else if (object instanceof FeatureMap.Entry) {
- return getResource((FeatureMap.Entry) object);
- } else if (object instanceof TransientItemProvider) {
- return getResource((TransientItemProvider) object);
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} corresponding to the given {@link IFile file}.
- *
- * @param file
- * The {@linkplain IFile file} whose {@link Resource resource} is to be returned.
- * @return The resource corresponding to the specified {@link IFile file}.
- */
- public static Resource getResource(final IFile file) {
- final TransactionalEditingDomain editingDomain = WorkspaceEditingDomainUtil.getCurrentEditingDomain(file);
- if (editingDomain != null) {
- try {
- return TransactionUtil.runExclusive(editingDomain, new RunnableWithResult.Impl<Resource>() {
- public void run() {
- URI uri = createURI(file.getFullPath());
- setResult(editingDomain.getResourceSet().getResource(uri, false));
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- return null;
- }
-
- /**
- * Returns the {@linkplain Resource resource} corresponding to the specified {@link URI uri}.
- *
- * @param uri
- * The {@linkplain URI} of the resource to return.
- * @return The resource corresponding to the specified {@link URI uri}.
- */
- public static Resource getResource(final URI uri) {
- IFile file = getFile(uri);
- final TransactionalEditingDomain editingDomain = WorkspaceEditingDomainUtil.getCurrentEditingDomain(file);
- if (editingDomain != null) {
- try {
- return TransactionUtil.runExclusive(editingDomain, new RunnableWithResult.Impl<Resource>() {
- public void run() {
- setResult(editingDomain.getResourceSet().getResource(uri.trimFragment(), false));
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} corresponding to the given {@link EObject object}.
- *
- * @param eObject
- * The {@linkplain EObject object} whose {@link Resource resource} is to be returned.
- * @return The resource corresponding to the specified {@link EObject object}.
- */
- public static Resource getResource(final EObject eObject) {
- return EcoreResourceUtil.getResource(eObject);
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} owning the given {@link IWrapperItemProvider provider}.
- * <p>
- * First retrieves the owner of the {@link IWrapperItemProvider provider}; then, if owner is an {@linkplain EObject}
- * returns its resource, else delegates to {@linkplain #getResource(Object)}.
- *
- * @param provider
- * The {@linkplain IWrapperItemProvider} whose resource must be returned.
- * @return The resource containing the specified {@link IWrapperItemProvider provider}; <code>null</code> if that
- * provider is <code>null</code>.
- */
- public static Resource getResource(final IWrapperItemProvider provider) {
- return EcoreResourceUtil.getResource(provider);
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} matching the given {@link FeatureMap.Entry entry}.
- * <p>
- * First unwraps the {@link FeatureMap.Entry entry}; then, delegates to {@linkplain #getResource(Object)}.
- *
- * @param entry
- * The {@linkplain FeatureMap.Entry} whose underlying resource must be returned.
- * @return The resource under the specified {@link FeatureMap.Entry entry}.
- */
- public static Resource getResource(FeatureMap.Entry entry) {
- return EcoreResourceUtil.getResource(entry);
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} owning the given {@link TransientItemProvider provider}.
- * <p>
- * First retrieves the owner of the {@link TransientItemProvider provider}; then, if owner is an
- * {@linkplain EObject} returns its resource.
- *
- * @param provider
- * The {@linkplain TransientItemProvider} whose resource must be returned.
- * @return The resource containing the specified {@link TransientItemProvider provider}; <code>null</code> if that
- * provider is <code>null</code>.
- */
- public static Resource getResource(final TransientItemProvider provider) {
- return EcoreResourceUtil.getResource(provider);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the contextObject.
- *
- * @param contextObject
- * The Object used to research resources in the model.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context object's
- * {@link IModelDescriptor model descriptor} must be considered for the research.
- * @return The resources in the context object's model.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(Object contextObject, boolean includeReferencedModels) {
- if (contextObject instanceof IModelDescriptor) {
- return getResourcesInModel((IModelDescriptor) contextObject, includeReferencedModels);
- } else if (contextObject instanceof IFile) {
- return getResourcesInModel((IFile) contextObject, includeReferencedModels);
- } else if (contextObject instanceof URI) {
- return getResourcesInModel((URI) contextObject, includeReferencedModels);
- } else if (contextObject instanceof Resource) {
- return getResourcesInModel((Resource) contextObject, includeReferencedModels);
- } else if (contextObject instanceof EObject) {
- return getResourcesInModel((EObject) contextObject, includeReferencedModels);
- } else if (contextObject instanceof IWrapperItemProvider) {
- return getResourcesInModel((IWrapperItemProvider) contextObject, includeReferencedModels);
- } else if (contextObject instanceof FeatureMap.Entry) {
- return getResourcesInModel((FeatureMap.Entry) contextObject, includeReferencedModels);
- } else if (contextObject instanceof TransientItemProvider) {
- return getResourcesInModel((TransientItemProvider) contextObject, includeReferencedModels);
- }
- return Collections.emptyList();
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} provided in argument .
- *
- * @param modelDescriptor
- * The {@link IModelDescriptor model descriptor} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context
- * {@link IModelDescriptor model descriptor} must be considered for the research.
- * @return The {@link Resource resource}s owned by the {@link IModelDescriptor model descriptor}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(IModelDescriptor modelDescriptor, boolean includeReferencedModels) {
- if (modelDescriptor != null) {
- return modelDescriptor.getLoadedResources(includeReferencedModels);
- }
- return Collections.emptySet();
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the context {@link IFile file}.
- * If the given {@link IFile file} doesn't belong to any {@link IModelDescriptor model descriptor}, resources in
- * context{@link ResourceSet} will be returned
- *
- * @param contextFile
- * The {@link IFile file} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context {@link IFile
- * file}'s {@link IModelDescriptor model descriptor} must be considered for the research.
- * @return The resources in the context {@link IFile file}'s model.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(IFile contextFile, boolean includeReferencedModels) {
- IModelDescriptor modelDescriptor = ModelDescriptorRegistry.INSTANCE.getModel(contextFile);
- if (modelDescriptor != null) {
- return modelDescriptor.getLoadedResources(includeReferencedModels);
- }
- return getResourcesInContext(contextFile);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the context {@link URI uri}.
- *
- * @param contextURI
- * The {@link URI uri} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context {@link URI uri}
- * 's {@link IModelDescriptor model descriptor} must be considered for the research.
- * @return The resources in the context {@link URI uri}'s model.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(URI contextURI, boolean includeReferencedModels) {
- Resource contextResource = getResource(contextURI);
- return getResourcesInModel(contextResource, includeReferencedModels);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the context {@link Resource
- * resource}.If the given {@link Resource contextResource} doesn't belong to any {@link IModelDescriptor model
- * descriptor}, resources in context{@link ResourceSet} will be returned
- *
- * @param contextResource
- * The {@link Resource resource} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context
- * {@link Resource resource} 's {@link IModelDescriptor model descriptor} must be considered for the
- * research.
- * @return The resources in the context {@link Resource resource}'s model.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(Resource contextResource, boolean includeReferencedModels) {
- IModelDescriptor modelDescriptor = ModelDescriptorRegistry.INSTANCE.getModel(contextResource);
- if (modelDescriptor != null) {
- return modelDescriptor.getLoadedResources(includeReferencedModels);
- }
- return getResourcesInContext(contextResource);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the context {@link EObject
- * eobject}.
- *
- * @param contextEObject
- * The {@link EObject eobject} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context {@link EObject
- * eobject}'s {@link IModelDescriptor model descriptor} must be considered for the research.
- * @return The resources in the context {@link EObject eobject}'s model.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(EObject contextEObject, boolean includeReferencedModels) {
- Resource contextResource = contextEObject.eResource();
- return getResourcesInModel(contextResource, includeReferencedModels);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the context
- * {@link IWrapperItemProvider provider}.
- *
- * @param contextProvider
- * The {@link IWrapperItemProvider provider} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context
- * {@link IWrapperItemProvider provider}'s {@link IModelDescriptor model descriptor} must be considered
- * for the research.
- * @return The resources in the context {@link IWrapperItemProvider provider}'s model.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(IWrapperItemProvider contextProvider, boolean includeReferencedModels) {
- Resource contextResource = getResource(contextProvider);
- return getResourcesInModel(contextResource, includeReferencedModels);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the context
- * {@link FeatureMap.Entry feature map entry}.
- *
- * @param contextEntry
- * The {@link FeatureMap.Entry feature map entry} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context
- * {@link FeatureMap.Entry feature map entry}'s {@link IModelDescriptor model descriptor} must be
- * considered for the research.
- * @return The resources in the context {@link FeatureMap.Entry feature map entry}'s model.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModel(FeatureMap.Entry contextEntry, boolean includeReferencedModels) {
- Resource contextResource = getResource(contextEntry);
- return getResourcesInModel(contextResource, includeReferencedModels);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model descriptor} of the context
- * {@link TransientItemProvider provider}.
- *
- * @param contextProvider
- * The {@link TransientItemProvider provider} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context
- * {@link TransientItemProvider provider}'s {@link IModelDescriptor model descriptor} must be considered
- * for the research.
- * @return The resources in the context {@link TransientItemProvider provider}'s model.
- * @since 2.1
- */
- public static Collection<Resource> getResourcesInModel(TransientItemProvider contextProvider, boolean includeReferencedModels) {
- Resource contextResource = getResource(contextProvider);
- return getResourcesInModel(contextResource, includeReferencedModels);
- }
-
- /**
- * Returns all resources owned by the {@link IModelDescriptor model}s of given {@link IMetaModelDescriptor
- * metamodel} in the context {@link IContainer container}.
- *
- * @param contextContainer
- * The {@link IContainer container} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IModelDescriptor model descriptors} referenced by the context
- * {@link IContainer container}'s {@link IModelDescriptor model descriptor} must be considered for the
- * research.
- * @return The resources in the context {@link IContainer container}'s models.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInModels(IContainer contextContainer, IMetaModelDescriptor mmDescriptor,
- boolean includeReferencedModels) {
- Collection<Resource> resourcesInModels = new HashSet<Resource>();
- Collection<IModelDescriptor> modelDescriptors = ModelDescriptorRegistry.INSTANCE.getModels(contextContainer, mmDescriptor);
- for (IModelDescriptor modelDescriptor : modelDescriptors) {
- resourcesInModels.addAll(modelDescriptor.getLoadedResources(includeReferencedModels));
- }
- return resourcesInModels;
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the contextObject.
- *
- * @param contextObject
- * The Object used to research resources in the model.
- * @param includeReferencedScopes
- * Determines if the {@link IResourceScope model resource scope} referenced by the context object's
- * {@link IResourceScope model resource scope} must be considered for the research.
- * @return The resources in the context object's {@link IResourceScope model resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(Object contextObject, boolean includeReferencedScopes) {
- if (contextObject instanceof IModelDescriptor) {
- return getResourcesInScope((IModelDescriptor) contextObject, includeReferencedScopes);
- } else if (contextObject instanceof IFile) {
- return getResourcesInScope((IFile) contextObject, includeReferencedScopes);
- } else if (contextObject instanceof URI) {
- return getResourcesInScope((URI) contextObject, includeReferencedScopes);
- } else if (contextObject instanceof Resource) {
- return getResourcesInScope((Resource) contextObject, includeReferencedScopes);
- } else if (contextObject instanceof EObject) {
- return getResourcesInScope((EObject) contextObject, includeReferencedScopes);
- } else if (contextObject instanceof IWrapperItemProvider) {
- return getResourcesInScope((IWrapperItemProvider) contextObject, includeReferencedScopes);
- } else if (contextObject instanceof FeatureMap.Entry) {
- return getResourcesInScope((FeatureMap.Entry) contextObject, includeReferencedScopes);
- } else if (contextObject instanceof TransientItemProvider) {
- return getResourcesInScope((TransientItemProvider) contextObject, includeReferencedScopes);
- }
- return Collections.emptyList();
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} provided in argument .
- *
- * @param modelDescriptor
- * The {@link IModelDescriptor model descriptor} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context
- * {@link IResourceScope model resource scope} must be considered for the research.
- * @return The {@link Resource resource}s owned by the {@link IResourceScope model resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(IModelDescriptor modelDescriptor, boolean includeReferencedScopes) {
- if (modelDescriptor != null) {
- TransactionalEditingDomain editingDomain = modelDescriptor.getEditingDomain();
- return modelDescriptor.getScope().getLoadedResources(editingDomain, includeReferencedScopes);
- }
- return Collections.emptySet();
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} of the context {@link IFile file}. If the given {@link IFile file} does not belong to any
- * {@link IModelDescriptor model descriptor}, resources in context {@link ResourceSet} will be returned.
- *
- * @param contextFile
- * The {@link IFile file} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context {@link IFile
- * file}'s {@link IResourceScope model resource scope} must be considered for the research.
- * @return The resources in the context {@link IFile file}'s {@link IResourceScope model resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(IFile contextFile, boolean includeReferencedScopes) {
- IModelDescriptor modelDescriptor = ModelDescriptorRegistry.INSTANCE.getModel(contextFile);
- if (modelDescriptor != null) {
- return getResourcesInScope(modelDescriptor, includeReferencedScopes);
- }
- return getResourcesInContext(contextFile);
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} of the context {@link URI uri}.
- *
- * @param contextURI
- * The {@link URI uri} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context {@link URI
- * uri}'s {@link IResourceScope model resource scope} must be considered for the research.
- * @return The resources in the context {@link URI uri}'s {@link IResourceScope model resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(URI contextURI, boolean includeReferencedScopes) {
- Resource contextResource = getResource(contextURI);
- return getResourcesInScope(contextResource, includeReferencedScopes);
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} of the context {@link Resource resource}.If the given {@link Resource contextResource} does not
- * belong to any {@link IModelDescriptor model descriptor}, resources in context {@link ResourceSet} will be
- * returned.
- *
- * @param contextResource
- * The {@link Resource resource} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context
- * {@link Resource resource}'s {@link IResourceScope model resource scope} must be considered for the
- * research.
- * @return The resources in the context {@link Resource resource}'s {@link IResourceScope model resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(Resource contextResource, boolean includeReferencedScopes) {
- IModelDescriptor modelDescriptor = ModelDescriptorRegistry.INSTANCE.getModel(contextResource);
- if (modelDescriptor != null) {
- return getResourcesInScope(modelDescriptor, includeReferencedScopes);
- }
- return getResourcesInContext(contextResource);
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} of the context {@link EObject eObject}.
- *
- * @param contextEObject
- * The {@link EObject eObject} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context
- * {@link EObject eObject}'s {@link IResourceScope model resource scope} must be considered for the
- * research.
- * @return The resources in the context {@link EObject eObject}'s {@link IResourceScope model resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(EObject contextEObject, boolean includeReferencedScopes) {
- Resource contextResource = contextEObject.eResource();
- return getResourcesInScope(contextResource, includeReferencedScopes);
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} of the context {@link IWrapperItemProvider provider}.
- *
- * @param contextProvider
- * The {@link IWrapperItemProvider provider} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context
- * {@link IWrapperItemProvider provider}'s {@link IResourceScope model resource scope} must be considered
- * for the research.
- * @return The resources in the context {@link IWrapperItemProvider provider}'s {@link IResourceScope model resource
- * scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(IWrapperItemProvider contextProvider, boolean includeReferencedScopes) {
- Resource contextResource = getResource(contextProvider);
- return getResourcesInScope(contextResource, includeReferencedScopes);
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} of the context {@link FeatureMap.Entry feature map entry}.
- *
- * @param contextEntry
- * The {@link FeatureMap.Entry feature map entry} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context
- * {@link FeatureMap.Entry feature map entry}'s {@link IResourceScope model resource scope} must be
- * considered for the research.
- * @return The resources in the context {@link FeatureMap.Entry feature map entry}'s {@link IResourceScope model
- * resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScope(FeatureMap.Entry contextEntry, boolean includeReferencedScopes) {
- Resource contextResource = getResource(contextEntry);
- return getResourcesInScope(contextResource, includeReferencedScopes);
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope} of the {@link IModelDescriptor
- * model descriptor} of the context {@link TransientItemProvider provider}.
- *
- * @param contextProvider
- * The {@link TransientItemProvider provider} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context
- * {@link TransientItemProvider provider}'s {@link IResourceScope model resource scope} must be
- * considered for the research.
- * @return The resources in the context {@link TransientItemProvider provider}'s {@link IResourceScope model
- * resource scope}.
- * @since 2.1
- */
- public static Collection<Resource> getResourcesInScope(TransientItemProvider contextProvider, boolean includeReferencedScopes) {
- Resource contextResource = getResource(contextProvider);
- return getResourcesInScope(contextResource, includeReferencedScopes);
- }
-
- /**
- * Returns all resources owned by the {@link IResourceScope model resource scope}s of the {@link IModelDescriptor
- * model descriptor}s of the context {@link IContainer container}.
- *
- * @param contextContainer
- * The {@link IContainer container} used as context object for investigation.
- * @param includeReferencedModels
- * Determines if the {@link IResourceScope model resource scopes} referenced by the context
- * {@link IContainer container}'s {@link IResourceScope model resource scope} must be considered for the
- * research.
- * @return The resources in the context {@link IContainer container}'s {@link IResourceScope model resource scope}.
- * @since 0.7.0
- */
- public static Collection<Resource> getResourcesInScopes(IContainer contextContainer, boolean includeReferencedScopes) {
- Collection<Resource> resourcesInScopes = new HashSet<Resource>();
- Collection<IModelDescriptor> modelDescriptors = ModelDescriptorRegistry.INSTANCE.getModels(contextContainer);
- for (IModelDescriptor modelDescriptor : modelDescriptors) {
- resourcesInScopes.addAll(getResourcesInScope(modelDescriptor, includeReferencedScopes));
- }
- return resourcesInScopes;
- }
-
- private static Collection<Resource> getResourcesInContext(Object contextObject) {
- Resource resource = EcoreResourceUtil.getResource(contextObject);
- if (resource != null) {
- ResourceSet resourceSet = resource.getResourceSet();
- if (resourceSet != null) {
- return resourceSet.getResources();
- }
- return Collections.singletonList(resource);
- }
- return Collections.emptySet();
- }
-
- public static ISchedulingRule createSaveNewSchedulingRule(Collection<ModelResourceDescriptor> modelResourceDescriptors) {
- if (modelResourceDescriptors != null) {
- Set<IPath> paths = new HashSet<IPath>();
- for (ModelResourceDescriptor descriptor : modelResourceDescriptors) {
- paths.add(descriptor.getPath());
- }
- return ExtendedPlatform.createSaveNewSchedulingRule(paths);
- }
- return null;
- }
-
- /**
- * Creates the {@linkplain ISchedulingRule scheduling rule} that is required for saving the specified
- * {@link Resource resource}.
- *
- * @param resource
- * The {@linkplain Resource resource} to be saved.
- * @return The {@linkplain ISchedulingRule scheduling rule} required for saving the given {@link Resource resource}.
- */
- public static ISchedulingRule createSaveSchedulingRule(Resource resource) {
- if (resource != null) {
- IFile modelFile = getFile(resource);
- return ExtendedPlatform.createSaveSchedulingRule(modelFile);
- }
- return null;
- }
-
- /**
- * Creates the {@linkplain ISchedulingRule scheduling rule} that are required for saving the specified
- * {@link Resource resource}s.
- *
- * @param resources
- * The {@linkplain Resource resource}s to be saved (for which scheduling rules must be created.
- * @return The scheduling {@linkplain MultiRule rule}s required for saving the given {@link Resource resources}.
- */
- public static ISchedulingRule createSaveSchedulingRule(Collection<Resource> resources) {
- if (resources != null) {
- /*
- * Performance optimization: Create a scheduling rule on a per resource basis only if number of resources is
- * reasonably low.
- */
- if (resources.size() < ExtendedPlatform.LIMIT_INDIVIDUAL_RESOURCES_SCHEDULING_RULE) {
- Set<ISchedulingRule> rules = new HashSet<ISchedulingRule>();
- for (Resource resource : resources) {
- ISchedulingRule schedulingRule = createSaveSchedulingRule(resource);
- if (schedulingRule != null) {
- rules.add(schedulingRule);
- }
- }
- return MultiRule.combine(rules.toArray(new ISchedulingRule[rules.size()]));
- } else {
- // Return workspace root as scheduling rule otherwise
- return ResourcesPlugin.getWorkspace().getRoot();
- }
- }
- return null;
- }
-
- private static ISchedulingRule createSaveSchedulingRule(Map<TransactionalEditingDomain, Collection<Resource>> resources) {
- if (resources != null) {
- Collection<Resource> allResources = new HashSet<Resource>();
- for (Collection<Resource> resourcesInEditingDomain : resources.values()) {
- allResources.addAll(resourcesInEditingDomain);
- }
- return createSaveSchedulingRule(allResources);
- }
- return null;
- }
-
- /**
- * Add a new model {@link Resource} to the provided {@link TransactionalEditingDomain} , created by using
- * {@link EObject} modelRoot as based for the containing model.
- *
- * @param editingDomain
- * The {@link TransactionalEditingDomain} where to add new resource.
- * @param path
- * The relative {@link IPath} of the new {@link Resource}.
- * @param contentTypeId
- * The contenType ID of the contained model.
- * @param modelRoot
- * The root element of the model to include in the new {@link Resource}.
- * @param async
- * Boolean parameter to determine if the execution must be synchronous or asynchronous.
- * @param monitor
- * The {@link IProgressMonitor}.
- */
- public static void addNewModelResource(TransactionalEditingDomain editingDomain, IPath path, final String contentTypeId, EObject modelRoot,
- boolean async, IProgressMonitor monitor) {
- addNewModelResources(editingDomain, Collections.singletonList(new ModelResourceDescriptor(modelRoot, path, contentTypeId)), async, monitor);
- }
-
- /**
- * * Add a new {@link Resource resource}s described by modelResourceDescriptors to the provided
- * {@link TransactionalEditingDomain editingDomain} .
- *
- * @param editingDomain
- * The {@link TransactionalEditingDomain} where to add new resource.
- * @param modelResourceDescriptors
- * The list of {@link ModelResourceDescriptor} describing new resources to add.
- * @param async
- * Boolean parameter to determine if the execution must be synchronous or asynchronous.
- * @param monitor
- * The {@link IProgressMonitor}.
- */
- public static void addNewModelResources(final TransactionalEditingDomain editingDomain,
- final Collection<ModelResourceDescriptor> modelResourceDescriptors, boolean async, final IProgressMonitor monitor) {
- if (modelResourceDescriptors != null && editingDomain != null && modelResourceDescriptors.size() > 0) {
- ISchedulingRule rule = createSaveNewSchedulingRule(modelResourceDescriptors);
- if (async) {
- Job job = new Job(modelResourceDescriptors.size() == 1 ? Messages.job_addingNewModelResource : Messages.job_addingNewModelResources) {
- @Override
- public IStatus run(IProgressMonitor monitor) {
- try {
- runAddNewModelResources(editingDomain, modelResourceDescriptors, monitor);
- return Status.OK_STATUS;
- } catch (CoreException ex) {
- return ex.getStatus();
- }
- }
- };
- job.setRule(rule);
- job.setPriority(Job.BUILD);
- job.schedule();
- } else {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor monitor) throws CoreException {
- runAddNewModelResources(editingDomain, modelResourceDescriptors, monitor);
- }
- };
- try {
- ResourcesPlugin.getWorkspace().run(runnable, rule, 0, monitor);
- } catch (CoreException ex) {
- PlatformLogUtil.logAsError(Activator.getDefault(), ex);
- }
- }
- }
-
- }
-
- private static void runAddNewModelResources(final TransactionalEditingDomain editingDomain,
- final Collection<ModelResourceDescriptor> modelResourceDescriptors, IProgressMonitor monitor) throws CoreException {
- Assert.isNotNull(editingDomain);
- Assert.isNotNull(modelResourceDescriptors);
- SubMonitor progress = SubMonitor.convert(monitor, modelResourceDescriptors.size() == 1 ? Messages.task_addingNewModelResource
- : Messages.task_addingNewModelResources, 1);
-
- Map<String, Object> transactionOptions = WorkspaceTransactionUtil.getDefaultSaveNewTransactionOptions();
- String label = modelResourceDescriptors.size() == 1 ? Messages.operation_addingNewModelResource : Messages.operation_addingNewModelResources;
- final IUndoableOperation operation = new AbstractEMFOperation(editingDomain, label, transactionOptions) {
- @Override
- protected IStatus doExecute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor monitor) throws CoreException {
- SubMonitor progress = SubMonitor.convert(monitor, modelResourceDescriptors.size());
- for (ModelResourceDescriptor descriptor : modelResourceDescriptors) {
- progress.subTask(NLS.bind(Messages.subtask_addingResource, descriptor.getPath().toString()));
-
- // Convert path to URI
- URI uri = URI.createPlatformResourceURI(descriptor.getPath().toString(), true);
-
- // add new resource
- EcoreResourceUtil.addNewModelResource(editingDomain.getResourceSet(), uri, descriptor.getContentTypeId(),
- descriptor.getModelRoot());
-
- progress.worked(1);
- }
- }
- };
-
- try {
- // Execute save operation as IWorkspaceRunnable on workspace in order to avoid resource change
- // notifications during transaction execution
- /*
- * !! Important Note !! Only set IWorkspace.AVOID_UPDATE flag but don't define any scheduling
- * restrictions for the save operation right here (this must only be done on outer workspace jobs or
- * workspace runnables from which this method is called). Otherwise it would be likely to end up in
- * deadlocks with operations which already have acquired exclusive access to the workspace but are
- * waiting for exclusive access to the model (i.e. for the transaction).
- */
- ResourcesPlugin.getWorkspace().run(runnable, null, IWorkspace.AVOID_UPDATE, monitor);
- return Status.OK_STATUS;
- } catch (CoreException ex) {
- return ex.getStatus();
- }
-
- }
-
- @Override
- public boolean canUndo() {
- // Avoid the save operation to appear in the undo menu
- return false;
- }
- };
- IOperationHistory history = WorkspaceTransactionUtil.getOperationHistory(editingDomain);
- try {
- history.execute(operation, progress.newChild(1), null);
- } catch (ExecutionException ex) {
- IStatus status = StatusUtil.createErrorStatus(Activator.getPlugin(), ex);
- throw new CoreException(status);
- }
- }
-
- public static void saveNewModelResource(TransactionalEditingDomain editingDomain, IPath path, final String contentTypeId, EObject modelRoot,
- boolean async, IProgressMonitor monitor) {
- saveNewModelResources(editingDomain, Collections.singletonList(new ModelResourceDescriptor(modelRoot, path, contentTypeId)),
- EcoreResourceUtil.getDefaultSaveOptions(), async, monitor);
- }
-
- public static void saveNewModelResources(TransactionalEditingDomain editingDomain, Collection<ModelResourceDescriptor> modelResourceDescriptors,
- boolean async, IProgressMonitor monitor) {
- saveNewModelResources(editingDomain, modelResourceDescriptors, EcoreResourceUtil.getDefaultSaveOptions(), async, monitor);
- }
-
- public static void saveNewModelResource(TransactionalEditingDomain editingDomain, IPath path, final String contentTypeId, EObject modelRoot,
- Map<?, ?> options, boolean async, IProgressMonitor monitor) {
- saveNewModelResources(editingDomain, Collections.singletonList(new ModelResourceDescriptor(modelRoot, path, contentTypeId)), options, async,
- monitor);
- }
-
- public static void saveNewModelResources(final TransactionalEditingDomain editingDomain,
- final Collection<ModelResourceDescriptor> modelResourceDescriptors, final Map<?, ?> options, boolean async, IProgressMonitor monitor) {
-
- if (modelResourceDescriptors != null && editingDomain != null && modelResourceDescriptors.size() > 0) {
- ISchedulingRule rule = createSaveNewSchedulingRule(modelResourceDescriptors);
- if (async) {
- Job job = new Job(modelResourceDescriptors.size() == 1 ? Messages.job_savingNewModelResource : Messages.job_savingNewModelResources) {
- @Override
- public IStatus run(IProgressMonitor monitor) {
- try {
- runSaveNewModelResources(editingDomain, modelResourceDescriptors, options, monitor);
- return Status.OK_STATUS;
- } catch (CoreException ex) {
- return ex.getStatus();
- }
- }
- };
- job.setRule(rule);
- job.setPriority(Job.BUILD);
- job.schedule();
- } else {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor monitor) throws CoreException {
- runSaveNewModelResources(editingDomain, modelResourceDescriptors, options, monitor);
- }
- };
- try {
- ResourcesPlugin.getWorkspace().run(runnable, rule, 0, monitor);
- } catch (CoreException ex) {
- PlatformLogUtil.logAsError(Activator.getDefault(), ex);
- }
- }
- }
- }
-
- /**
- * @param editingDomain
- * The {@link TransactionalEditingDomain editing domain} onto which a write-transaction must be created
- * in order to safely perform the saving; must not be <code>null</code>.
- * @param path
- * The {@link IPath path} of the new file to save; must not be <code>null</code>.
- * @param contentType
- * @param modelRoot
- * @param options
- * @param monitor
- */
- private static void runSaveNewModelResources(final TransactionalEditingDomain editingDomain,
- final Collection<ModelResourceDescriptor> modelResourceDescriptors, final Map<?, ?> options, IProgressMonitor monitor)
- throws CoreException {
- Assert.isNotNull(editingDomain);
- Assert.isNotNull(modelResourceDescriptors);
- SubMonitor progress = SubMonitor.convert(monitor, modelResourceDescriptors.size() == 1 ? Messages.task_savingNewModelResource
- : Messages.task_savingNewModelResources, 1);
-
- Map<String, Object> transactionOptions = WorkspaceTransactionUtil.getDefaultSaveNewTransactionOptions();
- String label = modelResourceDescriptors.size() == 1 ? Messages.operation_savingNewModelResource : Messages.operation_savingNewModelResources;
- final IUndoableOperation operation = new AbstractEMFOperation(editingDomain, label, transactionOptions) {
- @Override
- protected IStatus doExecute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor monitor) throws CoreException {
- SubMonitor progress = SubMonitor.convert(monitor, modelResourceDescriptors.size());
- for (ModelResourceDescriptor descriptor : modelResourceDescriptors) {
- progress.subTask(NLS.bind(Messages.subtask_savingResource, descriptor.getPath().toString()));
-
- // Convert path to URI
- URI uri = URI.createPlatformResourceURI(descriptor.getPath().toString(), true);
-
- try {
- // Save new resource
- /*
- * !! Important Note !! Resource must be saved before marking it as freshly saved
- * because otherwise the resource would loose its dirty state and consequently not be
- * saved at all.
- */
- EcoreResourceUtil.saveNewModelResource(editingDomain.getResourceSet(), uri, descriptor.getContentTypeId(),
- descriptor.getModelRoot(), options);
-
- // Mark resource as freshly saved in order to avoid that it gets automatically reloaded
- SaveIndicatorUtil.setSaved(editingDomain, descriptor.getModelRoot().eResource());
- } catch (Exception ex) {
- // Log exception in Error Log
- /*
- * !! Important Note !! The exception has already been recorded as error on the resource
- * and is principally subject to being converted to a problem marker later on (see
- * org.eclipse.sphinx.emf.util.EcoreResourceUtil.saveModelResource(Resource, Map<?,?>)
- * and org.eclipse.sphinx.emf.internal.resource.ResourceProblemHandler for details).
- * However, this is a new resource which had never saved before and does not yet exist
- * in the file system. As a consequence, there is no target to which the problem marker
- * could be attached and the problem behind this exception would remain unperceiveable
- * if we wouldn't log anything at this point.
- */
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
-
- progress.worked(1);
- }
- }
- };
-
- try {
- // Execute save operation as IWorkspaceRunnable on workspace in order to avoid resource change
- // notifications during transaction execution
- /*
- * !! Important Note !! Only set IWorkspace.AVOID_UPDATE flag but don't define any scheduling
- * restrictions for the save operation right here (this must only be done on outer workspace jobs or
- * workspace runnables from which this method is called). Otherwise it would be likely to end up in
- * deadlocks with operations which already have acquired exclusive access to the workspace but are
- * waiting for exclusive access to the model (i.e. for the transaction).
- */
- ResourcesPlugin.getWorkspace().run(runnable, null, IWorkspace.AVOID_UPDATE, monitor);
- return Status.OK_STATUS;
- } catch (CoreException ex) {
- return ex.getStatus();
- }
- }
-
- @Override
- public boolean canUndo() {
- // Avoid the save operation to appear in the undo menu
- return false;
- }
- };
- IOperationHistory history = WorkspaceTransactionUtil.getOperationHistory(editingDomain);
- try {
- history.execute(operation, progress.newChild(1), null);
- } catch (ExecutionException ex) {
- IStatus status = StatusUtil.createErrorStatus(Activator.getPlugin(), ex);
- throw new CoreException(status);
- }
- }
-
- /**
- * Saves all modified resources of the model behind the specified object (<em>i.e.</em> all resources in the context
- * of the given object).
- *
- * @param contextResource
- * The object resource identifying the model to save.
- * @param async
- * If <code>true</code>, model will be saved within a workspace job.
- * @param monitor
- * The progress monitor to use for showing save process progress.
- */
- public static void saveModel(Object contextObject, boolean async, IProgressMonitor monitor) {
- saveModel(contextObject, EcoreResourceUtil.getDefaultSaveOptions(), async, monitor);
- }
-
- /**
- * Saves all modified, writable models from a given context object.
- *
- * @param contextObject
- * The object context identifying the models to save.
- * @param options
- * The save options.
- * @param async
- * When passing <code>true</code> the model will be saved within a workspace job.
- * @param monitor
- * The progress monitor to use for showing save process progress.
- */
- // TODO Make sure that this method can also be used for contextObjects in resources which are located outside the
- // Eclipse workspace (only ISchedulingRule creation and IWorkspaceRunnable usages need to be adapted)
- public static void saveModel(Object contextObject, final Map<?, ?> options, boolean async, IProgressMonitor monitor) {
- if (contextObject instanceof IProject) {
- saveProject((IProject) contextObject, options, async, monitor);
- return;
- }
-
- SubMonitor progress = SubMonitor.convert(monitor, 100);
- Collection<Resource> resourcesInModel = new ArrayList<Resource>(getResourcesInModel(contextObject, true));
- final Map<TransactionalEditingDomain, Collection<Resource>> resourcesToSave = detectResourcesToSave(resourcesInModel,
- progress.newChild(async ? 100 : 5));
- if (resourcesToSave.size() > 0) {
- ISchedulingRule rule = createSaveSchedulingRule(resourcesToSave);
- if (async) {
- Job job = new Job(Messages.job_savingModel) {
- @Override
- public IStatus run(IProgressMonitor monitor) {
- try {
- runSaveModelResources(resourcesToSave, options, monitor);
- return Status.OK_STATUS;
- } catch (CoreException ex) {
- return ex.getStatus();
- }
- }
- };
-
- job.setRule(rule);
- job.setPriority(Job.BUILD);
- job.schedule();
- } else {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor monitor) throws CoreException {
- runSaveModelResources(resourcesToSave, options, monitor);
- }
- };
- try {
- ResourcesPlugin.getWorkspace().run(runnable, rule, 0, progress.newChild(95));
- } catch (CoreException ex) {
- PlatformLogUtil.logAsError(Activator.getDefault(), ex);
- }
- }
- }
- }
-
- /**
- * Saves all modified {@link Resource resource}s of all models behind the specified {@link IProject project}
- * including all referenced projects ( <em>i.e.</em> all resources in the context of the given project).
- *
- * @param project
- * The {@link IProject project} identifying the models to save.
- * @param async
- * If <code>true</code>, models will be saved within a workspace job.
- * @param monitor
- * The progress monitor to use for showing save process progress.
- */
- public static void saveProject(IProject project, boolean async, IProgressMonitor monitor) {
- saveProject(project, EcoreResourceUtil.getDefaultSaveOptions(), async, monitor);
- }
-
- /**
- * Saves all modified {@link Resource}s of all models behind the specified project including all referenced
- * {@link IProject}s ( <em>i.e.</em> all resources in the context of the given project).
- *
- * @param project
- * The {@link IProject project} identifying the models to save.
- * @param options
- * The save options.
- * @param async
- * If <code>true</code>, models will be saved within a workspace job.
- * @param monitor
- * The progress monitor to use for showing save process progress.
- */
- public static void saveProject(IProject project, final Map<?, ?> options, boolean async, IProgressMonitor monitor) {
- SubMonitor progress = SubMonitor.convert(monitor, 100);
- Collection<Resource> resourcesInProject = new ArrayList<Resource>(getResourcesInScopes(project, true));
- final Map<TransactionalEditingDomain, Collection<Resource>> resourcesToSave = detectResourcesToSave(resourcesInProject,
- progress.newChild(async ? 100 : 5));
- if (resourcesToSave.size() > 0) {
- ISchedulingRule rule = createSaveSchedulingRule(resourcesToSave);
- if (async) {
- Job job = new Job(resourcesToSave.size() == 1 ? Messages.job_savingModel : Messages.job_savingModels) {
- @Override
- public IStatus run(IProgressMonitor monitor) {
- try {
- runSaveModelResources(resourcesToSave, options, monitor);
- return Status.OK_STATUS;
- } catch (CoreException ex) {
- return ex.getStatus();
- }
- }
- };
- job.setRule(rule);
- job.setPriority(Job.BUILD);
- job.schedule();
- } else {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor monitor) throws CoreException {
- runSaveModelResources(resourcesToSave, options, monitor);
- }
- };
- try {
- ResourcesPlugin.getWorkspace().run(runnable, rule, 0, progress.newChild(95));
- } catch (CoreException ex) {
- PlatformLogUtil.logAsError(Activator.getDefault(), ex);
- }
- }
- }
- }
-
- private static Map<TransactionalEditingDomain, Collection<Resource>> detectResourcesToSave(Collection<Resource> resources,
- IProgressMonitor monitor) {
- SubMonitor progress = SubMonitor.convert(monitor, resources.size());
-
- Map<TransactionalEditingDomain, Collection<Resource>> resourcesToSave = new HashMap<TransactionalEditingDomain, Collection<Resource>>();
- for (Resource resource : resources) {
- TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(resource);
- if (editingDomain != null) {
- if (isResourceToSave(editingDomain, resource)) {
- Collection<Resource> resourcesToSaveInEditingDomain = resourcesToSave.get(editingDomain);
- if (resourcesToSaveInEditingDomain == null) {
- resourcesToSaveInEditingDomain = new HashSet<Resource>();
- resourcesToSave.put(editingDomain, resourcesToSaveInEditingDomain);
- }
- resourcesToSaveInEditingDomain.add(resource);
- }
- }
- progress.worked(1);
- }
- return resourcesToSave;
- }
-
- private static boolean isResourceToSave(TransactionalEditingDomain editingDomain, Resource contextResource) {
- Assert.isNotNull(editingDomain);
- return !editingDomain.isReadOnly(contextResource) && SaveIndicatorUtil.isDirty(editingDomain, contextResource);
- }
-
- /**
- * Saves model {@link Resource resource}s.
- *
- * @param resourcesToSave
- * The {@link TransactionalEditingDomain editing domain}s with the corresponding resources to save; must
- * not be <code>null</code>.
- * @param options
- * The save options.
- * @param monitor
- * The progress monitor to use (can be <code>null</code>).
- */
- private static void runSaveModelResources(final Map<TransactionalEditingDomain, Collection<Resource>> resourcesToSave, final Map<?, ?> options,
- IProgressMonitor monitor) throws CoreException {
- Assert.isNotNull(resourcesToSave);
- final SubMonitor progress = SubMonitor.convert(monitor, resourcesToSave.size());
-
- for (final TransactionalEditingDomain editingDomain : resourcesToSave.keySet()) {
- progress.setTaskName(resourcesToSave.get(editingDomain).size() == 1 ? Messages.task_savingModelResource
- : Messages.task_savingModelResources);
-
- /*
- * !! Important Note !! The saving of model resources as such does not imply any modifications of the
- * resource set and therefore could be done in a read transaction. However, it is possible that the
- * resources to be saved have a org.eclipse.emf.ecore.xmi.ResoureHandler registered upon them and that the
- * ResourceHandler#preSave() method performs some resource set modifying operations. In order to avoid
- * IllegalStateExceptions telling that the resource set cannot be modified without a write transaction in
- * such cases the whole save operation must be executed in a write transaction.
- */
- Map<String, Object> transactionOptions = WorkspaceTransactionUtil.getDefaultSaveTransactionOptions();
- String label = resourcesToSave.get(editingDomain).size() == 1 ? Messages.operation_savingModelResource
- : Messages.operation_savingModelResources;
- final IUndoableOperation operation = new AbstractEMFOperation(editingDomain, label, transactionOptions) {
- @Override
- protected IStatus doExecute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
- public void run(IProgressMonitor monitor) throws CoreException {
- SubMonitor progress = SubMonitor.convert(monitor, resourcesToSave.get(editingDomain).size());
- for (Resource resource : resourcesToSave.get(editingDomain)) {
- progress.subTask(NLS.bind(Messages.subtask_savingResource, resource.getURI().toString()));
-
- try {
- // Save resource
- /*
- * !! Important Note !! Resource must be saved before marking it as freshly saved
- * because otherwise the resource would loose its dirty state and consequently not
- * be saved at all.
- */
- EcoreResourceUtil.saveModelResource(resource, options);
-
- // Mark resource as freshly saved in order to avoid that it gets automatically
- // reloaded
- SaveIndicatorUtil.setSaved(editingDomain, resource);
- } catch (Exception ex) {
- // Ignore exception, it has already been recorded as error on resource and will be
- // converted to a problem marker later on (see
- // org.eclipse.sphinx.emf.util.EcoreResourceUtil.saveModelResource(Resource,
- // Map<?,?>) and org.eclipse.sphinx.emf.internal.resource.ResourceProblemHandler for
- // details)
- }
-
- progress.worked(1);
- }
-
- // Refresh command stack state of associated editing domain
- ((BasicCommandStack) editingDomain.getCommandStack()).saveIsDone();
- }
- };
-
- try {
- // Execute save operation as IWorkspaceRunnable on workspace in order to avoid resource
- // change notifications during transaction execution
- /*
- * !! Important Note !! Only set IWorkspace.AVOID_UPDATE flag but don't define any scheduling
- * restrictions for the save operation right here (this must only be done on outer workspace
- * jobs or workspace runnables from which this method is called). Otherwise it would be likely
- * to end up in deadlocks with operations which already have acquired exclusive access to the
- * workspace but are waiting for exclusive access to the model (i.e. for the transaction).
- */
- ResourcesPlugin.getWorkspace().run(runnable, null, IWorkspace.AVOID_UPDATE, progress.newChild(1));
- return Status.OK_STATUS;
- } catch (CoreException ex) {
- return ex.getStatus();
- }
- }
-
- @Override
- public boolean canUndo() {
- // Avoid that save operation appears in the undo menu
- return false;
- }
- };
-
- IOperationHistory history = WorkspaceTransactionUtil.getOperationHistory(editingDomain);
- try {
- history.execute(operation, progress.newChild(1), null);
- } catch (ExecutionException ex) {
- IStatus status = StatusUtil.createErrorStatus(Activator.getPlugin(), ex);
- throw new CoreException(status);
- }
- }
- }
-
- /**
- * Unloads the model contained in given {@link IFile file}.
- *
- * @param file
- * The {@link IFile file} containing the model.
- * @see #unloadFile(TransactionalEditingDomain, IFile)
- */
- public static void unloadFile(IFile file) {
- /*
- * !! Important Note !! For the sake of robustness, it is necessary to consider all editing domains but not only
- * the one which would be returned by WorkspaceEditingDomainUtil#getCurrentEditingDomain(IFile). Although not
- * really intended by Sphinx workspace management it might anyway happen that the same file gets loaded into
- * multiple editing domains. Typical reasons for this are e.g. lazy loading of one file from multiple other
- * files which are in different editing domains or programatic action by some application. We then have to make
- * sure that the given file gets unloaded from all editing domains it is in.
- */
- Collection<TransactionalEditingDomain> editingDomains = WorkspaceEditingDomainUtil.getAllEditingDomains();
- for (TransactionalEditingDomain editingDomain : editingDomains) {
- if (EcorePlatformUtil.isFileLoaded(editingDomain, file)) {
- unloadFile(editingDomain, file);
- }
- }
- }
-
- /**
- * Unloads the model contained in given {@linkplain IFile file} from given {@linkplain TransactionalEditingDomain
- * editing domain}.
- *
- * @param file
- * The {@linkplain IFile file} containing the model.
- * @param editingDomain
- * The {@linkplain TransactionalEditingDomain editing domain} the <code>file</code> belongs to.
- */
- public static void unloadFile(final TransactionalEditingDomain editingDomain, final IFile file) {
- if (editingDomain != null && file != null) {
- try {
- editingDomain.runExclusive(new Runnable() {
- public void run() {
- try {
- URI uri = createURI(file.getFullPath());
- EcoreResourceUtil.unloadResource(editingDomain.getResourceSet(), uri);
- } catch (RuntimeException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- }
-
- /**
- * Unloads the models contained in given {@linkplain IFile file}s from given {@linkplain TransactionalEditingDomain
- * editing domain} inside a read-only transaction.
- *
- * @param files
- * The {@link IFile file}s containing the models.
- * @param editingDomain
- * The {@link TransactionalEditingDomain editing domain} the {@link IFile file}s belong to.
- * @since 0.7.0
- */
- public static void unloadFiles(final TransactionalEditingDomain editingDomain, final Collection<IFile> files, final boolean memoryOptimized,
- IProgressMonitor monitor) throws OperationCanceledException {
- if (editingDomain != null && files != null && files.size() > 0) {
- final SubMonitor progress = SubMonitor.convert(monitor, Messages.task_unloadingModelFiles, files.size());
- if (progress.isCanceled()) {
- throw new OperationCanceledException();
- }
-
- try {
- editingDomain.runExclusive(new Runnable() {
- public void run() {
- for (IFile file : files) {
- progress.subTask(NLS.bind(Messages.subtask_unloadingModelFile, file.getFullPath().toString()));
-
- try {
- URI uri = createURI(file.getFullPath());
- EcoreResourceUtil.unloadResource(editingDomain.getResourceSet(), uri, memoryOptimized);
- } catch (RuntimeException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
-
- progress.worked(1);
- if (progress.isCanceled()) {
- throw new OperationCanceledException();
- }
- editingDomain.yield();
- }
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- }
-
- /**
- * Unloads the specified {@linkplain Resource resource}s from given {@linkplain TransactionalEditingDomain editing
- * domain} inside a read-only transaction.
- *
- * @param memoryOptimized
- * @param resources
- * The resources to unload.
- * @param editingDomain
- * The editing domain owning {@link Resource resource}s.
- * @since 0.7.0
- */
- public static void unloadResources(final TransactionalEditingDomain editingDomain, final Collection<Resource> resources,
- final boolean memoryOptimized, IProgressMonitor monitor) throws OperationCanceledException {
- if (editingDomain != null && resources != null && resources.size() > 0) {
- final SubMonitor progress = SubMonitor.convert(monitor, Messages.task_unloadingModelResources, resources.size());
- if (progress.isCanceled()) {
- throw new OperationCanceledException();
- }
-
- try {
- editingDomain.runExclusive(new Runnable() {
- public void run() {
- List<Resource> safeResources = new ArrayList<Resource>(resources);
- for (Resource resource : safeResources) {
- progress.subTask(NLS.bind(Messages.subtask_unloadingModelResource, resource.getURI().toString()));
-
- try {
- if (editingDomain.getResourceSet().getResources().contains(resource)) {
- EcoreResourceUtil.unloadResource(resource, memoryOptimized);
- }
- } catch (RuntimeException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
-
- progress.worked(1);
- if (progress.isCanceled()) {
- throw new OperationCanceledException();
- }
- editingDomain.yield();
- }
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- }
-
- /**
- * Unloads all {@linkplain Resource resource}s from given {@linkplain TransactionalEditingDomain editing domain}
- * inside a read-only transaction.
- *
- * @param editingDomain
- * The editing domain owning {@link Resource resource}s.
- */
- public static void unloadAllResources(final TransactionalEditingDomain editingDomain, IProgressMonitor monitor) throws OperationCanceledException {
- if (editingDomain != null) {
- final SubMonitor progress = SubMonitor.convert(monitor, Messages.task_unloadingModelResources, editingDomain.getResourceSet()
- .getResources().size());
- if (progress.isCanceled()) {
- throw new OperationCanceledException();
- }
-
- try {
- editingDomain.runExclusive(new Runnable() {
- public void run() {
- List<Resource> safeResources = new ArrayList<Resource>(editingDomain.getResourceSet().getResources());
- for (Resource resource : safeResources) {
- progress.subTask(NLS.bind(Messages.subtask_unloadingModelResource, resource.getURI().toString()));
-
- try {
- EcoreResourceUtil.unloadResource(resource, true);
- } catch (RuntimeException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
-
- progress.worked(1);
- if (progress.isCanceled()) {
- throw new OperationCanceledException();
- }
- editingDomain.yield();
- }
- }
- });
- } catch (InterruptedException ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- }
-
- /**
- * Parses given {@link IFile file} and validates it against XSD schema with specified {@link URL url}. Raises an
- * exception if the {@link IFile file}'s content is not compliant with respect to XSD schema.
- *
- * @param file
- * The {@link IFile file} to be validated.
- * @param schemaURL
- * The {@link URL url} of the XSD schema to be used for validation.
- * @throws SAXException
- * @throws IOException
- */
- public static void validate(IFile file, URL schemaURL) throws SAXException, IOException {
- Assert.isNotNull(file);
-
- URI uri = createURI(file.getFullPath());
- EcoreResourceUtil.validate(uri, schemaURL);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcoreResourceUtil.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcoreResourceUtil.java
deleted file mode 100644
index fb8358afe32..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/EcoreResourceUtil.java
+++ /dev/null
@@ -1,1148 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2008-2011 See4sys, BMW Car IT, itemis and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * See4sys - Initial API and implementation
- * BMW Car IT - Added/Updated javadoc
- * itemis - [346715] IMetaModelDescriptor methods of MetaModelDescriptorRegistry taking EObject or Resource arguments should not start new EMF transactions
- * itemis - [357962] Make sure that problems occurring when saving model elements in a new resource are not recorded as errors/warnings on resource
- * </copyright>
- */
-package org.eclipse.papyrus.emf.compare.transactional.editor.sphinx;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.XMLConstants;
-import javax.xml.transform.Source;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-import javax.xml.validation.Validator;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.CommonPlugin;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.util.BasicEList;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.common.util.WrappedException;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.ContentHandler;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.Resource.Diagnostic;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.URIConverter;
-import org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.xmi.XMIException;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.provider.IWrapperItemProvider;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.sphinx.emf.Activator;
-import org.eclipse.sphinx.emf.edit.TransientItemProvider;
-import org.eclipse.sphinx.emf.internal.messages.Messages;
-import org.eclipse.sphinx.emf.resource.ExtendedResource;
-import org.eclipse.sphinx.emf.resource.ExtendedResourceAdapterFactory;
-import org.eclipse.sphinx.emf.resource.ScopingResourceSetImpl;
-import org.eclipse.sphinx.platform.util.ExtendedPlatform;
-import org.eclipse.sphinx.platform.util.PlatformLogUtil;
-import org.eclipse.sphinx.platform.util.XMLRootElementHandler;
-import org.xml.sax.SAXException;
-
-/**
- * Utility class for resource management.
- */
-public final class EcoreResourceUtil {
-
- // Prevent from instantiation
- private EcoreResourceUtil() {
- }
-
- /**
- * Returns an instance of {@link ExtensibleURIConverterImpl} where the URI mappings are initialized in such a way
- * that normalization of non-platform:/resource {@link URI}s which reference resources inside the workspace yields
- * the corresponding platform:/resource {@link URI}s.
- *
- * @return An instance of {@link ExtensibleURIConverterImpl} containing URI mappings for normalizing
- * non-platform:/resource {@link URI}s referencing workspace resources to corresponding platform:/resource
- * {@link URI}s.
- */
- public static URIConverter getURIConverter() {
- return getURIConverter(null);
- }
-
- /**
- * Returns the {@link URIConverter URI converter} of given {@link ResourceSet resource set}. If no
- * {@link ResourceSet resource set} is provided an instance of {@link ExtensibleURIConverterImpl} is returned
- * instead. In both cases, the {@link URIConverter URI converter}'s URI mappings are initialized in such a way that
- * normalization of non-platform:/resource {@link URI}s which reference resources inside the workspace yields the
- * corresponding platform:/resource {@link URI}s.
- *
- * @param resourceSet
- * The {@link ResourceSet resource set} whose {@link URIConverter URI converter} is to be retrieved.
- * @return The {@link URIConverter URI converter} of given {@link ResourceSet resource set}, or an instance of
- * {@link ExtensibleURIConverterImpl} if no such is provided, containing URI mappings for normalizing
- * non-platform:/resource {@link URI}s referencing workspace resources to corresponding platform:/resource
- * {@link URI}s.
- */
- public static URIConverter getURIConverter(ResourceSet resourceSet) {
- // Retrieve or create URI converter
- URIConverter uriConverter;
- if (resourceSet != null) {
- uriConverter = resourceSet.getURIConverter();
- } else {
- uriConverter = new ExtensibleURIConverterImpl();
- }
- if (Platform.isRunning()) {
- // Initialize URI mappings
- IPath workspaceRootPath = ResourcesPlugin.getWorkspace().getRoot().getFullPath().addTrailingSeparator();
- URI workspaceRootURI = URI.createPlatformResourceURI(workspaceRootPath.toString(), true);
-
- IPath workspaceRootLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation().addTrailingSeparator();
- URI workspaceRootLocationURI = URI.createURI(workspaceRootLocation.toString(), true);
- URI workspaceRootLocationFileURI = URI.createFileURI(workspaceRootLocation.toString());
-
- uriConverter.getURIMap().put(workspaceRootLocationURI, workspaceRootURI);
- uriConverter.getURIMap().put(workspaceRootLocationFileURI, workspaceRootURI);
- }
- return uriConverter;
- }
-
- /**
- * Converts given {@link URI} into an absolute file {@link URI}.
- *
- * @param uri
- * The {@link URI} to be converted.
- * @return Absolute file {@link URI} for the given {@link URI} or given {@link URI} if no conversion is possible.
- */
- public static URI convertToAbsoluteFileURI(URI uri) {
- Assert.isNotNull(uri);
-
- // FIXME File bug to EMF: CommonPlugin.asLocalURI() is unable to convert URIs that start with a driver letter
- // (IOException raised and caught internally)
- if (!uri.isRelative() && uri.scheme().matches("[A-Z]")) { //$NON-NLS-1$
- uri = URI.createFileURI(uri.toString());
- }
-
- // Try to convert given URI to absolute file URI right away
- URI convertedURI = CommonPlugin.asLocalURI(uri);
-
- // Resulting URI still relative?
- if (convertedURI.isRelative()) {
- // Normalize given URI and try to convert it again
- uri = getURIConverter().normalize(uri);
- convertedURI = CommonPlugin.asLocalURI(uri);
- }
-
- return convertedURI;
- }
-
- /**
- * Converts given URI into a platform resource URI.
- *
- * @param uri
- * The {@link URI} to be converted.
- * @return platform resource URI for the given URI or given URI if it references a location outside the workspace or
- * platform is not available.
- */
- public static URI convertToPlatformResourceURI(URI uri) {
- Assert.isNotNull(uri);
-
- // Already a platform resource URI?
- if (uri.isPlatformResource()) {
- return uri;
- } else {
- // Try to convert given URI to platform resource URI
- return getURIConverter().normalize(uri);
- }
- }
-
- /**
- * Proves if resource specified by an URI exists.
- *
- * @param uri
- * The URI to prove Returns <b>true</b> only if the URI represents a file and if this file exists.
- */
- public static boolean exists(URI uri) {
- if (uri != null) {
- return getURIConverter().exists(uri, null);
- }
- return false;
- }
-
- /**
- * Returns the id of the content type of the file behind given {@link URI}.
- *
- * @param uri
- * The {@link URI} whose content type id is to be established.
- * @return The id of the content type of the file behind given {@link URI}, or <code>null</code> if given
- * {@link URI} references a resource which is no file (e.g., a folder or project), or a file that does not
- * exist or has no content type.
- */
- public static String getContentTypeId(URI uri) {
- if (uri != null) {
- try {
- Map<String, ?> contentDescription = getURIConverter().contentDescription(uri, null);
- return (String) contentDescription.get(ContentHandler.CONTENT_TYPE_PROPERTY);
- } catch (Exception ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
- return null;
- }
-
- /**
- * Determines if {@link Resource resource} behind specified {@link URI} is read-only. Returns <code>false</code> if
- * this resource does not exist.
- *
- * @param uri
- * The {@link URI} identifying the {@link Resource resource} to be investigated.
- * @return <code>true</code> if {@link Resource resource} behind specified {@link URI} is read-only, and
- * <code>false</code> otherwise.
- */
- public static boolean isReadOnly(URI uri) {
- if (uri != null) {
- Map<String, ?> attributes = getURIConverter().getAttributes(uri, null);
- Object readOnly = attributes.get(URIConverter.ATTRIBUTE_READ_ONLY);
- return readOnly instanceof Boolean && (Boolean) readOnly;
- }
- return false;
- }
-
- /**
- * Reads the model namespace (i.e. XML namespace) of given {@link Resource resource}. Returns a meaningful result
- * only if given {@link Resource resource} is an XML document.
- *
- * @param resource
- * The {@link Resource resource} to investigate.
- * @return The model namespace denoted in given {@link Resource resource} or <code>null</code> if the
- * {@link Resource resource} is either a non-XML file or an XML file which is not well-formed or has no
- * model namespace.
- */
- public static String readModelNamespace(Resource resource) {
- if (resource != null) {
- return readModelNamespace(EcoreResourceUtil.getURIConverter(resource.getResourceSet()), resource.getURI());
- }
- return null;
- }
-
- /**
- * Reads the model namespace (i.e. XML namespace) of resource behind given {@link URI}. Returns a meaningful result
- * only if the resource in question is an XML document.
- *
- * @param uriConverter
- * The {@link URIConverter uriConverter} used to create {@link InputStream inputstream} . May be
- * <code>null</code>.
- * @param uri
- * The {@link URI uri} of the resource to investigate.
- * @return The model namespace denoted in resource behind given {@link URI} or <code>null</code> if the resource in
- * question is either a non-XML file or an XML file which is not well-formed or has no model namespace.
- */
- public static String readModelNamespace(URIConverter uriConverter, URI uri) {
- String namespace = null;
- if (exists(uri)) {
- InputStream inputStream = null;
- try {
- uriConverter = uriConverter != null ? uriConverter : new ExtensibleURIConverterImpl();
- inputStream = uriConverter.createInputStream(uri);
- XMLRootElementHandler handler = new XMLRootElementHandler();
- handler.parseContents(inputStream);
- namespace = handler.getRootElementNamespace();
- } catch (SAXException ex) {
- // Ignore parse exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (IOException ex) {
- // Ignore I/O exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (Exception ex) {
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), ex);
- } finally {
- ExtendedPlatform.safeClose(inputStream);
- }
- }
- return namespace;
- }
-
- /**
- * Reads the target namespace of given {@link Resource resource}. Returns a meaningful result only if given
- * {@link Resource resource} is an XML document.
- *
- * @param resource
- * The {@link Resource resource} to investigate.
- * @return The target namespace denoted in given {@link Resource resource} or <code>null</code> if the
- * {@link Resource resource} is either a not an XML file or an XML file which is not well-formed or has no
- * target namespace.
- */
- public static String readTargetNamespace(Resource resource) {
- return readTargetNamespace(resource, (String[]) null);
- }
-
- public static String readTargetNamespace(Resource resource, String... targetNamespaceExcludePatterns) {
- if (resource != null) {
- return readTargetNamespace(getURIConverter(resource.getResourceSet()), resource.getURI(), targetNamespaceExcludePatterns);
- }
- return null;
- }
-
- /**
- * Reads the target namespace of the resource behind given {@link URI}. Returns a meaningful result only if the
- * resource in question is an XML document.
- *
- * @param uriConverter
- * The {@link URIConverter uriConverter} used to create {@link InputStream input stream} . May be
- * <code>null</code>.
- * @param uri
- * The {@link URI uri} of the resource to investigate.
- * @return The target namespace denoted in resource behind given {@link URI} or <code>null</code> if the resource in
- * question is either a not an XML file or an XML file which is not well-formed or has no target namespace.
- */
- public static String readTargetNamespace(URIConverter uriConverter, URI uri) {
- return readTargetNamespace(uriConverter, uri, (String[]) null);
- }
-
- public static String readTargetNamespace(URIConverter uriConverter, URI uri, String... targetNamespaceExcludePatterns) {
- String targetNamespace = null;
- if (exists(uri)) {
- InputStream inputStream = null;
- try {
- uriConverter = uriConverter != null ? uriConverter : new ExtensibleURIConverterImpl();
- inputStream = uriConverter.createInputStream(uri);
- XMLRootElementHandler handler = new XMLRootElementHandler();
- if (targetNamespaceExcludePatterns != null) {
- handler.seTargetNamespaceExcludePatterns(targetNamespaceExcludePatterns);
- }
- handler.parseContents(inputStream);
- targetNamespace = handler.getTargetNamespace();
- } catch (SAXException ex) {
- // Ignore parse exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (IOException ex) {
- // Ignore I/O exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (Exception ex) {
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), ex);
- } finally {
- ExtendedPlatform.safeClose(inputStream);
- }
- }
- return targetNamespace;
- }
-
- /**
- * Retrieves the XML comments located above the root element in given {@link Resource resource}. Returns a
- * meaningful result only if given {@link Resource resource} is an XML document.
- *
- * @param resource
- * The {@link Resource resource} to investigate.
- * @return Collection of strings representing the retrieved XML comments or empty collection if no such could be
- * found.
- */
- public static Collection<String> readRootElementComments(Resource resource) {
- if (resource != null) {
- return readRootElementComments(getURIConverter(resource.getResourceSet()), resource.getURI());
- }
- return Collections.emptyList();
- }
-
- /**
- * Retrieves the XML comments located above the root element in resource behind given {@link URI}. Returns a
- * meaningful result only if the resource in question is an XML document.
- *
- * @param uriConverter
- * The {@link URIConverter uriConverter} used to create {@link InputStream input stream} . May be
- * <code>null</code>.
- * @param uri
- * The {@link URI uri} of the resource to investigate.
- * @return Collection of strings representing the retrieved XML comments or empty collection if no such could be
- * found.
- */
- public static Collection<String> readRootElementComments(URIConverter uriConverter, URI uri) {
- Collection<String> comments = new ArrayList<String>();
-
- if (exists(uri)) {
- InputStream inputStream = null;
- try {
- uriConverter = uriConverter != null ? uriConverter : new ExtensibleURIConverterImpl();
- inputStream = uriConverter.createInputStream(uri);
- XMLRootElementHandler handler = new XMLRootElementHandler();
- // Parse and retrieve comments above root element
- handler.parseContents(inputStream, true);
- comments = handler.getRootElementComments();
- } catch (SAXException ex) {
- // Ignore parse exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (IOException ex) {
- // Ignore I/O exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (Exception ex) {
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), ex);
- } finally {
- ExtendedPlatform.safeClose(inputStream);
- }
- }
- return comments;
- }
-
- /**
- * Reads the XSI schema location of given {@link Resource resource} and extracts pairs of namespace and schema URIs
- * from it (see http://www.w3.org/TR/xmlschema-0/#schemaLocation for details). Returns a meaningful result only if
- * given {@link Resource resource} is an XML document.
- *
- * @param resource
- * The {@link Resource resource} to investigate.
- * @return Pairs of namespace and schema URIs in given {@link Resource resource} or an empty map if the
- * {@link Resource resource} is either a non-XML file or an XML file which is not well-formed or has no XSI
- * schema location.
- */
- public static Map<String, String> readSchemaLocationEntries(Resource resource) {
- if (resource != null) {
- return readSchemaLocationEntries(getURIConverter(resource.getResourceSet()), resource.getURI());
- }
- return Collections.emptyMap();
- }
-
- /**
- * Reads the XSI schema location of the resource behind given {@link URI} and extracts pairs of namespace and schema
- * URIs from it (see http://www.w3.org/TR/xmlschema-0/#schemaLocation for details). Returns a meaningful result only
- * if the resource in question is an XML document.
- *
- * @param uriConverter
- * The {@link URIConverter uriConverter} used to create {@link InputStream input stream} . May be
- * <code>null</code>.
- * @param uri
- * The {@link URI uri} of the {@link Resource resource} to investigate.
- * @return Pairs of namespace and schema URIs in resource behind given {@link URI} or an empty map if the resource
- * in question is either a non-XML file or an XML file which is not well-formed or has no XSI schema
- * location.
- */
- public static Map<String, String> readSchemaLocationEntries(URIConverter uriConverter, URI uri) {
- String schemaLocation = null;
- if (exists(uri)) {
- InputStream inputStream = null;
- try {
- uriConverter = uriConverter != null ? uriConverter : new ExtensibleURIConverterImpl();
- inputStream = uriConverter.createInputStream(uri);
- XMLRootElementHandler handler = new XMLRootElementHandler();
- handler.parseContents(inputStream);
- schemaLocation = handler.getSchemaLocation();
- } catch (SAXException ex) {
- // Ignore parse exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (IOException ex) {
- // Ignore I/O exceptions because we might be face to non-XML files or XML files
- // which are not well-formed - that's o.k. simply return null
- } catch (Exception ex) {
- PlatformLogUtil.logAsWarning(Activator.getPlugin(), ex);
- } finally {
- ExtendedPlatform.safeClose(inputStream);
- }
- }
- Map<String, String> schemaLocationEntries = new HashMap<String, String>();
- if (schemaLocation != null) {
- String[] schemaLocationTokens = schemaLocation.split(" "); //$NON-NLS-1$
- for (int i = 0; i + 1 < schemaLocationTokens.length; i = i + 2) {
- schemaLocationEntries.put(schemaLocationTokens[i], schemaLocationTokens[i + 1]);
- }
- }
- return schemaLocationEntries;
- }
-
- /**
- * Returns a set of default options which can be used for loading a Resource.
- *
- * @return A set of default options for loading a Resource.
- */
- public static Map<?, ?> getDefaultLoadOptions() {
- HashMap<Object, Object> options = new HashMap<Object, Object>(1);
-
- // Be fault-tolerant and enable files which are partially broken to be loaded
- options.put(XMLResource.OPTION_RECORD_UNKNOWN_FEATURE, Boolean.TRUE);
-
- return options;
- }
-
- /**
- * Returns a map with the default options for resource saving.
- *
- * @return This method will return an empty map.
- */
- public static Map<?, ?> getDefaultSaveOptions() {
- return Collections.emptyMap();
- }
-
- /**
- * Retrieves the top level EObject contained within a resource.
- *
- * @param resource
- * Some model resource
- * @return The first EObject from the resource's content. Returns <code>null</code> if:
- * <ul>
- * <li><code>resource</code> is <code>null</code>;</li>
- * <li><code>resource</code> has no content;</li>
- * <li>content does not contain an EObject as its first element.</li>
- * </ul>
- */
- public static EObject getModelRoot(Resource resource) {
- if (resource != null) {
- EList<EObject> contents = resource.getContents();
- if (contents.size() > 0) {
- return resource.getContents().get(0);
- }
- }
- return null;
- }
-
- /**
- * Returns the root element of the model owned by the resource specified by the given URI. Does not explicitly ask
- * the loading of the resource if it has not already been loaded in resource set.
- *
- * @param resourceSet
- * The resource set into which model resource must be loaded.
- * @param uri
- * The URI to resolve; i.e. the URI of the model resource to load.
- * @return The root of the loaded model or <code>null</code> if underlying resource has not been loaded.
- */
- public static EObject getModelRoot(ResourceSet resourceSet, URI uri) {
- return loadModelRoot(resourceSet, uri, null, false);
- }
-
- /**
- * Returns the element of the model owned by the resource specified by the given URI and pointed by the given
- * fragment. Does not explicitly ask the loading of the resource if it has not already been loaded in resource set.
- *
- * @param resourceSet
- * The resource set into which model resource must be loaded.
- * @param uri
- * The URI to resolve; i.e. the URI of the model resource to load.
- * @return The element of the loaded model pointed by the fragment of the uri or <code>null</code> if underlying
- * resource has not been loaded.
- */
- public static EObject getModelFragment(ResourceSet resourceSet, URI uri) {
- return loadModelFragment(resourceSet, uri, false);
- }
-
- /**
- * Returns the element of the model pointed by the fragment owned by the resource specified by the given {@link URI
- * uri}. Asks the loading of the resource if it has not already been loaded in resource set.
- *
- * @param resourceSet
- * The resource set into which model resource must be loaded.
- * @param uri
- * The {@link URI uri} containing a fragment to resolve; i.e. the URI of the model resource to load
- * append with the reference to the model object.
- * @return The object of the loaded model referenced by the fragment, or <code>null</code> if the URI cannot be
- * resolved to an existing file.
- */
- public static EObject loadModelFragment(ResourceSet resourceSet, URI uri) {
- return loadModelFragment(resourceSet, uri, true);
- }
-
- private static EObject loadModelFragment(ResourceSet resourceSet, URI uri, boolean loadOnDemand) {
- Assert.isNotNull(resourceSet);
- Assert.isNotNull(uri);
-
- if (uri.hasFragment()) {
- // Try to convert given URI to platform:/resource URI if not yet so
- /*
- * !! Important Note !! This is necessary in order to avoid that resources which are located inside the
- * workspace get loaded multiple times just because they are referenced by URIs with different schemes. If
- * given resource set were an instance of ResourceSetImpl this extra conversion wouldn't be necessary.
- * org.eclipse.emf.ecore.resource.ResourceSet.getResource(URI, boolean) normalizes and compares given URI
- * and to normalized copies of URIs of already present resources and thereby avoids multiple loading of same
- * resources on its own. This is however not true when ExtendedResourceSetImpl or a subclass of it is used.
- * Herein, URI normalization and comparison has been removed from
- * org.eclipse.sphinx.emf.resource.ExtendedResourceSetImpl.getResource(URI, boolean) in order to increase
- * runtime performance.
- */
- if (!uri.isPlatform()) {
- uri = convertToPlatformResourceURI(uri);
- }
-
- return resourceSet.getEObject(uri, loadOnDemand);
- }
- return null;
- }
-
- /**
- * Returns the root element of the model owned by the resource specified by the given URI. Asks the loading of the
- * resource if it has not already been loaded in resource set.
- *
- * @param resourceSet
- * The resource set into which model resource must be loaded.
- * @param uri
- * The URI to resolve; i.e. the URI of the model resource to load.
- * @param options
- * The load options. If <code>null</code>, default loading options are used.
- * @return The root of the loaded model.
- */
- public static EObject loadModelRoot(ResourceSet resourceSet, URI uri, Map<?, ?> options) {
- return loadModelRoot(resourceSet, uri, options, true);
- }
-
- /**
- * Loads a model from a {@link java.io.File File} in a given {@link ResourceSet}.
- * <p>
- * This will return the first root of the loaded model, other roots can be accessed via the resource's content.
- * </p>
- *
- * @param resourceSet
- * The {@link ResourceSet} to load the model in.
- * @param file
- * {@link java.io.File File} containing the model to be loaded.
- * @param options
- * The load options. If <code>null</code>, default loading options are used.
- * @return The model loaded from the file.
- * @throws IOException
- * If the given file does not exist.
- */
- public static EObject loadModelRoot(ResourceSet resourceSet, File file, Map<?, ?> options) throws IOException {
- Assert.isNotNull(file);
- return loadModelRoot(resourceSet, URI.createFileURI(file.getPath()), options);
- }
-
- /**
- * Returns the {@linkplain Resource resource} corresponding to the specified {@linkplain Object object}.
- * <p>
- * The supported object types are:
- * <ul>
- * <li>{@linkplain org.eclipse.emf.ecore.resource.Resource}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.EObject}</li>
- * <li>{@linkplain org.eclipse.emf.ecore.util.FeatureMap.Entry}</li>
- * <li>{@linkplain org.eclipse.emf.edit.provider.IWrapperItemProvider}</li>
- * </ul>
- * <p>
- * If the type of the specified object does not belongs to that list of supported types, <code>null</code> is
- * returned.
- *
- * @param object
- * The object from which a resource must be returned.
- * @return The underlying resource from the given object.
- */
- public static Resource getResource(Object object) {
- if (object instanceof Resource) {
- return (Resource) object;
- } else if (object instanceof EObject) {
- return getResource((EObject) object);
- } else if (object instanceof IWrapperItemProvider) {
- return getResource((IWrapperItemProvider) object);
- } else if (object instanceof FeatureMap.Entry) {
- return getResource((FeatureMap.Entry) object);
- } else if (object instanceof TransientItemProvider) {
- return getResource((TransientItemProvider) object);
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} corresponding to the given {@link EObject object}.
- *
- * @param eObject
- * The {@linkplain EObject object} whose {@link Resource resource} is to be returned.
- * @return The resource corresponding to the specified {@link EObject object}.
- */
- public static Resource getResource(final EObject eObject) {
- if (eObject != null) {
- return eObject.eResource();
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} owning the given {@link IWrapperItemProvider provider}.
- * <p>
- * First retrieves the owner of the {@link IWrapperItemProvider provider}; then, if owner is an {@linkplain EObject}
- * returns its resource, else delegates to {@linkplain #getResource(Object)}.
- *
- * @param provider
- * The {@linkplain IWrapperItemProvider} whose resource must be returned.
- * @return The resource containing the specified {@link IWrapperItemProvider provider}; <code>null</code> if that
- * provider is <code>null</code>.
- */
- public static Resource getResource(final IWrapperItemProvider provider) {
- if (provider != null) {
- Object owner = provider.getOwner();
- if (owner instanceof EObject) {
- return ((EObject) owner).eResource();
- } else {
- Object unwrapped = AdapterFactoryEditingDomain.unwrap(provider);
- return getResource(unwrapped);
- }
- }
- return null;
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} matching the given {@link FeatureMap.Entry entry}.
- * <p>
- * First unwraps the {@link FeatureMap.Entry entry}; then, delegates to {@linkplain #getResource(Object)}.
- *
- * @param entry
- * The {@linkplain FeatureMap.Entry} whose underlying resource must be returned.
- * @return The resource under the specified {@link FeatureMap.Entry entry}.
- */
- public static Resource getResource(FeatureMap.Entry entry) {
- Object unwrapped = AdapterFactoryEditingDomain.unwrap(entry);
- return getResource(unwrapped);
- }
-
- /**
- * Retrieves the {@linkplain Resource resource} owning the given {@link TransientItemProvider provider}.
- * <p>
- * First retrieves the owner of the {@link TransientItemProvider provider}; then, if owner is an
- * {@linkplain EObject} returns its resource, else delegates to {@linkplain #getResource(Object)}.
- *
- * @param provider
- * The {@linkplain TransientItemProvider} whose resource must be returned.
- * @return The resource containing the specified {@link IWrapperItemProvider provider}; <code>null</code> if that
- * provider is <code>null</code>.
- */
- public static Resource getResource(TransientItemProvider provider) {
- if (provider != null) {
- Notifier target = provider.getTarget();
- if (target instanceof EObject) {
- return ((EObject) target).eResource();
- }
- }
- return null;
- }
-
- /**
- * Returns the contents of given Resource. If the provided Resource is
- * <tt>null<tt> the method will return an empty list.
- *
- * @param resource
- * @return The content of the given <code>resource</code> or an empty list if no Resource is provided.
- */
- public static EList<EObject> getResourceContents(Resource resource) {
- if (resource != null) {
- return resource.getContents();
- }
- return new BasicEList<EObject>(0);
- }
-
- /**
- * Returns the name of the model for the provided model root.
- *
- * @param modelRoot
- * Can either be an EObject or a Resource.
- * @return The name of the model specified by the given <code>modelRoot</code>.
- */
- public static String getModelName(Notifier modelRoot) {
- EObject modelContent = null;
- if (modelRoot instanceof EObject) {
- modelContent = (EObject) modelRoot;
- }
- if (modelRoot instanceof Resource) {
- modelContent = EcoreResourceUtil.getModelRoot((Resource) modelRoot);
- }
- if (modelContent != null) {
- String modelPackageName = modelContent.eClass().getEPackage().getName();
- return modelPackageName.substring(0, 1).toUpperCase() + modelPackageName.substring(1);
- }
- return ""; //$NON-NLS-1$
- }
-
- /**
- * Proves if the model with the specified {@link URI uri} is already loaded into the given {@link ResourceSet
- * resourceSet}.
- *
- * @param resourceSet
- * The resource set to search resource in.
- * @param uri
- * The URI of the concerned resource.
- * @return <ul>
- * <li><tt><b>true</b>&nbsp;&nbsp;</tt> if resource set contains the model with specified the URI;</li>
- * <li><tt><b>false</b>&nbsp;</tt> otherwise.</li>
- * </ul>
- */
- public static boolean isResourceLoaded(ResourceSet resourceSet, URI uri) {
- if (resourceSet != null && uri != null) {
- Resource resource = resourceSet.getResource(uri, false);
- return resource != null && resource.isLoaded();
- }
- return false;
- }
-
- /**
- * Create the new model given by the {@link EObject modelRoot} parameter. The method will create a new Resource
- * specified by a given URI and content type id. The new created resource will be added to a given ResourceSet.
- *
- * @param resourceSet
- * The ResourceSet to which the new Resource is added.
- * @param uri
- * The URI specifying the location to which the Resource is to be saved to.
- * @param contentTypeId
- * The id of the content type of which new created Resource shall be of.
- * @param modelRoot
- * Can either be an EObject or a Resource.
- * @since 0.7.0
- */
- public static Resource addNewModelResource(ResourceSet resourceSet, URI uri, String contentTypeId, EObject modelRoot) {
- if (uri != null && modelRoot != null) {
- try {
- // Create new ResourceSet if none has been provided
- if (resourceSet == null) {
- resourceSet = new ScopingResourceSetImpl();
- }
-
- // Unload and remove model resource if it is already loaded
- Resource resource = resourceSet.getResource(uri, false);
- if (resource != null) {
- try {
- unloadResource(resource);
- } catch (Exception ex) {
- PlatformLogUtil.logAsError(Activator.getPlugin(), ex);
- }
- }
-
- // Create and add new model resource to the resourceSet
- resource = resourceSet.createResource(uri, contentTypeId);
- if (resource != null) {
- resource.getContents().add(modelRoot);
- }
- return resource;
- } catch (Exception ex) {
- throw new WrappedException(ex);
- }
- }
- return null;
- }
-
- /**
- * The {@link Resource} provided as argument will be added to the given ResourceSet if it is not already inside.
- *
- * @param resourceSet
- * The resourceSet where to add resources
- * @param resource
- * The resource to add
- * @since 0.7.0
- */
- public static void addModelResource(ResourceSet resourceSet, Resource resource) {
- if (resource != null) {
- // Create new ResourceSet if none has been provided
- if (resourceSet == null) {
- resourceSet = new ScopingResourceSetImpl();
- }
-
- // Add resource to resourceSet if not already present
- if (resourceSet.getResource(resource.getURI(), false) == null) {
- resourceSet.getResources().add(resource);
- }
- }
- }
-
- /**
- * Saves the new model given by the {@link EObject modelRoot} parameter. The method will create a new Resource
- * specified by a given URI and content type id. The new created resource will be added to a given ResourceSet and
- * saved.
- *
- * @param resourceSet
- * The ResourceSet to which the new Resource is added.
- * @param uri
- * The URI specifying the location to which the Resource is to be saved to.
- * @param contentTypeId
- * The id of the content type of which new created Resource shall be of.
- * @param modelRoot
- * Can either be an EObject or a Resource.
- * @param options
- * The save options.
- * @see #getDefaultSaveOptions()
- */
- public static void saveNewModelResource(ResourceSet resourceSet, URI uri, String contentTypeId, EObject modelRoot, Map<?, ?> options) {
- // Create new model resource and add it to the provided ResourceSet
- Resource resource = addNewModelResource(resourceSet, uri, contentTypeId, modelRoot);
-
- // Save the newly created resource
- saveModelResource(resource, options);
- }
-
- /**
- * Saves the specified <code>resource</code>.
- *
- * @param resource
- * The {@link Resource resource} to be saved.
- * @param options
- * The save options.
- * @see #getDefaultSaveOptions()
- */
- public static void saveModelResource(Resource resource, Map<?, ?> options) {
- if (resource != null) {
- try {
- resource.save(options);
- } catch (IOException ex) {
- // Record exception as error on resource
- Throwable cause = ex.getCause();
- Exception exception = cause instanceof Exception ? (Exception) cause : ex;
- URI uri = resource.getURI();
- resource.getErrors()
- .add(new XMIException(NLS.bind(Messages.error_problemOccurredWhenSavingResource, uri.toString()), exception, uri.toString(),
- 1, 1));
-
- // Re-throw exception
- throw new WrappedException(ex);
- }
- }
- }
-
- /**
- * Unloads given {@link Resource resource} and removes it from underlying {@link ResourceSet resourceSet}.
- *
- * @param resource
- * The resource to be unloaded.
- */
- public static void unloadResource(Resource resource) {
- unloadResource(resource, false);
- }
-
- /**
- * Unloads given {@link Resource resource} and removes it from underlying {@link ResourceSet resourceSet}.
- *
- * @param resource
- * The resource to be unloaded.
- * @param memoryOptimized
- * Will activate the memory optimization option for unloading the resource. This is only available if the
- * resource is an XMLResource.
- */
- public static void unloadResource(Resource resource, boolean memoryOptimized) {
- if (resource != null) {
- try {
- // Perform resource unload, either memory optimized or normally
- if (memoryOptimized) {
- ExtendedResource extendedResource = ExtendedResourceAdapterFactory.INSTANCE.adapt(resource);
- if (extendedResource != null) {
- Map<Object, Object> defaultLoadOptions = extendedResource.getDefaultLoadOptions();
- defaultLoadOptions.put(ExtendedResource.OPTION_UNLOAD_MEMORY_OPTIMIZED, Boolean.TRUE);
- }
- }
- resource.unload();
- } catch (Exception ex) {
- throw new WrappedException(ex);
- } finally {
- // Remove resource from ResourceSet
- ResourceSet resourceSet = resource.getResourceSet();
- if (resourceSet != null) {
- resourceSet.getResources().remove(resource);
- }
- }
- }
- }
-
- /**
- * Unloads the resource with the specified URI from the given resource set.
- *
- * @param resourceSet
- * A resource set from which the model's resource should be unloaded.
- * @param uri
- * The URI of the resource to unload.
- */
- public static void unloadResource(ResourceSet resourceSet, URI uri) {
- unloadResource(resourceSet, uri, false);
- }
-
- /**
- * Unloads the resource with the specified URI from the given resource set.
- * <p>
- * It is recommended to call this method inside a write-transaction (see
- * {@link EcorePlatformUtil#unloadFile(ResourceSet, IPath)}).
- *
- * @param resourceSet
- * A resource set from which the model's resource should be unloaded.
- * @param uri
- * The URI of the resource to unload.
- * @param memoryOptimized
- * Will activate the memory optimization option for unloading the resource. This is only available if the
- * resource is an XMLResource.
- */
- public static void unloadResource(ResourceSet resourceSet, URI uri, boolean memoryOptimized) {
- if (resourceSet != null && uri != null) {
- // Get resource and unload it
- Resource resource = resourceSet.getResource(uri, false);
- unloadResource(resource, memoryOptimized);
- }
- }
-
- /**
- * Parses {@link Resource resource} with given {@link URI uri} and validates it against XSD schema with specified
- * {@link URL url}. Raises an exception if the {@link Resource resource}'s content is not compliant with respect to
- * XSD schema.
- *
- * @param uri
- * The {@link URI uri} of the {@link Resource resource} to be validated.
- * @param schemaURL
- * The {@link URL url} of the XSD schema to be used for validation.
- * @throws SAXException
- * @throws IOException
- */
- public static void validate(URI uri, URL schemaURL) throws SAXException, IOException {
- Assert.isNotNull(uri);
-
- // 1. Lookup a factory for the W3C XML Schema language
- SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
-
- // 2. Compile the schema
- Schema schema = factory.newSchema(schemaURL);
-
- // 3. Get a validator from the schema
- Validator validator = schema.newValidator();
-
- // 4. Load the resource and validate it
- InputStream stream = null;
- try {
- stream = URIConverter.INSTANCE.createInputStream(uri);
- Source source = new StreamSource(stream);
- validator.validate(source);
- } finally {
- ExtendedPlatform.safeClose(stream);
- }
- }
-
- /**
- * Loads from resource set the resource specified by the given URI, or try to load the URI if not in resource set.
- *
- * @param resourceSet
- * The resource set into which model resource must be loaded.
- * @param uri
- * The URI to resolve; <em>i.e.</em> the URI of the model resource to load.
- * @param options
- * The loading options.
- * @param loadOnDemand
- * If <code>true</code>, creates and loads the resource if it does not already exist.
- * @return The resource resolved by the specified URI, or <code>null</code> if there is not one and it is not being
- * demand loaded.
- */
- private static Resource loadModelResource(ResourceSet resourceSet, URI uri, Map<?, ?> options, boolean loadOnDemand) {
- Assert.isNotNull(uri);
-
- // Create new ResourceSet if none has been provided
- if (resourceSet == null) {
- resourceSet = new ScopingResourceSetImpl();
- }
-
- // Try to convert given URI to platform:/resource URI if not yet so
- /*
- * !! Important Note !! This is necessary in order to avoid that resources which are located inside the
- * workspace get loaded multiple times just because they are referenced by URIs with different schemes. If given
- * resource set were an instance of ResourceSetImpl this extra conversion wouldn't be necessary.
- * org.eclipse.emf.ecore.resource.ResourceSet.getResource(URI, boolean) normalizes and compares given URI and to
- * normalized copies of URIs of already present resources and thereby avoids multiple loading of same resources
- * on its own. This is however not true when ExtendedResourceSetImpl or a subclass of it is used. Herein, URI
- * normalization and comparison has been removed from
- * org.eclipse.sphinx.emf.resource.ExtendedResourceSetImpl.getResource(URI, boolean) in order to increase
- * runtime performance.
- */
- if (!uri.isPlatform()) {
- uri = convertToPlatformResourceURI(uri);
- }
-
- // Just get model resource if it is already loaded
- Resource resource = resourceSet.getResource(uri, false);
-
- // Load it using specified options if not done so yet and a demand load has been requested
- if ((resource == null || !resource.isLoaded()) && loadOnDemand) {
- if (exists(uri)) {
- if (resource == null) {
- String contentType = getContentTypeId(uri);
- resource = resourceSet.createResource(uri, contentType);
- }
- if (resource != null) {
- try {
- // Capture errors and warnings encountered during resource creation
- /*
- * !! Important note !! This is necessary because the resource's errors and warnings are
- * automatically cleared when the loading begins. Therefore, if we don't retrieve them at this
- * point all previously encountered errors and warnings would be lost (see
- * org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(InputStream, Map<?, ?>) for details)
- */
- List<Diagnostic> creationErrors = new ArrayList<Diagnostic>(resource.getErrors());
- List<Diagnostic> creationWarnings = new ArrayList<Diagnostic>(resource.getWarnings());
-
- // Load resource
- resource.load(options);
-
- // Make sure that no empty resources are kept in resource set
- if (resource.getContents().isEmpty()) {
- unloadResource(resource, true);
- }
-
- // Restore creation time errors and warnings
- resource.getErrors().addAll(creationErrors);
- resource.getWarnings().addAll(creationWarnings);
- } catch (IOException ex) {
- // Capture errors and warnings encountered during resource load attempt
- /*
- * !! Important note !! This is necessary because the resource's errors and warnings are
- * automatically cleared when it gets unloaded. Therefore, if we don't retrieve them at this
- * point all encountered errors and warnings encountered during loading would be lost (see
- * org.eclipse.emf.ecore.resource.impl.ResourceImpl.doUnload() for details)
- */
- List<Diagnostic> loadErrors = new ArrayList<Diagnostic>(resource.getErrors());
- List<Diagnostic> loadWarnings = new ArrayList<Diagnostic>(resource.getWarnings());
-
- // Make sure that resource gets unloaded and removed from resource set again
- try {
- unloadResource(resource, true);
- } catch (Exception e) {
- // Log unload problem in Error Log but don't let it go along as runtime exception. It is
- // most likely just a consequence of the load problems encountered before and therefore
- // should not prevent those from being restored as errors and warnings on resource.
- PlatformLogUtil.logAsError(Activator.getPlugin(), e);
- }
-
- // Restore load time errors and warnings on resource
- resource.getErrors().addAll(loadErrors);
- resource.getWarnings().addAll(loadWarnings);
-
- // Re-throw exception
- throw new WrappedException(ex);
- }
- }
- }
- }
- return resource;
- }
-
- /**
- * Loads the model from the resource specified by the given URI and returns its root element.
- *
- * @param resourceSet
- * The resource set into which model resource must be loaded.
- * @param uri
- * The URI to resolve; <em>i.e.</em> the URI of the model resource to load.
- * @param options
- * The load options. If <code>null</code>, default loading options are used.
- * @param loadOnDemand
- * If <code>true</code>, creates and loads the resource if it does not already exist.
- * @return The root of the loaded model; can be <code>null</code> if resource is not loaded resource set.
- */
- private static EObject loadModelRoot(ResourceSet resourceSet, URI uri, Map<?, ?> options, boolean loadOnDemand) {
- // Use default loading options when no specified
- if (options == null) {
- options = getDefaultLoadOptions();
- }
-
- // Load resource from resource set
- Resource resource = loadModelResource(resourceSet, uri, options, loadOnDemand);
-
- // Obtain and return resource content
- return getModelRoot(resource);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceEditingDomainUtil.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceEditingDomainUtil.java
deleted file mode 100644
index 0cdfaa2404d..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceEditingDomainUtil.java
+++ /dev/null
@@ -1,321 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2008-2010 See4sys, BMW Car IT and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * See4sys - Initial API and implementation
- * BMW Car IT - Added/Updated javadoc
- *
- * </copyright>
- */
-package org.eclipse.papyrus.emf.compare.transactional.editor.sphinx;
-
-import java.util.Collection;
-import java.util.Collections;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-import org.eclipse.emf.edit.provider.IWrapperItemProvider;
-import org.eclipse.emf.transaction.Transaction;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.transaction.util.TransactionUtil;
-import org.eclipse.sphinx.emf.domain.IContainerEditingDomainProvider;
-import org.eclipse.sphinx.emf.edit.TransientItemProvider;
-import org.eclipse.sphinx.emf.metamodel.IMetaModelDescriptor;
-import org.eclipse.sphinx.emf.model.IModelDescriptor;
-
-/**
- * This utility class is intended to retrieve an {@linkplain EditingDomain} in various ways.
- */
-public final class WorkspaceEditingDomainUtil {
-
- // Prevent from instantiation
- private WorkspaceEditingDomainUtil() {
- }
-
- /**
- * Returns the {@link TransactionalEditingDomain editing domain} which currently contains the given {@link IFile
- * file} in its {@link ResourceSet resource set}.
- *
- * @param file
- * The {@link IFile file} whose current {@link TransactionalEditingDomain editing domain} is to be
- * retrieved.
- * @return The {@link TransactionalEditingDomain editing domain} which contains the given {@link IFile file}, or
- * <code>null</code> if given {@link IFile file} isn't contained in any {@link TransactionalEditingDomain
- * editing domain}.
- */
- public static TransactionalEditingDomain getCurrentEditingDomain(IFile file) {
- for (TransactionalEditingDomain editingDomain : getEditingDomains(ResourcesPlugin.getWorkspace().getRoot())) {
- if (EcorePlatformUtil.isFileLoaded(editingDomain, file)) {
- return editingDomain;
- }
- }
- return null;
- }
-
- /**
- * Returns the {@link TransactionalEditingDomain editing domain} to which the given {@link IFile file} is mapped.
- * The mapped {@link TransactionalEditingDomain editing domain} is the {@link TransactionalEditingDomain editing
- * domain} which is used as target when loading the {@link IFile file} from the workspace.
- * <p>
- * Even though the mapped {@link TransactionalEditingDomain editing domain} represents the primary
- * {@link TransactionalEditingDomain editing domain} for the given {@link IFile file} it still may happen that the
- * {@link IFile file} gets loaded in another or "foreign" {@link TransactionalEditingDomain editing domain}. Typical
- * reasons for this are e.g. lazy loading of one file from multiple other files which are in different
- * {@link TransactionalEditingDomain editing domain}s or programatic action by some application.
- * <p>
- *
- * @param file
- * The {@link IFile file} whose mapped {@link TransactionalEditingDomain editing domain} is to be
- * retrieved.
- * @return The {@link TransactionalEditingDomain editing domain} to which the given {@link IFile file} is mapped, or
- * <code>null</code> if given {@link IFile file} isn't mapped to any {@link TransactionalEditingDomain
- * editing domain}.
- */
- public static TransactionalEditingDomain getMappedEditingDomain(IFile file) {
- if (file != null) {
- IEditingDomainProvider provider = (IEditingDomainProvider) Platform.getAdapterManager().loadAdapter(file,
- IEditingDomainProvider.class.getName());
- if (provider != null) {
- EditingDomain editingDomain = provider.getEditingDomain();
- if (editingDomain instanceof TransactionalEditingDomain) {
- return (TransactionalEditingDomain) editingDomain;
- }
- }
- }
- return null;
- }
-
- /**
- * Retrieves the {@link TransactionalEditingDomain editing domain} which the given {@link Object object} belongs to.
- * The following types of {@link Object object}s are supported:
- * <p>
- * <ul>
- * <li>{@linkplain EObject}</li>
- * <li>{@linkplain FeatureMap.Entry}</li>
- * <li>{@linkplain IEditingDomainProvider}</li>
- * <li>{@linkplain IFile}</li>
- * <li>{@linkplain IModelDescriptor}</li>
- * <li>{@linkplain IWrapperProviderItem}</li>
- * <li>{@linkplain Resource}</li>
- * <li>{@linkplain ResourceSet}</li>
- * <li>{@linkplain Transaction}</li>
- * <li>{@linkplain TransactionalEditingDomain}</li>
- * <li>{@linkplain URI}</li>
- * </ul>
- * <p>
- * Note that it is not possible to obtain a single {@link TransactionalEditingDomain editing domain} from a
- * {@linkplain IContainer}. You can however retrieve the collection of {@link TransactionalEditingDomain editing
- * domain}s available on a {@linkplain IContainer} by calling {@linkplain #getEditingDomains(IContainer)}.
- *
- * @param object
- * The object whose corresponding {@link TransactionalEditingDomain editing domain} must be returned.
- * @return The EditingDomain the <code>object</code> corresponds with or <code>null</code> if the
- * <code>object</code> cannot be mapped to an {@link TransactionalEditingDomain editing domain}.
- * @see org.eclipse.sphinx.emf.workspace.domain.WorkspaceEditingDomainManager#getEditingDomainMapping()
- * @see #getEditingDomains(IContainer)
- */
- public static TransactionalEditingDomain getEditingDomain(Object object) {
- if (object instanceof IModelDescriptor) {
- return getEditingDomain((IModelDescriptor) object);
- } else if (object instanceof IFile) {
- return getEditingDomain((IFile) object);
- } else if (object instanceof URI) {
- return getEditingDomain((URI) object);
- } else if (object instanceof Resource) {
- // If resource is not yet or not anymore in a resource set, then try to figure out which editing domain it
- // would belong to if it were in a resource set
- Resource resource = (Resource) object;
- if (resource.getResourceSet() == null) {
- return getEditingDomain(EcorePlatformUtil.getFile(resource));
- }
- } else if (object instanceof IWrapperItemProvider) {
- return getEditingDomain((IWrapperItemProvider) object);
- } else if (object instanceof FeatureMap.Entry) {
- return getEditingDomain((FeatureMap.Entry) object);
- } else if (object instanceof TransientItemProvider) {
- return getEditingDomain((TransientItemProvider) object);
- }
-
- return object != null ? TransactionUtil.getEditingDomain(object) : null;
- }
-
- /**
- * Retrieves the {@link TransactionalEditingDomain editing domain} behind given {@link IModelDescriptor model
- * descriptor}.
- *
- * @param modelDescriptor
- * The {@link IModelDescriptor model descriptor} whose {@link TransactionalEditingDomain editing domain}
- * is to be retrieved.
- * @return The {@link TransactionalEditingDomain editing domain} behind given {@link IModelDescriptor model
- * descriptor} or <code>null</code> if no such could be retrieved.
- */
- public static TransactionalEditingDomain getEditingDomain(IModelDescriptor modelDescriptor) {
- if (modelDescriptor != null) {
- return modelDescriptor.getEditingDomain();
- }
- return null;
- }
-
- /**
- * Retrieves the {@link TransactionalEditingDomain editing domain} corresponding to the given {@link IFile file}.
- * Tries at first to determine the {@link TransactionalEditingDomain editing domain} which currently contains the
- * given {@link IFile file} in its {@link ResourceSet resource set} and returns it if successful. Otherwise, the
- * {@link TransactionalEditingDomain editing domain} to which the given {@link IFile file} is mapped is returned.
- *
- * @param file
- * The {@link IFile file} whose {@link TransactionalEditingDomain is to be retrieved}.
- * @return The {@link TransactionalEditingDomain editing domain} the given file belongs to, or <code>null</code> if
- * given {@link IFile file} doesn't belong to any {@link TransactionalEditingDomain editing domain}.
- * @see #getCurrentEditingDomain(IFile)
- * @see #getMappedEditingDomain(IFile)
- */
- public static TransactionalEditingDomain getEditingDomain(IFile file) {
- TransactionalEditingDomain editingDomain = getCurrentEditingDomain(file);
- if (editingDomain != null) {
- return editingDomain;
- }
- return getMappedEditingDomain(file);
- }
-
- /**
- * Retrieves the EditingDomain by a URI. Consults the active mapping to map a resource to its
- * {@link TransactionalEditingDomain editing domain}.
- *
- * @param uri
- * An URI (file, EMF Object's URI)
- * @return The {@link TransactionalEditingDomain editing domain} associated with the given URI. Returns
- * <code>null</code> if the URI cannot be resolved to workspace file or no
- * {@link TransactionalEditingDomain editing domain} can be mapped through the active mapping.
- */
- public static TransactionalEditingDomain getEditingDomain(URI uri) {
- IFile file = EcorePlatformUtil.getFile(uri);
- return getEditingDomain(file);
- }
-
- /**
- * Retrieves the {@link TransactionalEditingDomain editing domain} corresponding to the object wrapped in the given
- * IWrapperItemProvider.
- *
- * @param wrapperItemProvider
- * The IWrapperItemProvider wrapping the Object for which the {@link TransactionalEditingDomain editing
- * domain} is to be retrieved.
- * @return The {@link TransactionalEditingDomain editing domain} the wrapped Object is associated with or
- * <code>null</code> if the Object cannot be mapped to an {@link TransactionalEditingDomain editing domain}.
- */
- public static TransactionalEditingDomain getEditingDomain(IWrapperItemProvider wrapperItemProvider) {
- if (wrapperItemProvider != null) {
- Object unwrapped = AdapterFactoryEditingDomain.unwrap(wrapperItemProvider);
- TransactionalEditingDomain editingDomain = getEditingDomain(unwrapped);
- if (editingDomain != null) {
- return editingDomain;
- }
- return getEditingDomain(wrapperItemProvider.getOwner());
- }
- return null;
- }
-
- /**
- * Returns the {@link TransactionalEditingDomain editing domain} for the value Object of the given FeatureMap.Entry.
- *
- * @param entry
- * A FeatureMap.Entry holding the Object for which the {@link TransactionalEditingDomain editing domain}
- * is to be retrieved.
- * @return The EditingDomain the Object held by the given <code>entry</entry> corresponds with or <code>null</code>
- * if the Object cannot be mapped to an {@link TransactionalEditingDomain editing domain}.
- */
- public static TransactionalEditingDomain getEditingDomain(FeatureMap.Entry entry) {
- Object unwrapped = AdapterFactoryEditingDomain.unwrap(entry);
- return getEditingDomain(unwrapped);
- }
-
- /**
- * Returns the {@link TransactionalEditingDomain editing domain} for the value Object of the given
- * ItemProviderAdapter.
- *
- * @param provider
- * An ItemProviderAdapter holding the Object for which the {@link TransactionalEditingDomain editing
- * domain} is to be retrieved.
- * @return The EditingDomain the Target held by the given
- * <code>provider</entry> corresponds with or <code>null</code> if the Object cannot be mapped to an
- * {@link TransactionalEditingDomain editing domain}.
- */
- public static TransactionalEditingDomain getEditingDomain(TransientItemProvider provider) {
- Object target = provider.getTarget();
- return getEditingDomain(target);
- }
-
- /**
- * Retrieves the {@link TransactionalEditingDomain editing domain} corresponding to the specified meta-model
- * descriptor for the given context container.
- *
- * @param container
- * The container to consider as context object in order to retrieve the right
- * {@link TransactionalEditingDomain editing domain}.
- * @param mmDescriptor
- * A meta-model descriptor.
- * @return The {@link TransactionalEditingDomain editing domain} for the specified meta-model descriptor and the
- * specified context container or <code>null</code> if it cannot be mapped to any
- * {@link TransactionalEditingDomain editing domain}.
- */
- public static TransactionalEditingDomain getEditingDomain(IContainer container, IMetaModelDescriptor mmDescriptor) {
- if (container != null) {
- IContainerEditingDomainProvider provider = (IContainerEditingDomainProvider) Platform.getAdapterManager().loadAdapter(container,
- IContainerEditingDomainProvider.class.getName());
- if (provider != null) {
- return provider.getEditingDomain(mmDescriptor);
- }
- }
- return null;
- }
-
- /**
- * Returns all {@link TransactionalEditingDomain editing domain}s in the given {@link IContainer container} (i.e.
- * {@link IWorkspaceRoot workspace root}, {@link IProject project} or {@link IFolder folder}).
- *
- * @return The collection of {@link TransactionalEditingDomain editing domain}s in given {@link IContainer
- * container}.
- */
- public static Collection<TransactionalEditingDomain> getEditingDomains(IContainer container) {
- IContainerEditingDomainProvider provider = (IContainerEditingDomainProvider) Platform.getAdapterManager().loadAdapter(container,
- IContainerEditingDomainProvider.class.getName());
- if (provider != null) {
- return provider.getEditingDomains();
- }
- return Collections.emptyList();
- }
-
- /**
- * Returns all {@link TransactionalEditingDomain editing domain}s that exist in the workspace.
- * <p>
- * This is a convenience method, fully equivalent to:
- *
- * <pre>
- * WorkspaceEditingDomainUtil.getEditingDomains(ResourcesPlugin.getWorkspace().getRoot());
- * </pre>
- *
- * </p>
- * * @return The collection of {@link TransactionalEditingDomain editing domain}s in the workspace.
- */
- public static Collection<TransactionalEditingDomain> getAllEditingDomains() {
- return getEditingDomains(ResourcesPlugin.getWorkspace().getRoot());
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceTransactionUtil.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceTransactionUtil.java
deleted file mode 100644
index df0d6dba57e..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/sphinx/WorkspaceTransactionUtil.java
+++ /dev/null
@@ -1,198 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2008-2010 See4sys, BMW Car IT and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * See4sys - Initial API and implementation
- * BMW Car IT - Added/Updated javadoc
- *
- * </copyright>
- */
-package org.eclipse.papyrus.emf.compare.transactional.editor.sphinx;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.operations.IOperationHistory;
-import org.eclipse.core.commands.operations.IUndoContext;
-import org.eclipse.core.commands.operations.IUndoableOperation;
-import org.eclipse.core.commands.operations.OperationHistoryFactory;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.OperationCanceledException;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.command.CommandStack;
-import org.eclipse.emf.transaction.Transaction;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.transaction.impl.TransactionImpl;
-import org.eclipse.emf.workspace.AbstractEMFOperation;
-import org.eclipse.emf.workspace.IWorkspaceCommandStack;
-import org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * An utility class providing helper methods for handling and executing transactions on an EMF model.
- */
-public final class WorkspaceTransactionUtil {
-
- // Prevent from instantiation
- private WorkspaceTransactionUtil() {
- }
-
- /**
- * Returns the IOperationHistory for the given EditingDomain.
- *
- * @param editingDomain
- * The EditingDomain for which the IOperationHistory is to be retrieved.
- * @return The IOperationHistory of the given <code>edingDomain</code>.
- */
- public static IOperationHistory getOperationHistory(TransactionalEditingDomain editingDomain) {
- if (editingDomain != null) {
- CommandStack commandStack = editingDomain.getCommandStack();
- if (commandStack instanceof IWorkspaceCommandStack) {
- return ((IWorkspaceCommandStack) commandStack).getOperationHistory();
- }
- }
- return OperationHistoryFactory.getOperationHistory();
- }
-
- /**
- * Returns the IUndoContext for the given EditingDomain.
- *
- * @param editingDomain
- * The EditingDomain for which the IUndoContext is to be retrieved.
- * @return The IUndoContext of the given <code>edingDomain</code>.
- */
- public static IUndoContext getUndoContext(TransactionalEditingDomain editingDomain) {
- if (editingDomain != null) {
- CommandStack commandStack = editingDomain.getCommandStack();
- if (commandStack instanceof WorkspaceCommandStackImpl) {
- return IOperationHistory.GLOBAL_UNDO_CONTEXT;
- }
- }
- return (IUndoContext) ResourcesPlugin.getWorkspace().getAdapter(IUndoContext.class);
- }
-
- /**
- * Returns a default set of options which can be used for executing an operation within a transaction.
- *
- * @return The default options for executing an operation in a transaction.
- */
- public static Map<String, Object> getDefaultTransactionOptions() {
- Map<String, Object> options = new HashMap<String, Object>();
- options.put(TransactionImpl.BLOCK_CHANGE_PROPAGATION, Boolean.TRUE);
- options.put(Transaction.OPTION_NO_VALIDATION, Boolean.TRUE);
- return options;
- }
-
- /**
- * Returns a default set of options which can be used for executing an operation saving a new model within a write
- * transaction.
- *
- * @return The default options for executing a save new operation in a transaction.
- */
- public static Map<String, Object> getDefaultSaveNewTransactionOptions() {
- Map<String, Object> options = WorkspaceTransactionUtil.getDefaultTransactionOptions();
- options.put(Transaction.OPTION_NO_UNDO, Boolean.TRUE);
- return options;
- }
-
- /**
- * Returns a default set of options which can be used for executing an operation saving an existing model within a
- * write transaction.
- *
- * @return The default options for executing a save operation in a transaction.
- */
- public static Map<String, Object> getDefaultSaveTransactionOptions() {
- Map<String, Object> options = WorkspaceTransactionUtil.getDefaultTransactionOptions();
- options.put(Transaction.OPTION_NO_UNDO, Boolean.TRUE);
- options.put(Transaction.OPTION_NO_NOTIFICATIONS, Boolean.TRUE);
- options.put(Transaction.OPTION_NO_TRIGGERS, Boolean.TRUE);
- return options;
- }
-
- /**
- * Executes a write operation in a write transaction .
- *
- * @param editingDomain
- * The Transactional Editing domain receiving the transaction .
- * @param runnable
- * The runnable defining the run method .
- * @param operationLabel
- * The label of the operation to execute .
- * @throws OperationCanceledException
- * Thrown when the transaction is cancelled by the user.
- * @throws ExecutionException
- * Thrown when the transaction could not be completed to an Exception.
- **/
- public static void executeInWriteTransaction(TransactionalEditingDomain editingDomain, Runnable runnable, String operationLabel)
- throws OperationCanceledException, ExecutionException {
- executeInWriteTransaction(editingDomain, runnable, operationLabel, getOperationHistory(editingDomain), getDefaultTransactionOptions(), null);
- }
-
- /**
- * Execute a write operation in a write transaction.
- *
- * @param editingDomain
- * The {@linkplain TransactionalEditingDomain editing domain} receiving the transaction.
- * @param runnable
- * The {@linkplain Runnable runnable} defining the run method.
- * @param operationLabel
- * The label of the operation to execute.
- * @param operationHistory
- * The {@linkplain IOperationHistory operation history} to store the executed operation.
- * @param transactionOptions
- * The options to set the transaction.
- * @param monitor
- * The {@linkplain IProgressMonitor progress monitor} to use during operation execution.
- * @throws OperationCanceledException
- * Thrown when the transaction is canceled by the user.
- * @throws ExecutionException
- * Thrown when the transaction could not be completed to an Exception.
- * @since 0.7.0
- **/
- public static void executeInWriteTransaction(TransactionalEditingDomain editingDomain, final Runnable runnable, final String operationLabel,
- IOperationHistory operationHistory, final Map<String, Object> transactionOptions, IProgressMonitor monitor)
- throws OperationCanceledException, ExecutionException {
- Assert.isNotNull(editingDomain);
- Assert.isNotNull(runnable);
-
- String safeLabel = operationLabel == null ? "Unnamed operation" : operationLabel; //$NON-NLS-1$
- IUndoableOperation operation = new AbstractEMFOperation(editingDomain, safeLabel, transactionOptions) {
- @Override
- protected IStatus doExecute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- try {
- runnable.run();
- return Status.OK_STATUS;
- } catch (RuntimeException ex) {
- if (ex instanceof OperationCanceledException) {
- throw (OperationCanceledException) ex;
- } else {
- throw new ExecutionException(NLS.bind(" {0} transaction failed", operationLabel), ex);
- //throw new ExecutionException(NLS.bind(Messages.problem_transactionFailed, operationLabel), ex);
- }
- }
- }
-
- @Override
- public boolean canUndo() {
- return transactionOptions.get(Transaction.OPTION_NO_UNDO) != Boolean.TRUE;
- }
- };
- // Perform the execution of the transaction.
- IStatus status = operationHistory.execute(operation, monitor, null);
-
- if (status.getSeverity() == IStatus.CANCEL) {
- throw new OperationCanceledException();
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusCompareAction.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusCompareAction.java
deleted file mode 100644
index a5513ef71fb..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusCompareAction.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008, 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.emf.compare.transactional.editor.v2;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.compare.*;
-import org.eclipse.compare.internal.CompareUIPlugin;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.window.Window;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.papyrus.emf.compare.transactional.editor.Activator;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.team.internal.ui.TeamUIMessages;
-import org.eclipse.team.internal.ui.Utils;
-import org.eclipse.team.internal.ui.actions.TeamAction;
-import org.eclipse.team.internal.ui.history.CompareFileRevisionEditorInput;
-import org.eclipse.team.internal.ui.synchronize.SaveablesCompareEditorInput;
-import org.eclipse.ui.*;
-
-/**
- *
- * Duplicate code from TeamAction
- *
- */
-public class PapyrusCompareAction extends TeamAction {
-
-
-
- protected void execute(IAction action) throws InvocationTargetException, InterruptedException {
-
- IResource[] selectedResources = getSelectedResources();
-
- ITypedElement ancestor = null;
- ITypedElement left = null;
- ITypedElement right = null;
-
- if(selectedResources.length == 2) {
- if(selectedResources[0] != null)
- left = getElementFor(selectedResources[0]);
-
- if(selectedResources[1] != null)
- right = getElementFor(selectedResources[1]);
-
- } else if(selectedResources.length == 3) {
- // prompt for ancestor
- SelectAncestorDialog dialog = new SelectAncestorDialog(getShell(), selectedResources);
- int code = dialog.open();
- if(code != Window.OK)
- return;
-
- ancestor = getElementFor(dialog.ancestorResource);
- left = getElementFor(dialog.leftResource);
- right = getElementFor(dialog.rightResource);
- } else {
- return;
- }
- openInCompare(ancestor, left, right);
- }
-
- private void openInCompare(ITypedElement ancestor, ITypedElement left, ITypedElement right) {
-
- IWorkbenchPage workBenchPage = getTargetPage();
- CompareEditorInput input = new PapyrusSaveablesCompareEditorInput(ancestor, left, right, workBenchPage) ;
-
- try {
- workBenchPage.openEditor(input, "org.eclipse.papyrus.emf.compare.transactional.editor", true);
- } catch (PartInitException e) {
- Activator.log.error(e);
- }
- }
-
- public boolean isEnabled() {
- int l = getSelectedResources().length;
- return l == 2 || l == 3;
- }
-
- private ITypedElement getElementFor(IResource resource) {
- return SaveablesCompareEditorInput.createFileElement((IFile)resource);
- }
-
- // see
- // org.eclipse.compare.internal.ResourceCompareInput.SelectAncestorDialog
- private class SelectAncestorDialog extends MessageDialog {
-
- private IResource[] theResources;
-
- IResource ancestorResource;
-
- IResource leftResource;
-
- IResource rightResource;
-
- private Button[] buttons;
-
- public SelectAncestorDialog(Shell parentShell, IResource[] theResources) {
- super(parentShell, TeamUIMessages.SelectAncestorDialog_title, null, TeamUIMessages.SelectAncestorDialog_message, MessageDialog.QUESTION, new String[]{ IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL }, 0);
- this.theResources = theResources;
- }
-
- protected Control createCustomArea(Composite parent) {
- Composite composite = new Composite(parent, SWT.NONE);
- composite.setLayout(new GridLayout());
- buttons = new Button[3];
- for(int i = 0; i < 3; i++) {
- buttons[i] = new Button(composite, SWT.RADIO);
- buttons[i].addSelectionListener(selectionListener);
- buttons[i].setText(NLS.bind(TeamUIMessages.SelectAncestorDialog_option, theResources[i].getFullPath().toPortableString()));
- buttons[i].setFont(parent.getFont());
- // set initial state
- buttons[i].setSelection(i == 0);
- }
- pickAncestor(0);
- return composite;
- }
-
- private void pickAncestor(int i) {
- ancestorResource = theResources[i];
- leftResource = theResources[i == 0 ? 1 : 0];
- rightResource = theResources[i == 2 ? 1 : 2];
- }
-
- private SelectionListener selectionListener = new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent e) {
- Button selectedButton = (Button)e.widget;
- if(!selectedButton.getSelection())
- return;
- for(int i = 0; i < 3; i++)
- if(selectedButton == buttons[i])
- pickAncestor(i);
- }
- };
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusSaveablesCompareEditorInput.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusSaveablesCompareEditorInput.java
deleted file mode 100644
index a698971b702..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/PapyrusSaveablesCompareEditorInput.java
+++ /dev/null
@@ -1,70 +0,0 @@
-package org.eclipse.papyrus.emf.compare.transactional.editor.v2;
-
-import org.eclipse.compare.CompareEditorInput;
-import org.eclipse.compare.CompareViewerPane;
-import org.eclipse.compare.CompareViewerSwitchingPane;
-import org.eclipse.compare.ITypedElement;
-import org.eclipse.compare.internal.CompareStructureViewerSwitchingPane;
-import org.eclipse.compare.structuremergeviewer.IDiffContainer;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.papyrus.emf.compare.transactional.editor.Activator;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.team.internal.ui.synchronize.SaveablesCompareEditorInput;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.Saveable;
-
-
-public class PapyrusSaveablesCompareEditorInput extends SaveablesCompareEditorInput {
-
- private String TRANSACTIONAL_COMPARE_EDITOR_IMAGE_PATH = "icons/papyrus_compare_editor.gif";
-private ITypedElement left;
-
-//TODO create an interface?
-public ITypedElement getLeft() {
- return left;
-}
-
-
-//TODO create an interface?
-public ITypedElement getRight() {
- return right;
-}
-
-
-
-private ITypedElement right;
- public PapyrusSaveablesCompareEditorInput(ITypedElement ancestor, ITypedElement left, ITypedElement right, IWorkbenchPage page) {
- super(ancestor, left, right, page);
- this.left = left;
- this.right = right;
- }
-
-
-
- protected Image fgTitleImage;
-
-
- public Image getTitleImage() {
- if(fgTitleImage == null) {
- fgTitleImage = Activator.getImage(TRANSACTIONAL_COMPARE_EDITOR_IMAGE_PATH);
- }
- return fgTitleImage;
- }
-
-
- public ImageDescriptor getImageDescriptor() {
- return ImageDescriptor.createFromImage(getTitleImage());
- }
-
- public String getToolTipText() {
- return getTitle();
- }
-
- public String getTitle() {
- String title = super.getTitle();
- return title.replaceFirst("Compare", "PapyrusCompare");
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalActionBarContributor.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalActionBarContributor.java
deleted file mode 100644
index bbc3cd56bac..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalActionBarContributor.java
+++ /dev/null
@@ -1,111 +0,0 @@
-package org.eclipse.papyrus.emf.compare.transactional.editor.v2;
-
-import java.awt.color.ProfileDataException;
-import java.util.EventObject;
-import java.util.Set;
-import java.util.jar.Manifest;
-
-import org.eclipse.core.commands.operations.IOperationHistoryListener;
-import org.eclipse.core.commands.operations.IUndoContext;
-import org.eclipse.core.commands.operations.OperationHistoryEvent;
-import org.eclipse.emf.common.command.CommandStackListener;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.workspace.ResourceUndoContext;
-import org.eclipse.sphinx.emf.compare.ui.editor.ModelCompareEditor;
-import org.eclipse.sphinx.emf.compare.ui.internal.Activator;
-import org.eclipse.sphinx.emf.util.WorkspaceEditingDomainUtil;
-import org.eclipse.sphinx.platform.util.PlatformLogUtil;
-import org.eclipse.ui.IEditorPart;
-
-
-public class TransactionalActionBarContributor extends EditingDomainActionBarContributor {
-
- //TODO useful?
-//not used!
- protected IOperationHistoryListener historyListener;
-
- public void init(org.eclipse.ui.IActionBars actionBars) {
- super.init(actionBars);
- historyListener = createOperationHistoryListener();
-
- }
-
- /**
- * Creates the {@linkplain IOperationHistoryListener operation history listener} that is responsible for setting
- * editing domain on <em>undo</em>/<em>redo</em> actions as soon as an operation (on the command stack of that
- * precise editing domain) has been finished.
- *
- * @return The {@linkplain IOperationHistoryListener operation history listener} to add on the concerned editing
- * domain's command stack.
- */
- protected IOperationHistoryListener createOperationHistoryListener() {
- return new IOperationHistoryListener() {
-
- public void historyNotification(OperationHistoryEvent event) {
- if(event.getEventType() == OperationHistoryEvent.DONE || event.getEventType() == OperationHistoryEvent.UNDONE || event.getEventType() == OperationHistoryEvent.REDONE) {
- undoAction.update();
- redoAction.update();
- // IUndoContext[] contexts = event.getOperation().getContexts();
- // for (IUndoContext context : contexts) {
- // if (ModelCompareEditor.ID.equals(context.getLabel())) {
- // Set<Resource> affectedResources = ResourceUndoContext.getAffectedResources(event.getOperation());
- // TransactionalEditingDomain editingDomain = null;
- // for (Resource resource : affectedResources) {
- // TransactionalEditingDomain domain = WorkspaceEditingDomainUtil.getEditingDomain(resource);
- // if (editingDomain != null && editingDomain != domain) {
- // //
- // // !! Important Note !!
- // // For the moment, the case where two elements from different editing domain are
- // // compared is not really supported because we do not know very well the expected
- // // behavior of such a kind of comparison.
- // //
- // UnsupportedOperationException ex = new UnsupportedOperationException("Several editing domains"); //$NON-NLS-1$
- // PlatformLogUtil.logAsWarning(Activator.getPlugin(), ex);
- // editingDomain = null;
- // break;
- // } else {
- // editingDomain = domain;
- // }
- // }
- // if (editingDomain != null) {
- // // Set editing domain on Undo/Redo actions
- // if (undoAction != null) {
- // undoAction.setEditingDomain(editingDomain);
- // }
- // if (redoAction != null) {
- // redoAction.setEditingDomain(editingDomain);
- // }
- // }
- // break;
- // }
- // }
- }
- }
- };
- }
-
- private TransactionalEditingDomain domain;
-
- @Override
- public void activate() {
- IEditorPart part = getActiveEditor();
- if(part instanceof IEditingDomainProvider) {
- domain = (TransactionalEditingDomain)((IEditingDomainProvider)part).getEditingDomain();
- domain.getCommandStack().addCommandStackListener(new CommandStackListener() {
-
- public void commandStackChanged(EventObject event) {
- // TODO Auto-generated method stub
- undoAction.update();
- redoAction.update();
- //TODO : try to refresh the editor!
- //getActiveEditor().getEditorInput().
- }
- });
- }
- // TODO Auto-generated method stub
- super.activate();
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalCompareEditor.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalCompareEditor.java
deleted file mode 100644
index 7d7bac69752..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.emf.compare.transactional.editor/src/org/eclipse/papyrus/emf/compare/transactional/editor/v2/TransactionalCompareEditor.java
+++ /dev/null
@@ -1,428 +0,0 @@
-package org.eclipse.papyrus.emf.compare.transactional.editor.v2;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import org.eclipse.compare.CompareEditorInput;
-import org.eclipse.compare.ITypedElement;
-import org.eclipse.compare.internal.CompareEditor;
-import org.eclipse.core.commands.operations.IOperationHistory;
-import org.eclipse.core.commands.operations.IOperationHistoryListener;
-import org.eclipse.core.commands.operations.IUndoContext;
-import org.eclipse.core.commands.operations.IUndoableOperation;
-import org.eclipse.core.commands.operations.ObjectUndoContext;
-import org.eclipse.core.commands.operations.OperationHistoryEvent;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.transaction.util.TransactionUtil;
-import org.eclipse.emf.workspace.IWorkspaceCommandStack;
-import org.eclipse.emf.workspace.ResourceUndoContext;
-import org.eclipse.papyrus.emf.compare.transactional.editor.Activator;
-import org.eclipse.sphinx.emf.workspace.ui.saving.BasicModelSaveablesProvider.SiteNotifyingSaveablesLifecycleListener;
-import org.eclipse.team.internal.ui.synchronize.LocalResourceTypedElement;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IEditorSite;
-import org.eclipse.ui.ISaveablesLifecycleListener;
-import org.eclipse.ui.IWorkbenchPartSite;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.SaveablesLifecycleEvent;
-
-
-@SuppressWarnings("restriction")
-//remove the warning for CompareEditor which is internal
-public class TransactionalCompareEditor extends CompareEditor implements IEditingDomainProvider/*,ICustomEditingDomainProvider/*implements IEditingDomainItemProvider*/{
-
- /**
- * The identifier of this editor (as contributed).
- */
- public static String ID = "org.eclipse.papyrus.emf.compare.transactional.editor";
-
- /**
- * The undo context for this compare editor.
- */
- protected IUndoContext undoContext;
-
- //TODO not used for the moment
- private IOperationHistoryListener affectedObjectsListener;
-
- /**
- * Default constructor.
- */
- public TransactionalCompareEditor() {
- // Create undo context
- undoContext = new ObjectUndoContext(this, ID);
- }
-
- @Override
- public void init(IEditorSite site, IEditorInput input) throws PartInitException {
-// super.init(site, input);
-
- // First do not keep duplicated editing domain entries
-// Set<TransactionalEditingDomain> editingDomains = new HashSet<TransactionalEditingDomain>();
-// for (TransactionalEditingDomain editingDomain : getEditingDomains()) {
-// if (editingDomain != null) {
-// editingDomains.add(editingDomain);
-// }
-// }
-// if (editingDomains.isEmpty()) {
-// Activator.log.error(new RuntimeException("Editing domain not found"));
-// }
-
- // Then creates and registers listeners on resulting editing domains
-// for (TransactionalEditingDomain editingDomain : editingDomains) {
-// //TODO
-// //addTransactionalEditingDomainListeners(editingDomain);
-// }
- }
-
- /**
- * @return An array of {@linkplain TransactionalEditingDomain editing domain}s which size is 2 and where at index 0
- * is editing domain from left, at index 1 is editing domain from right.
- */
- private TransactionalEditingDomain[] editingDomains ;
- public TransactionalEditingDomain[] getEditingDomains() {
- if(editingDomains==null){
- //TransactionalEditingDomain[] editingDomains = new TransactionalEditingDomain[2];
- editingDomains = new TransactionalEditingDomain[2];
- EObject[] modelRoots = getModelRoots();
-// IFile[] modelRoots = getModelRoots();
- if (modelRoots[0] != null) {
-// editingDomains[0] = WorkspaceEditingDomainUtil.getEditingDomain(modelRoots[0]);
-// System.out.println("editingDomain file 1 = " + editingDomains[0]);
- }
- if (modelRoots[1] != null) {
-// editingDomains[1] = WorkspaceEditingDomainUtil.getEditingDomain(modelRoots[1]);
-// System.out.println("editingDomain file 2 = " + editingDomains[1]);
- }
-// if (editingDomains[0] == null && editingDomains[1] == null) {
-// Activator.log.error(new RuntimeException("No editing domain found")); //$NON-NLS-1$
-// PlatformLogUtil.logAsError(Activator.getPlugin(), new RuntimeException("No editing domain found")); //$NON-NLS-1$
-// }
-
- //TODO
-// editingDomains[0] = new TransactionalE
- TransactionalEditingDomain editingDomain = TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain();
- editingDomains[0] = editingDomain;
- editingDomains[1] = editingDomain;
- }
- return editingDomains;
- }
-
- /**
- * @return The root objects of the model part that are currently being compared in this editor or an empty array if
- * no such objects are available. Anyway, always returns an array of {@linkplain EObject}s which size is 2
- * and where at index 0 is the left root and at index 1 is the right root.
- */
- public EObject[] getModelRoots() {
-// public IFile[] getModelRoots() {
-// List<IFile>
- IFile[] files = new IFile[2];
- EObject[] modelRoots = new EObject[2];
- IEditorInput editorInput = getEditorInput();
- ITypedElement left = null;
- ITypedElement right = null;
-
- if(editorInput instanceof PapyrusSaveablesCompareEditorInput){
- left = ((PapyrusSaveablesCompareEditorInput)editorInput).getLeft();
- right = ((PapyrusSaveablesCompareEditorInput)editorInput).getRight();
- }else if(editorInput instanceof CompareEditorInput){
- //TODO manage other case?
- }
-
- if(left instanceof LocalResourceTypedElement){
- IResource res = ((LocalResourceTypedElement)left).getResource();
- if(res instanceof IFile){
- files[0] = (IFile)res;
- }
- }
-
- if(right instanceof LocalResourceTypedElement){
- IResource res = ((LocalResourceTypedElement)right).getResource();
- if(res instanceof IFile){
- files[1] = (IFile)res;
- }
- }
-
- return modelRoots;
-// return files;
- }
-
- //IEditingDomainProvider
-// public Collection<?> getChildren(Object object) {
-// // TODO Auto-generated method stub
-// return null;
-// }
-//
-// public Object getParent(Object object) {
-// // TODO Auto-generated method stub
-// return null;
-// }
-//
-// public Collection<?> getNewChildDescriptors(Object object, EditingDomain editingDomain, Object sibling) {
-// // TODO Auto-generated method stub
-// return null;
-// }
-//
-// public Command createCommand(Object object, EditingDomain editingDomain, Class<? extends Command> commandClass, CommandParameter commandParameter) {
-// // TODO Auto-generated method stub
-// return null;
-// }
-
-
- @Override
- public void dispose() {
- for (TransactionalEditingDomain editingDomain : getEditingDomains()) {
- if (editingDomain != null) {
- removeTransactionalEditingDomainListeners(editingDomain);
- }
- }
-
- for (IOperationHistory operationHistory : getOperationHistories()) {
- if (operationHistory != null) {
- operationHistory.dispose(getUndoContext(), true, true, true);
- }
- }
- super.dispose();
- }
-
- protected void addTransactionalEditingDomainListeners(TransactionalEditingDomain editingDomain) {
- if (editingDomain != null) {
- // Create and register IOperationHistoryListener that detects changed objects
- affectedObjectsListener = createAffectedObjectsListener();
- Assert.isNotNull(affectedObjectsListener);
- ((IWorkspaceCommandStack) editingDomain.getCommandStack()).getOperationHistory().addOperationHistoryListener(affectedObjectsListener);
- }
- }
-
- protected void removeTransactionalEditingDomainListeners(TransactionalEditingDomain editingDomain) {
- if (editingDomain != null) {
- if (affectedObjectsListener != null) {
- IOperationHistory operationHistory = ((IWorkspaceCommandStack) editingDomain.getCommandStack()).getOperationHistory();
- operationHistory.removeOperationHistoryListener(affectedObjectsListener);
- }
- }
- }
-
- /**
- * Creates and returns the {@linkplain IOperationHistoryListener listener} to add on the
- * {@linkplain IOperationHistory operation history} of {@linkplain TransactionalEditingDomain editing domain}'s
- * {@linkplain IWorkspaceCommandStack command stack}.
- * <p>
- * The listener's implementation that is provided here aims at updating {@linkplain IUndoableOperation operation}'s
- * context by first removing default {@linkplain IUndoContext undo context} and second by adding
- * {@linkplain IUndoContext undo context} encapsulated by this editor.
- * <p>
- * Clients may override this default implementation.
- *
- * @return The {@linkplain IOperationHistoryListener operation history listener} to register on the command stack of
- * the concerned editing domain.
- */
- protected IOperationHistoryListener createAffectedObjectsListener() {
- return new IOperationHistoryListener() {
-
- public void historyNotification(final OperationHistoryEvent event) {
- IUndoableOperation operation = event.getOperation();
- if (event.getEventType() == OperationHistoryEvent.ABOUT_TO_EXECUTE) {
- handleOperationAboutToExecute(operation);
- } else if (event.getEventType() == OperationHistoryEvent.DONE || event.getEventType() == OperationHistoryEvent.UNDONE
- || event.getEventType() == OperationHistoryEvent.REDONE) {
- Set<?> affectedResources = ResourceUndoContext.getAffectedResources(operation);
- Resource[] resources = getModelRootsResources();
- boolean isLeftResourceAffected = resources[0] != null ? affectedResources.contains(resources[0]) : false;
- boolean isRightResourceAffected = resources[1] != null ? affectedResources.contains(resources[1]) : false;
- if (isLeftResourceAffected || isRightResourceAffected) {
- handleOperationFinished(operation);
- }
- }
- }
-
- private void handleOperationAboutToExecute(final IUndoableOperation operation) {
- if (operation.canUndo()) {
- IWorkbenchPartSite site = getSite();
- if (site != null) {
- site.getShell().getDisplay().syncExec(new Runnable() {
- public void run() {
- if (isActivePart()) {
- Resource[] resources = getModelRootsResources();
- for (Resource resource : resources) {
- TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(resource);
- if (editingDomain != null && editingDomain.getCommandStack() instanceof IWorkspaceCommandStack) {
- IWorkspaceCommandStack cmdStack = (IWorkspaceCommandStack) editingDomain.getCommandStack();
- IUndoContext defaultUndoContext = cmdStack.getDefaultUndoContext();
- if (defaultUndoContext != null) {
- // Remove default undo context and this editor's undo context
- operation.removeContext(defaultUndoContext);
- }
- }
- }
- operation.addContext(getUndoContext());
- }
- }
- });
- }
- }
- }
-
- private void handleOperationFinished(final IUndoableOperation operation) {
- getSite().getShell().getDisplay().asyncExec(new Runnable() {
- public void run() {
- // Update editor part name
- // FIXME Not needed for the moment.
- // setPartName(getModelRootsNames());
- }
- });
- }
- };
- }
-
- /**
- * @return
- */
- public ISaveablesLifecycleListener createModelSaveablesLifecycleListener() {
- return new SiteNotifyingSaveablesLifecycleListener(this) {
- @Override
- public void handleLifecycleEvent(SaveablesLifecycleEvent event) {
- super.handleLifecycleEvent(event);
-
- if (event.getEventType() == SaveablesLifecycleEvent.DIRTY_CHANGED) {
- firePropertyChange(PROP_DIRTY);
- }
- }
- };
- }
-
- @Override
- public boolean isSaveOnCloseNeeded() {
- // Model-based editors don't need to be saved when being closed even if the model is dirty, because they don't
- // own the model. The model is loaded, managed, and saved globally, i.e. it is not destroyed but stays there
- // when editors are being closed.
- return false;
- }
-
- @Override
- public boolean isSaveAsAllowed() {
- // TODO Modify implementation as soon as saving as diff model would be available.
- return false;
- }
-
- @Override
- public Object getAdapter(@SuppressWarnings("rawtypes") Class key) {
- if (key.equals(IUndoContext.class)) {
- // Used by undo/redo actions to get their undo context
- return getUndoContext();
- } else {
- return super.getAdapter(key);
- }
- }
-
- /**
- * @return The {@linkplain IUndoContext undo context} associated to this compare editor.
- */
- public IUndoContext getUndoContext() {
- return undoContext;
- }
-
-
- protected IOperationHistory[] getOperationHistories() {
- IOperationHistory[] operationHistories = new IOperationHistory[2];
- TransactionalEditingDomain[] editingDomains = getEditingDomains();
- for (int i = 0; i < 2; i++) {
- if (editingDomains[i] != null) {
- operationHistories[i] = ((IWorkspaceCommandStack) editingDomains[i].getCommandStack()).getOperationHistory();
- }
- }
- return operationHistories;
- }
-
- /**
- * <p>
- * <table>
- * <tr valign=top>
- * <td><b>Note</b>&nbsp;&nbsp;</td>
- * <td>Whatever the model roots are (i.e. if <code>null</code> or not), this method returns an array of
- * {@linkplain Resource}s whose size is 2.</td>
- * </tr>
- * </table>
- *
- * @return
- */
- protected Resource[] getModelRootsResources() {
- Resource[] resources = new Resource[2];
- EObject[] modelRoots = getModelRoots();
- for (int i = 0; i < 2; i++) {
- EObject modelRoot = modelRoots[i];
- if (modelRoot != null) {
- resources[i] = modelRoot.eResource();
- }
- }
- return resources;
- }
-
- protected String getModelRootsNames() {
- String[] labels = new String[2];
- EObject[] modelRoots = getModelRoots();
- AdapterFactoryItemDelegator[] itemDelegators = getItemDelegators();
- for (int i = 0; i < 2; i++) {
- if (modelRoots[i] != null && itemDelegators[i] != null) {
- // Label of model root
- labels[i] = itemDelegators[i].getText(modelRoots[i]);
- }
- }
- if (labels[0] != null && labels[1] != null) {
- return labels[0] + " <---> " + labels[1]; //$NON-NLS-1$
- } else {
- return ((CompareEditorInput) getEditorInput()).getTitle();
- }
- }
-
- protected AdapterFactory[] getAdapterFactories() {
- AdapterFactory[] adapterFactories = new AdapterFactory[2];
- TransactionalEditingDomain[] editingDomains = getEditingDomains();
- for (int i = 0; i < 2; i++) {
- TransactionalEditingDomain editingDomain = editingDomains[i];
- if (editingDomain != null) {
- adapterFactories[i] = ((AdapterFactoryEditingDomain) editingDomain).getAdapterFactory();
- }
- }
- return adapterFactories;
- }
-
- protected AdapterFactoryItemDelegator[] getItemDelegators() {
- AdapterFactoryItemDelegator[] itemDelegators = new AdapterFactoryItemDelegator[2];
- AdapterFactory[] adapterFactories = getAdapterFactories();
- for (int i = 0; i < 2; i++) {
- AdapterFactory adapterFactory = adapterFactories[i];
- if (adapterFactory != null) {
- itemDelegators[i] = new AdapterFactoryItemDelegator(adapterFactory);
- }
- }
- return itemDelegators;
- }
-
- protected boolean isActivePart() {
- return this == getSite().getWorkbenchWindow().getPartService().getActivePart();
- }
-
- public TransactionalEditingDomain getEditingDomain() {
- return getEditingDomains()[0];
- }
-
-
-
-// @Override
-// public void setInput(IEditorInput input) {
-// if (input instanceof ModelElementCompareEditorInput) {
-// super.setInput(input);
-// } else {
-// PlatformLogUtil.logAsError(Activator.getPlugin(), new RuntimeException(Messages.error_invalidEditorInput));
-// }
-// }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.classpath b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.classpath
deleted file mode 100644
index f6e5811e42c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.project b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.project
deleted file mode 100644
index 73a08911e95..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.sysml.emf.compare.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 363780c849d..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Fri Oct 28 10:54:13 CEST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/META-INF/MANIFEST.MF b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index f9eeef542ca..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,10 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.papyrus.sysml.emf.compare.ui;singleton:=true
-Bundle-Version: 0.9.0.qualifier
-Bundle-Vendor: %providerName
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.papyrus.infra.emf.compare.ui;bundle-version="0.9.0"
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/about.html b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/build.properties b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/build.properties
deleted file mode 100644
index 454578ed04e..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/build.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-bin.includes = .,\
- plugin.xml,\
- plugin.properties,\
- todo/,\
- plugin-doc.pdoc,\
- icons/,\
- about.html,\
- META-INF/
-src.includes = todo/,\
- plugin.xml,\
- plugin.properties,\
- plugin-doc.pdoc,\
- icons/,\
- about.html,\
- META-INF/
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/icons/sysml.gif b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/icons/sysml.gif
deleted file mode 100644
index dc2c17a9ac0..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/icons/sysml.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin-doc.pdoc b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin-doc.pdoc
deleted file mode 100644
index 728c936d200..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin-doc.pdoc
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<doc:Documentation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:doc="http://www.eclipse.org/papyrus/documentation/plugin/documentation" description="This plugin provides elements to customize EMF-Compare for SysML">
- <implicitDependencies plugin="org.eclipse.papyrus.infra.emf.compare.ui" comment="This plugin uses the extension point org.eclipse.papyrus.infra.emf.compare.ui.customization and the action &quot;Find unused dependencies&quot; removes it!"/>
- <referent firstName="Vincent" lastName="Lorenzo" eMail="vincent.lorenzo@cea.fr" currentCompany="CEA-LIST"/>
-</doc:Documentation>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.properties b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.properties
deleted file mode 100644
index 8a7df32130c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-#Properties file for org.eclipse.papyrus.sysml.emf.compare
-providerName = Eclipse Modeling Project
-pluginName = Papyrus SysML Compare
-compareCustomization.tooltip = Apply the SysML customization on the viewers \ No newline at end of file
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.xml b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.xml
deleted file mode 100644
index 0449a432ebe..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/plugin.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?eclipse version="3.4"?>
-
-<plugin>
-
- <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
- <browserCustomization
- file="todo/dummySysML.uiCustom"
- loadByDefault="true"/>
- </extension>
- <extension
- point="org.eclipse.papyrus.infra.emf.compare.ui.customization">
- <compareCustomization
- file="todo/dummySysML.uiCustom"
- icon="icons/sysml.gif"
- name="org.eclipse.papyrus.sysml.emf.compare.ui.sysml.customization"
- tooltip="%compareCustomization.tooltip">
- </compareCustomization>
- </extension>
-</plugin>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/todo/dummySysML.uiCustom b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/todo/dummySysML.uiCustom
deleted file mode 100644
index 28f50552307..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.sysml.emf.compare.ui/todo/dummySysML.uiCustom
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/uml2/3.0.0/UML"/>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.classpath b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.classpath
deleted file mode 100644
index 2d1a4302f04..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.project b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.project
deleted file mode 100644
index 465c4541780..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.project
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.compare.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.emf.facet.common.core.builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.emf.facet.common.ProjectNature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.settings/org.eclipse.jdt.core.prefs b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0cc8f3fb6fc..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Wed Oct 12 17:16:52 CEST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/META-INF/MANIFEST.MF b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index e01ad53e420..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,25 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Papyrus UML Compare
-Bundle-SymbolicName: org.eclipse.papyrus.uml.compare.ui;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.papyrus.uml.compare.ui.Activator
-Bundle-Vendor: Eclipse Modeling Project
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.compare,
- org.eclipse.emf.compare.ui,
- org.eclipse.emf.facet.infra.browser.custom,
- org.eclipse.emf.facet.infra.browser.custom.core,
- org.eclipse.emf.facet.infra.browser.uicore,
- org.eclipse.emf.compare.diff,
- org.eclipse.emf.edit.ui,
- org.eclipse.emf.compare,
- org.eclipse.emf.transaction,
- org.eclipse.emf.workspace;bundle-version="1.5.1"
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
-Export-Package: org.eclipse.papyrus.uml.compare.ui,
- org.eclipse.papyrus.uml.compare.ui.merge.viewer,
- org.eclipse.papyrus.uml.compare.ui.provider,
- org.eclipse.papyrus.uml.compare.ui.structure.viewer
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/build.properties b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/build.properties
deleted file mode 100644
index 09eda12bd38..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- resources/emfcompare.uiCustom
-source.. = src/
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/PapyrusLogo16x16.gif b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/PapyrusLogo16x16.gif
deleted file mode 100644
index 8a31f458379..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/PapyrusLogo16x16.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/papyrus_compare_editor.gif b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/papyrus_compare_editor.gif
deleted file mode 100644
index e817df6ff0c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/icons/papyrus_compare_editor.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/plugin.xml b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/plugin.xml
deleted file mode 100644
index 8610ce8257c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/plugin.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?eclipse version="3.4"?>
-
-<plugin>
- <extension point="org.eclipse.compare.structureMergeViewers">
- <viewer class="org.eclipse.papyrus.uml.compare.ui.structure.viewer.UMLStructureMergeViewerCreator" extensions="uml" id="org.eclipse.papyrus.uml.compare.ui.structureviewer" label="My Structure Merge Viewer">
- </viewer>
- <contentTypeBinding contentTypeId="org.eclipse.papyrus.uml.compare.papyrus" structureMergeViewerId="org.eclipse.papyrus.uml.compare.ui.structureviewer">
- </contentTypeBinding>
- </extension>
-
- <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
- <browserCustomization file="resources/emfcompare.uiCustom"/>
- </extension>
- <extension
- point="org.eclipse.core.contenttype.contentTypes">
- <content-type
- id="org.eclipse.papyrus.uml.compare.papyrus"
- name="Papyrus type"
- priority="normal">
- </content-type>
- </extension>
- <extension
- point="org.eclipse.compare.contentMergeViewers">
- <viewer
- class="org.eclipse.papyrus.uml.compare.ui.merge.viewer.PapyrusContentMergeViewerCreator"
- extensions="uml"
- id="org.eclipse.papyrus.uml.compare.ui.content.merge.viewer"
- label="My Papyrus Content Merge Viewer">
- </viewer>
- <contentTypeBinding
- contentMergeViewerId="org.eclipse.papyrus.uml.compare.ui.content.merge.viewer"
- contentTypeId="org.eclipse.papyrus.uml.compare.papyrus"
- structureMergeViewerId="org.eclipse.papyrus.uml.compare.ui.structureviewer">
- </contentTypeBinding>
- </extension>
- <extension
- point="org.eclipse.compare.contentMergeViewers">
- <viewer
- class="org.eclipse.papyrus.uml.compare.ui.transactional.merge.viewer.TransactionalContentMergeViewerCreator"
- extensions="uml"
- id="org.eclipse.papyrus.uml.compare.ui.content.transactional.merge.viewer"
- label="Transactional Papyrus Content Merge Viewer">
- </viewer>
- <contentTypeBinding
- contentMergeViewerId="org.eclipse.papyrus.uml.compare.ui.content.merge.viewer"
- contentTypeId="org.eclipse.papyrus.uml.compare.papyrus"
- structureMergeViewerId="org.eclipse.papyrus.uml.compare.ui.structureviewer">
- </contentTypeBinding>
- </extension>
-</plugin>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/resources/emfcompare.uiCustom b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/resources/emfcompare.uiCustom
deleted file mode 100644
index ba6d75bfd7b..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/resources/emfcompare.uiCustom
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/emf/compare/diff/1.1" allQuerySetsAvailable="false"/>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/Activator.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/Activator.java
deleted file mode 100644
index 85069d90aa7..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/Activator.java
+++ /dev/null
@@ -1,110 +0,0 @@
-package org.eclipse.papyrus.uml.compare.ui;
-
-import java.util.List;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.facet.infra.browser.custom.MetamodelView;
-import org.eclipse.emf.facet.infra.browser.custom.core.CustomizationsCatalog;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.compare.ui"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /**
- * Returns the image from the given path.
- *
- * @param path the path the image to be displayed
- * @return the image found
- * FIXME
- */
- public static Image getImage(String path) {
- final ImageRegistry registry = getDefault().getImageRegistry();
- Image image = registry.get(path);
- if(image == null) {
- registry.put(path, Activator.imageDescriptorFromPlugin(PLUGIN_ID, path));
- image = registry.get(path);
- }
- return image;
-
- }
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return plugin;
- }
-
- private CustomizationManager fCustomizationManager;
- /**
- * duplicate code from the ModelExplorer
- * @return the customization manager in charge to adapt element in modisco
- */
- public CustomizationManager getCustomizationManager() {
- if(this.fCustomizationManager == null) {
- this.fCustomizationManager = new CustomizationManager();
- init(this.fCustomizationManager);
- }
- return this.fCustomizationManager;
- }
-
- private void init(final CustomizationManager customizationManager) {
- // the appearance can be customized here:
-
- customizationManager.setShowDerivedLinks(true);
-
- try {
-
- // load customizations defined as default through the customization
- // extension
- List<MetamodelView> registryDefaultCustomizations = CustomizationsCatalog.getInstance().getRegistryDefaultCustomizations();
- for(MetamodelView metamodelView : registryDefaultCustomizations) {
- customizationManager.registerCustomization(metamodelView);
- }
- customizationManager.loadCustomizations();
- //TODO not useful for the moment
-// loadFacetsForCustomizations(registryDefaultCustomizations,customizationManager);
-
- } catch (Throwable e) {
- Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Error initializing customizations", e)); //$NON-NLS-1$
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/PapyrusContentMergeViewerCreator.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/PapyrusContentMergeViewerCreator.java
deleted file mode 100644
index 226a4207d6e..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/PapyrusContentMergeViewerCreator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.papyrus.uml.compare.ui.merge.viewer;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.IViewerCreator;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.widgets.Composite;
-
-
-public class PapyrusContentMergeViewerCreator implements IViewerCreator {
-
- public PapyrusContentMergeViewerCreator() {
- // TODO Auto-generated constructor stub
- }
-
- public Viewer createViewer(Composite parent, CompareConfiguration config) {
- //return new ModelContentMergeViewer(parent,config);
- return new UMLModelContentMergeViewer(parent, config);
- }
-
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeDiffTab.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeDiffTab.java
deleted file mode 100644
index 0e86910da87..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeDiffTab.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.ui.merge.viewer;
-
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab;
-import org.eclipse.swt.widgets.Composite;
-
-
-/**
- * The Structure Tab in the Merge Viewer.
- */
-//duplicate code from tatiana
-//TODO : verify the super class
-public class UMLModelContentMergeDiffTab extends ModelContentMergeDiffTab {
-
-
- /**
- * Instantiates a new uML model content merge diff tab.
- *
- * @param parentComposite
- * the parent composite
- * @param side
- * the side
- * @param parentFolder
- * the parent folder
- */
- public UMLModelContentMergeDiffTab(Composite parentComposite, int side, ModelContentMergeTabFolder parentFolder) {
- super(parentComposite, side, parentFolder);
- }
-
-// /*
-// * (non-Javadoc)
-// *
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab#setSelectionToWidget(java.util.List, boolean)
-// */
-// @Override
-// protected void setSelectionToWidget(List l, boolean reveal) {
-// // tfesenko filter stereotype applications
-// List result = new ArrayList();
-// for(Object next : l) {
-// if(next instanceof EObject && UMLCompareUtils.isStereotypeApplication((EObject)next)) {
-// EObject stereotypeApplication = (EObject)next;
-// result.add(UMLUtil.getBaseElement(stereotypeApplication));
-// } else {
-// result.add(next);
-// }
-// }
-// super.setSelectionToWidget(result, reveal);
-// }
-//
-// /*
-// * (non-Javadoc)
-// *
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab#setReflectiveInput(java.lang.Object)
-// */
-// @Override
-// public void setReflectiveInput(Object object) {
-// // tfesenko 336361 - [UML Compare] Compare two elements: show right element as root
-// if(object instanceof EObject) {
-// clearCaches();
-// // tfesenko default implementation sets object.eResource here
-// setInput(object);
-// setupCaches();
-// needsRedraw = true;
-// }
-// super.setReflectiveInput(object);
-// }
-
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeTabFolder.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeTabFolder.java
deleted file mode 100644
index 81248c673a5..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeTabFolder.java
+++ /dev/null
@@ -1,234 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- * Vincent Lorenzo (CEA LIST) - 349650: [Papyrus Merge] IndexOfBoundException
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.ui.merge.viewer;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonSnapshot;
-import org.eclipse.emf.compare.ui.TypedElementWrapper;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.content.part.IModelContentMergeViewerTab;
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.compare.util.AdapterUtils;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.papyrus.uml.compare.ui.provider.PapyrusLabelProvider;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * The Class UMLModelContentMergeTabFolder.
- */
-//duplicate code from tatiana
-//TODO verify the super class
-public class UMLModelContentMergeTabFolder extends ModelContentMergeTabFolder {
-
- /** The my uml viewer. */
- protected final UMLModelContentMergeViewer myUMLViewer;
-
- /**
- * Instantiates a new uML model content merge tab folder.
- *
- * @param viewer the viewer
- * @param composite the composite
- * @param side the side
- */
- public UMLModelContentMergeTabFolder(ModelContentMergeViewer viewer, Composite composite, int side) {
- super(viewer, composite, side);
- myUMLViewer = (UMLModelContentMergeViewer)viewer;
- }
-
-
- @Override
- protected IModelContentMergeViewerTab createModelContentMergeDiffTab(Composite parent) {
-// IModelContentMergeViewerTab tab = super.createModelContentMergeDiffTab(parent);
- UMLModelContentMergeDiffTab diffTab = new UMLModelContentMergeDiffTab(parent, partSide, this);
- diffTab.setContentProvider(createDiffTabContentProvider());
- diffTab.setLabelProvider(new PapyrusLabelProvider());
- return diffTab;
-
- }
-//
-// /* (non-Javadoc)
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder#createModelContentMergeViewerTab(org.eclipse.swt.widgets.Composite)
-// */
-// @Override
-// protected IModelContentMergeViewerTab createModelContentMergeViewerTab(Composite parent) {
-// ModelContentMergePropertyTab propertyTab = new ModelContentMergePropertyTab(parent, partSide, this);
-// propertyTab.setContentProvider(new UMLPropertyContentProvider());
-// return propertyTab;
-// }
-//
-// /**
-// * Creates the diff tab content provider.
-// *
-// * @return the i content provider
-// */
-// protected IContentProvider createDiffTabContentProvider() {
-// ComposedAdapterFactory adapterFactory = new UMLAdapterFactory();
-// AdapterFactoryContentProvider result = new AdapterFactoryContentProvider(adapterFactory) {
-//
-// @Override
-// public Object[] getElements(Object object) {
-// if(object instanceof RootObject) {
-// return new Object[]{ ((RootObject)object).object };
-// }
-// return super.getElements(object);
-// }
-// };
-//
-// return result;
-// }
-//
-// /* (non-Javadoc)
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder#findMatchFromElement(org.eclipse.emf.ecore.EObject)
-// */
-// protected EObject findMatchFromElement(EObject element) {
-// EObject matchElement = super.findMatchFromElement(element);
-// if(!myUMLViewer.isShowAllProperties() && matchElement instanceof Match2Elements) {
-// if(myUMLViewer.getCurrentSelection().size()!=0){//see bug 349650
-// return new Match2ElementsWithDiff((Match2Elements)matchElement, myUMLViewer.getCurrentSelection().get(0));
-// }
-// }
-// return matchElement;
-// }
-//
-// /**
-// * Gets the selected tab.
-// *
-// * @return the selected tab
-// */
-// public int getSelectedTab() {
-// return tabFolder.getSelectionIndex();
-// }
-//
-// /**
-// * Checks if is property tab.
-// *
-// * @param index the index
-// * @return true, if is property tab
-// */
-// public boolean isPropertyTab(int index) {
-// final IModelContentMergeViewerTab currentTab = tabs.get(index);
-// return (currentTab == getPropertyPart());
-// }
-
-//TODO : use the content provider from the new EMF-Compare
- protected IContentProvider createDiffTabContentProvider() {
-// private ModelContentMergeDiffTabContentProvider createContentProvider() {
-
- return new ModelContentMergeDiffTabContentProvider(AdapterUtils.getAdapterFactory());
-// }
-
- // ComposedAdapterFactory adapterFactory = new UMLAdapterFactory();
-// ComposedAdapterFactory adapterFactory = new ComposedAdapterFactory();
-// AdapterFactoryContentProvider result = new AdapterFactoryContentProvider(adapterFactory) {
-//
-// @Override
-// public Object[] getElements(Object object) {
-//// if(object instanceof RootObject) {
-//// return new Object[]{ ((RootObject)object).object };
-//// }
-// return super.getElements(object);
-// }
-// }
-
-// return result;
- }
-
-
- /**
- * This implementation of an {@link AdapterFactoryContentProvider} will strip ComparisonSnapshots out of
- * the view.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
- //duplicate code from EMF-Compare :ModelContentMergeDiffTab.ModelContentMergeDiffTabContentProvider
- public class ModelContentMergeDiffTabContentProvider extends AdapterFactoryContentProvider {
- /**
- * Default constructor. Delegates to the super implementation.
- *
- * @param factory
- * Factory to get labels and icons from.
- */
- public ModelContentMergeDiffTabContentProvider(AdapterFactory factory) {
- super(factory);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#getElements(java.lang.Object)
- */
- @SuppressWarnings("unchecked")
- @Override
- public Object[] getElements(Object object) {
- // overwritten to ensure contents of ResourceSets, List<Resource>, and Resource are correclty
- // returned.
- Object[] result = null;
- if (object instanceof ResourceSet) {
- final List<Resource> resources = ((ResourceSet)object).getResources();
- final List<Resource> elements = new ArrayList<Resource>(resources.size());
- for (final Resource resource : resources) {
- if (resource.getContents().isEmpty()
- || !(resource.getContents().get(0) instanceof ComparisonSnapshot)) {
- elements.add(resource);
- }
- }
- result = elements.toArray();
- } else if (object instanceof TypedElementWrapper) {
- result = new Object[] {((EObject)object).eResource(), };
- } else if (object instanceof List) {
- // we may also display a list of resources
- result = ((List)object).toArray();
- } else if (object instanceof Resource) {
- // return contents of resource
- result = ((Resource)object).getContents().toArray();
- } else {
- result = super.getElements(object);
- }
- return result;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#getChildren(java.lang.Object)
- */
- @Override
- public Object[] getChildren(Object object) {
- if (object instanceof Resource) {
- return ((Resource)object).getContents().toArray();
- }
- return super.getChildren(object);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#hasChildren(java.lang.Object)
- */
- @Override
- public boolean hasChildren(Object object) {
- if (object instanceof Resource) {
- return ((Resource)object).getContents().size() > 0;
- }
- return super.hasChildren(object);
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeViewer.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeViewer.java
deleted file mode 100644
index 3d60da9361c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/merge/viewer/UMLModelContentMergeViewer.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package org.eclipse.papyrus.uml.compare.ui.merge.viewer;
-
-import java.util.List;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.UpdateReference;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.transaction.util.TransactionUtil;
-//TODO set the correct super class
-//duplicate code from tatiana
-public class UMLModelContentMergeViewer extends ModelContentMergeViewer {
-
- //duplicate code from tatiana
- public UMLModelContentMergeViewer(Composite parent, CompareConfiguration config) {
- super(parent, config);
- }
-
- @Override
- protected ModelContentMergeTabFolder createModelContentMergeTabFolder(Composite composite, int side) {
- // TODO Auto-generated method stub
-// return super.createModelContentMergeTabFolder(composite, side);
- return new UMLModelContentMergeTabFolder(this, composite, side);
- }
-
- @Override
- protected void copy(List<DiffElement> diffs, boolean leftToRight) {
- DiffElement diff = diffs.get(0);
- if(diff instanceof ModelElementChangeLeftTarget){
- EObject element = ((ModelElementChangeLeftTarget)diff).getLeftElement();
- TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(element);
- int d=0;
- d++;
-
- }else if(diff instanceof UpdateReference){
- EObject element = ((UpdateReference)diff).getLeftElement();
- TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(element);
- int d=0;
- d++;
- }
- super.copy(diffs, leftToRight);
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/provider/PapyrusLabelProvider.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/provider/PapyrusLabelProvider.java
deleted file mode 100644
index 93c68776aad..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/provider/PapyrusLabelProvider.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.ui.provider;
-
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.List;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.facet.infra.browser.custom.MetamodelView;
-import org.eclipse.emf.facet.infra.browser.custom.core.CustomizationsCatalog;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelLabelProvider;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.AppearanceConfiguration;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.model.ITreeElement;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.model.ModelElementItem;
-import org.eclipse.papyrus.uml.compare.ui.Activator;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Device;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.RGB;
-import org.eclipse.swt.widgets.Display;
-
-
-/**
- * PapyrusLabelProvider provides the same labels and icons as one can find in the Model Explorer.
- */
-// Not placed in the UI plugin because it is used in the subclasses of AbstractDiffExtension, in getText() method
-public class PapyrusLabelProvider extends CustomizableModelLabelProvider {
-
-
- /** The configuration. */
- private AppearanceConfiguration configuration;
-
- /**
- * Constructor.
- *
- * @param customizationManager the customization manager
- */
- public PapyrusLabelProvider(CustomizationManager customizationManager) {
- super(customizationManager);
- configuration = getAppearanceConfiguration(customizationManager);
- }
-
- /**
- * Instantiates a new papyrus label provider.
- */
- public PapyrusLabelProvider() {
- this(initCustomizationManager());
- }
-
- /**
- * Inits the customization manager.
- *
- * @return the customization manager
- */
- private static CustomizationManager initCustomizationManager() {
- CustomizationManager manager = new CustomizationManager();
- try {
- List<MetamodelView> registryDefaultCustomizations = CustomizationsCatalog.getInstance().getRegistryDefaultCustomizations();
- for(MetamodelView metamodelView : registryDefaultCustomizations) {
- manager.registerCustomization(metamodelView);
- }
- manager.loadCustomizations();
-
- } catch (Throwable e) {
- Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Error initializing customizations", e)); //$NON-NLS-1$
- }
- manager.setShowFullQualifiedNames(false);
- manager.setShowURI(true);
- manager.setShowDerivedLinks(false);
- return manager;
- }
-
- /**
- * Gets the appearance configuration.
- *
- * @param customizationManager2 the customization manager2
- * @return the appearance configuration
- */
- private AppearanceConfiguration getAppearanceConfiguration(CustomizationManager customizationManager2) {
- Method getApperanceConfigurationMethod;
- try {
- getApperanceConfigurationMethod = CustomizationManager.class.getDeclaredMethod("getAppearanceConfiguration"); //$NON-NLS-1$
- if(getApperanceConfigurationMethod != null) {
- getApperanceConfigurationMethod.setAccessible(true);
- return (AppearanceConfiguration)getApperanceConfigurationMethod.invoke(customizationManager2);
- }
- } catch (SecurityException e) {
- //TODO
-// Activator.logError(e);
- } catch (NoSuchMethodException e) {
-// Activator.logError(e);
- } catch (IllegalArgumentException e) {
-// Activator.logError(e);
- } catch (IllegalAccessException e) {
-// Activator.logError(e);
- } catch (InvocationTargetException e) {
-// Activator.logError(e);
- }
- return new AppearanceConfiguration(null); // default one.
- }
-
- /**
- * Gets the text.
- *
- * @param element the element
- * @return the text
- * {@inheritDoc}
- */
- @Override
- public String getText(Object element) {
- if(element == null) {
- return ""; //$NON-NLS-1$
- }
- if(element instanceof EObject) {
- ITreeElement treeElement = getTreeElement((EObject)element);
- return super.getText(treeElement);
- }
- return super.getText(element);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelLabelProvider#getImage(java.lang.Object)
- */
- @Override
- public Image getImage(Object element) {
- if(element == null) {
- return null;
- }
- if(element instanceof EObject) {
- ITreeElement treeElement = getTreeElement((EObject)element);
- return super.getImage(treeElement);
- }
- return super.getImage(element);
- }
-
-
- /**
- * Gets the tree element.
- *
- * @param eObject the e object
- * @return the tree element
- */
- private ITreeElement getTreeElement(EObject eObject) {
- if(eObject == null) {
- return null;
- }
- return new ModelElementItem(eObject, getTreeElement(eObject.eContainer()), configuration);
- }
-
- //TODO for test only!
- @Override
- public Color getBackground(Object element) {
- RGB rgb = new RGB(255, 0, 0);
- Device device = Display.getDefault();
- Color color = new Color(device , rgb);
- // TODO Auto-generated method stub
- return color;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/structure/viewer/UMLStructureMergeViewerCreator.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/structure/viewer/UMLStructureMergeViewerCreator.java
deleted file mode 100644
index 5034a838024..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/structure/viewer/UMLStructureMergeViewerCreator.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.eclipse.papyrus.uml.compare.ui.structure.viewer;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.IViewerCreator;
-import org.eclipse.core.runtime.QualifiedName;
-import org.eclipse.core.runtime.content.IContentDescriber;
-import org.eclipse.core.runtime.content.IContentDescription;
-import org.eclipse.emf.compare.ui.viewer.structure.ModelStructureMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelLabelProvider;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.jface.viewers.IColorProvider;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Device;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-
-/**
- *
- * This class creates the Structure Merge Viewer for Papyrus
- *
- */
-public class UMLStructureMergeViewerCreator implements IViewerCreator{
-
- public UMLStructureMergeViewerCreator() {
- //nothing to do
- }
-
- public Viewer createViewer(Composite parent, CompareConfiguration config) {
- return new ParameterizedStructureMergeViewer(parent,config);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalContentMergeViewerCreator.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalContentMergeViewerCreator.java
deleted file mode 100644
index c3254147292..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalContentMergeViewerCreator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.papyrus.uml.compare.ui.transactional.merge.viewer;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.IViewerCreator;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.widgets.Composite;
-
-
-public class TransactionalContentMergeViewerCreator implements IViewerCreator {
-
- public TransactionalContentMergeViewerCreator() {
- // TODO Auto-generated constructor stub
- }
-
- public Viewer createViewer(Composite parent, CompareConfiguration config) {
- //return new ModelContentMergeViewer(parent,config);
- return new TransactionalModelContentMergeViewer(parent, config);
- }
-
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeDiffTab.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeDiffTab.java
deleted file mode 100644
index 62a5aaa8e0e..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeDiffTab.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.ui.transactional.merge.viewer;
-
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab;
-import org.eclipse.swt.widgets.Composite;
-
-
-/**
- * The Structure Tab in the Merge Viewer.
- */
-//duplicate code from tatiana
-//TODO : verify the super class
-public class TransactionalModelContentMergeDiffTab extends ModelContentMergeDiffTab {
-
-
- /**
- * Instantiates a new uML model content merge diff tab.
- *
- * @param parentComposite
- * the parent composite
- * @param side
- * the side
- * @param parentFolder
- * the parent folder
- */
- public TransactionalModelContentMergeDiffTab(Composite parentComposite, int side, ModelContentMergeTabFolder parentFolder) {
- super(parentComposite, side, parentFolder);
- }
-
-// /*
-// * (non-Javadoc)
-// *
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab#setSelectionToWidget(java.util.List, boolean)
-// */
-// @Override
-// protected void setSelectionToWidget(List l, boolean reveal) {
-// // tfesenko filter stereotype applications
-// List result = new ArrayList();
-// for(Object next : l) {
-// if(next instanceof EObject && UMLCompareUtils.isStereotypeApplication((EObject)next)) {
-// EObject stereotypeApplication = (EObject)next;
-// result.add(UMLUtil.getBaseElement(stereotypeApplication));
-// } else {
-// result.add(next);
-// }
-// }
-// super.setSelectionToWidget(result, reveal);
-// }
-//
-// /*
-// * (non-Javadoc)
-// *
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab#setReflectiveInput(java.lang.Object)
-// */
-// @Override
-// public void setReflectiveInput(Object object) {
-// // tfesenko 336361 - [UML Compare] Compare two elements: show right element as root
-// if(object instanceof EObject) {
-// clearCaches();
-// // tfesenko default implementation sets object.eResource here
-// setInput(object);
-// setupCaches();
-// needsRedraw = true;
-// }
-// super.setReflectiveInput(object);
-// }
-
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeTabFolder.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeTabFolder.java
deleted file mode 100644
index e3bb0fc97e2..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeTabFolder.java
+++ /dev/null
@@ -1,234 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- * Vincent Lorenzo (CEA LIST) - 349650: [Papyrus Merge] IndexOfBoundException
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.ui.transactional.merge.viewer;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonSnapshot;
-import org.eclipse.emf.compare.ui.TypedElementWrapper;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.content.part.IModelContentMergeViewerTab;
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.compare.util.AdapterUtils;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.papyrus.uml.compare.ui.provider.PapyrusLabelProvider;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * The Class UMLModelContentMergeTabFolder.
- */
-//duplicate code from tatiana
-//TODO verify the super class
-public class TransactionalModelContentMergeTabFolder extends ModelContentMergeTabFolder {
-
- /** The my uml viewer. */
- protected final TransactionalModelContentMergeViewer myUMLViewer;
-
- /**
- * Instantiates a new uML model content merge tab folder.
- *
- * @param viewer the viewer
- * @param composite the composite
- * @param side the side
- */
- public TransactionalModelContentMergeTabFolder(ModelContentMergeViewer viewer, Composite composite, int side) {
- super(viewer, composite, side);
- myUMLViewer = (TransactionalModelContentMergeViewer)viewer;
- }
-
-
- @Override
- protected IModelContentMergeViewerTab createModelContentMergeDiffTab(Composite parent) {
-// IModelContentMergeViewerTab tab = super.createModelContentMergeDiffTab(parent);
- TransactionalModelContentMergeDiffTab diffTab = new TransactionalModelContentMergeDiffTab(parent, partSide, this);
- diffTab.setContentProvider(createDiffTabContentProvider());
- diffTab.setLabelProvider(new PapyrusLabelProvider());
- return diffTab;
-
- }
-//
-// /* (non-Javadoc)
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder#createModelContentMergeViewerTab(org.eclipse.swt.widgets.Composite)
-// */
-// @Override
-// protected IModelContentMergeViewerTab createModelContentMergeViewerTab(Composite parent) {
-// ModelContentMergePropertyTab propertyTab = new ModelContentMergePropertyTab(parent, partSide, this);
-// propertyTab.setContentProvider(new UMLPropertyContentProvider());
-// return propertyTab;
-// }
-//
-// /**
-// * Creates the diff tab content provider.
-// *
-// * @return the i content provider
-// */
-// protected IContentProvider createDiffTabContentProvider() {
-// ComposedAdapterFactory adapterFactory = new UMLAdapterFactory();
-// AdapterFactoryContentProvider result = new AdapterFactoryContentProvider(adapterFactory) {
-//
-// @Override
-// public Object[] getElements(Object object) {
-// if(object instanceof RootObject) {
-// return new Object[]{ ((RootObject)object).object };
-// }
-// return super.getElements(object);
-// }
-// };
-//
-// return result;
-// }
-//
-// /* (non-Javadoc)
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder#findMatchFromElement(org.eclipse.emf.ecore.EObject)
-// */
-// protected EObject findMatchFromElement(EObject element) {
-// EObject matchElement = super.findMatchFromElement(element);
-// if(!myUMLViewer.isShowAllProperties() && matchElement instanceof Match2Elements) {
-// if(myUMLViewer.getCurrentSelection().size()!=0){//see bug 349650
-// return new Match2ElementsWithDiff((Match2Elements)matchElement, myUMLViewer.getCurrentSelection().get(0));
-// }
-// }
-// return matchElement;
-// }
-//
-// /**
-// * Gets the selected tab.
-// *
-// * @return the selected tab
-// */
-// public int getSelectedTab() {
-// return tabFolder.getSelectionIndex();
-// }
-//
-// /**
-// * Checks if is property tab.
-// *
-// * @param index the index
-// * @return true, if is property tab
-// */
-// public boolean isPropertyTab(int index) {
-// final IModelContentMergeViewerTab currentTab = tabs.get(index);
-// return (currentTab == getPropertyPart());
-// }
-
-//TODO : use the content provider from the new EMF-Compare
- protected IContentProvider createDiffTabContentProvider() {
-// private ModelContentMergeDiffTabContentProvider createContentProvider() {
-
- return new ModelContentMergeDiffTabContentProvider(AdapterUtils.getAdapterFactory());
-// }
-
- // ComposedAdapterFactory adapterFactory = new UMLAdapterFactory();
-// ComposedAdapterFactory adapterFactory = new ComposedAdapterFactory();
-// AdapterFactoryContentProvider result = new AdapterFactoryContentProvider(adapterFactory) {
-//
-// @Override
-// public Object[] getElements(Object object) {
-//// if(object instanceof RootObject) {
-//// return new Object[]{ ((RootObject)object).object };
-//// }
-// return super.getElements(object);
-// }
-// }
-
-// return result;
- }
-
-
- /**
- * This implementation of an {@link AdapterFactoryContentProvider} will strip ComparisonSnapshots out of
- * the view.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
- //duplicate code from EMF-Compare :ModelContentMergeDiffTab.ModelContentMergeDiffTabContentProvider
- public class ModelContentMergeDiffTabContentProvider extends AdapterFactoryContentProvider {
- /**
- * Default constructor. Delegates to the super implementation.
- *
- * @param factory
- * Factory to get labels and icons from.
- */
- public ModelContentMergeDiffTabContentProvider(AdapterFactory factory) {
- super(factory);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#getElements(java.lang.Object)
- */
- @SuppressWarnings("unchecked")
- @Override
- public Object[] getElements(Object object) {
- // overwritten to ensure contents of ResourceSets, List<Resource>, and Resource are correclty
- // returned.
- Object[] result = null;
- if (object instanceof ResourceSet) {
- final List<Resource> resources = ((ResourceSet)object).getResources();
- final List<Resource> elements = new ArrayList<Resource>(resources.size());
- for (final Resource resource : resources) {
- if (resource.getContents().isEmpty()
- || !(resource.getContents().get(0) instanceof ComparisonSnapshot)) {
- elements.add(resource);
- }
- }
- result = elements.toArray();
- } else if (object instanceof TypedElementWrapper) {
- result = new Object[] {((EObject)object).eResource(), };
- } else if (object instanceof List) {
- // we may also display a list of resources
- result = ((List)object).toArray();
- } else if (object instanceof Resource) {
- // return contents of resource
- result = ((Resource)object).getContents().toArray();
- } else {
- result = super.getElements(object);
- }
- return result;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#getChildren(java.lang.Object)
- */
- @Override
- public Object[] getChildren(Object object) {
- if (object instanceof Resource) {
- return ((Resource)object).getContents().toArray();
- }
- return super.getChildren(object);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#hasChildren(java.lang.Object)
- */
- @Override
- public boolean hasChildren(Object object) {
- if (object instanceof Resource) {
- return ((Resource)object).getContents().size() > 0;
- }
- return super.hasChildren(object);
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeViewer.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeViewer.java
deleted file mode 100644
index d67857f41cc..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/org/eclipse/papyrus/uml/compare/ui/transactional/merge/viewer/TransactionalModelContentMergeViewer.java
+++ /dev/null
@@ -1,169 +0,0 @@
-package org.eclipse.papyrus.uml.compare.ui.transactional.merge.viewer;
-
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.operations.IUndoableOperation;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.workspace.AbstractEMFOperation;
-import org.eclipse.emf.workspace.EMFOperationCommand;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.action.ActionContributionItem;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.action.ToolBarManager;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.util.IPropertyChangeListener;
-import org.eclipse.jface.util.PropertyChangeEvent;
-import org.eclipse.papyrus.uml.compare.ui.Activator;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.ToolBar;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-public class TransactionalModelContentMergeViewer extends ModelContentMergeViewer {
-
- private TransactionalEditingDomain domain;
-
-
- private boolean isSynchronizedWithDiagram;
-
- //duplicate code from tatiana
- public TransactionalModelContentMergeViewer(Composite parent, CompareConfiguration config) {
- super(parent, config);
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- if(editor instanceof IEditingDomainProvider) {
- domain = (TransactionalEditingDomain)((IEditingDomainProvider)editor).getEditingDomain();
- }
- }
-
- @Override
- protected ModelContentMergeTabFolder createModelContentMergeTabFolder(Composite composite, int side) {
- // TODO Auto-generated method stub
- // return super.createModelContentMergeTabFolder(composite, side);
- return new TransactionalModelContentMergeTabFolder(this, composite, side);
- }
-
- /**
- * Undoes the changes implied by the currently selected {@link DiffElement diff}.
- */
- protected void copyDiffLeftToRight() {
- if(currentSelection != null) {
- doCopy(currentSelection, true);
- }
- currentSelection.clear();
- switchCopyState(false);
- }
-
- /**
- * Applies the changes implied by the currently selected {@link DiffElement diff}.
- */
- protected void copyDiffRightToLeft() {
- if(currentSelection != null) {
- doCopy(currentSelection, false);
- }
- currentSelection.clear();
- switchCopyState(false);
- }
-
-
- protected void doCopy(final List<DiffElement> diffs, final boolean leftToRight) {
- Map<?, ?> transactionOptions = Collections.EMPTY_MAP;
- final Runnable runnable = new Runnable() {
-
- public void run() {
- // TODO Auto-generated method stub
- TransactionalModelContentMergeViewer.this.copy(diffs, leftToRight);
- }
- };
-
- // AbstractCommand cmd = new ChangeC(){
- //
- // public void execute() {
- // // TODO Auto-generated method stub
- //
- // }
- //
- // public void redo() {
- // // TODO Auto-generated method stub
- //
- // }
- //
- // }
- IUndoableOperation operation = new AbstractEMFOperation(domain, "copy action", transactionOptions) {
-
- @Override
- protected IStatus doExecute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- // try {
- runnable.run();
- return Status.OK_STATUS;
- // } catch (RuntimeException ex) {
- // if (ex instanceof OperationCanceledException) {
- // throw (OperationCanceledException) ex;
- // } else {
- //// throw new ExecutionException(NLS.bind(Messages.problem_transactionFailed, operationLabel), ex);
- // }
- // }
- //
- }
-
- // @Override
- // public boolean canUndo() {
- //// return transactionOptions.get(Transaction.OPTION_NO_UNDO) != Boolean.TRUE;
- // }
-
-
- };
-
- Command command = new EMFOperationCommand(domain, operation);
- // domain.getCommandStack().
- domain.getCommandStack().execute(command);
-
- }
-
-
- @Override
- protected void createToolItems(ToolBarManager tbm) {
-
- final IAction diagramSynchronization = new Action("Diagram Synchronisation", IAction.AS_CHECK_BOX) {
-
- @Override
- public ImageDescriptor getImageDescriptor() {
- //TODO improve?
- return Activator.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/PapyrusLogo16x16.gif");
- }
- };
-
-
- ActionContributionItem actionContributionItem = new ActionContributionItem(diagramSynchronization) {
- @Override
- public void fill(ToolBar parent, int index) {
- // TODO Auto-generated method stub
- super.fill(parent, index);
- }
- };
- //actionContributionItem.setMode(ActionContributionItem.MODE_FORCE_TEXT);
- diagramSynchronization.addPropertyChangeListener(new IPropertyChangeListener() {
-
- public void propertyChange(PropertyChangeEvent event) {
- //we are here each time the user click on the action!
- diagramSynchronization.setChecked(diagramSynchronization.isChecked());
- isSynchronizedWithDiagram = diagramSynchronization.isChecked();
- }
- });
- tbm.insert(0, actionContributionItem);
- super.createToolItems(tbm);
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/testSWT/MyViewer.java b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/testSWT/MyViewer.java
deleted file mode 100644
index 85aefa657a9..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.compare.ui/src/testSWT/MyViewer.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package testSWT;
-
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.ToolBar;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.widgets.ToolItem;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.widgets.CoolBar;
-import org.eclipse.jface.layout.TableColumnLayout;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormLayout;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.CoolItem;
-import org.eclipse.swt.widgets.Text;
-
-
-public class MyViewer extends Composite {
- private Text text;
-
- /**
- * Create the composite.
- * @param parent
- * @param style
- */
- public MyViewer(Composite parent, int style) {
- super(parent, style);
- setLayout(new FormLayout());
-
- CoolBar coolBar = new CoolBar(this, SWT.FLAT);
- FormData fd_coolBar = new FormData();
- fd_coolBar.bottom = new FormAttachment(0, 173);
- fd_coolBar.right = new FormAttachment(0, 120);
- fd_coolBar.top = new FormAttachment(0, 143);
- fd_coolBar.left = new FormAttachment(0, 10);
- coolBar.setLayoutData(fd_coolBar);
-
- CoolItem coolItem = new CoolItem(coolBar, SWT.NONE);
-
- Button button = new Button(this, SWT.CHECK);
- FormData fd_button = new FormData();
- fd_button.top = new FormAttachment(0, 154);
- fd_button.left = new FormAttachment(0, 22);
- button.setLayoutData(fd_button);
- button.setText("Check Button");
-
- Button btnCheckButton_1 = new Button(this, SWT.CHECK);
- FormData fd_btnCheckButton_1 = new FormData();
- fd_btnCheckButton_1.top = new FormAttachment(0, 10);
- fd_btnCheckButton_1.left = new FormAttachment(button, 0, SWT.LEFT);
- btnCheckButton_1.setLayoutData(fd_btnCheckButton_1);
- btnCheckButton_1.setText("Check Button");
-
- Button btnNewButton = new Button(this, SWT.CHECK);
- FormData fd_btnNewButton = new FormData();
- fd_btnNewButton.top = new FormAttachment(btnCheckButton_1, 27);
- fd_btnNewButton.left = new FormAttachment(button, 0, SWT.LEFT);
- btnNewButton.setLayoutData(fd_btnNewButton);
- btnNewButton.setText("New Button");
-
- ToolBar toolBar = new ToolBar(this, SWT.FLAT | SWT.RIGHT);
- FormData fd_toolBar = new FormData();
- fd_toolBar.bottom = new FormAttachment(coolBar, -6);
- fd_toolBar.right = new FormAttachment(button, 0, SWT.RIGHT);
- toolBar.setLayoutData(fd_toolBar);
-
- ToolItem tltmNewItem = new ToolItem(toolBar, SWT.NONE);
- tltmNewItem.setText("New Item");
-
- Button btnNewButton_1 = new Button(this, SWT.NONE);
- btnNewButton_1.setLayoutData(new FormData());
- btnNewButton_1.setText("New Button");
-
- Button btnNewButton_2 = new Button(this, SWT.NONE);
- btnNewButton_2.setLayoutData(new FormData());
- btnNewButton_2.setText("New Button");
-
- text = new Text(this, SWT.BORDER);
- text.setLayoutData(new FormData());
-
- }
-
- @Override
- protected void checkSubclass() {
- // Disable the check that prevents subclassing of SWT components
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.classpath b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.classpath
deleted file mode 100644
index f6e5811e42c..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.project b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.project
deleted file mode 100644
index c171225e032..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.emf.compare.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index a1ee3be7ece..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Wed Nov 02 15:02:47 CET 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/META-INF/MANIFEST.MF b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 5b41eaee981..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,10 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.papyrus.uml.emf.compare.ui;singleton:=true
-Bundle-Version: 0.9.0.qualifier
-Bundle-Vendor: %providerName
-Require-Bundle: org.eclipse.papyrus.infra.emf.compare.ui
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
-Bundle-Localization: plugin
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/about.html b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/build.properties b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/build.properties
deleted file mode 100644
index 8882b335fdb..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/build.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- plugin.properties,\
- todo/,\
- plugin-doc.pdoc,\
- icons/
-src.includes = icons/,\
- plugin-doc.pdoc,\
- plugin.properties,\
- plugin.xml,\
- todo/,\
- META-INF/
-
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/icons/uml_notation.gif b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/icons/uml_notation.gif
deleted file mode 100644
index dbe9a75c66f..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/icons/uml_notation.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin-doc.pdoc b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin-doc.pdoc
deleted file mode 100644
index 3a9e449ffe7..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin-doc.pdoc
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<doc:Documentation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:doc="http://www.eclipse.org/papyrus/documentation/plugin/documentation" description="This plugin provides elements to customize EMF-Compare for UML">
- <implicitDependencies plugin="org.eclipse.papyrus.infra.emf.compare.ui" comment="This plugin uses the extension point org.eclipse.papyrus.infra.emf.compare.ui.customization and the action &quot;Find unused dependencies&quot; removes it!"/>
- <referent firstName="Vincent" lastName="Lorenzo" eMail="vincent.lorenzo@cea.fr" currentCompany="CEA-LIST"/>
-</doc:Documentation>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.properties b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.properties
deleted file mode 100644
index 020a12343ea..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-#Properties file for org.eclipse.papyrus.uml.emf.compare
-providerName = Eclipse Modeling Project
-pluginName = Papyrus UML Compare
-compareCustomization.tooltip = Apply the UML customization on the viewers \ No newline at end of file
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.xml b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.xml
deleted file mode 100644
index d8e8241ef24..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/plugin.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
- <browserCustomization
- file="todo/dummyUML.uiCustom"
- loadByDefault="true"/>
- </extension>
- <extension
- point="org.eclipse.papyrus.infra.emf.compare.ui.customization">
- <compareCustomization
- file="todo/dummyUML.uiCustom"
- icon="icons/uml_notation.gif"
- name="org.eclipse.papyrus.uml.emf.compare.ui.uml.customization"
- tooltip="%compareCustomization.tooltip">
- </compareCustomization>
- </extension>
-</plugin>
diff --git a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/todo/dummyUML.uiCustom b/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/todo/dummyUML.uiCustom
deleted file mode 100644
index 28f50552307..00000000000
--- a/sandbox/PapyrusEMFCompareV1/deprecated/org.eclipse.papyrus.uml.emf.compare.ui/todo/dummyUML.uiCustom
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/uml2/3.0.0/UML"/>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.classpath b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.classpath
deleted file mode 100644
index 2d1a4302f04..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.project b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.project
deleted file mode 100644
index 01a33a9ae6f..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.infra.emf.compare.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 5152edbd2ac..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,22 +0,0 @@
-#Thu Dec 01 17:05:06 CET 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.ui.prefs b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 4772e74af97..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,59 +0,0 @@
-#Thu Dec 01 17:06:59 CET 2011
-cleanup.add_default_serial_version_id=true
-cleanup.add_generated_serial_version_id=false
-cleanup.add_missing_annotations=true
-cleanup.add_missing_deprecated_annotations=true
-cleanup.add_missing_methods=true
-cleanup.add_missing_nls_tags=false
-cleanup.add_missing_override_annotations=true
-cleanup.add_missing_override_annotations_interface_methods=false
-cleanup.add_serial_version_id=false
-cleanup.always_use_blocks=true
-cleanup.always_use_parentheses_in_expressions=false
-cleanup.always_use_this_for_non_static_field_access=true
-cleanup.always_use_this_for_non_static_method_access=true
-cleanup.convert_to_enhanced_for_loop=true
-cleanup.correct_indentation=true
-cleanup.format_source_code=true
-cleanup.format_source_code_changes_only=false
-cleanup.make_local_variable_final=true
-cleanup.make_parameters_final=true
-cleanup.make_private_fields_final=true
-cleanup.make_type_abstract_if_missing_method=false
-cleanup.make_variable_declarations_final=true
-cleanup.never_use_blocks=false
-cleanup.never_use_parentheses_in_expressions=true
-cleanup.organize_imports=true
-cleanup.qualify_static_field_accesses_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-cleanup.qualify_static_member_accesses_with_declaring_class=true
-cleanup.qualify_static_method_accesses_with_declaring_class=true
-cleanup.remove_private_constructors=true
-cleanup.remove_trailing_whitespaces=true
-cleanup.remove_trailing_whitespaces_all=true
-cleanup.remove_trailing_whitespaces_ignore_empty=false
-cleanup.remove_unnecessary_casts=true
-cleanup.remove_unnecessary_nls_tags=true
-cleanup.remove_unused_imports=true
-cleanup.remove_unused_local_variables=false
-cleanup.remove_unused_private_fields=true
-cleanup.remove_unused_private_members=false
-cleanup.remove_unused_private_methods=true
-cleanup.remove_unused_private_types=true
-cleanup.sort_members=false
-cleanup.sort_members_all=false
-cleanup.use_blocks=true
-cleanup.use_blocks_only_for_return_and_throw=false
-cleanup.use_parentheses_in_expressions=false
-cleanup.use_this_for_non_static_field_access=true
-cleanup.use_this_for_non_static_field_access_only_if_necessary=false
-cleanup.use_this_for_non_static_method_access=false
-cleanup.use_this_for_non_static_method_access_only_if_necessary=false
-cleanup_profile=_CustomPapyrusCleanUpProfile
-cleanup_settings_version=2
-eclipse.preferences.version=1
-org.eclipse.jdt.ui.exception.name=e
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.overrideannotation=true
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/META-INF/MANIFEST.MF b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/META-INF/MANIFEST.MF
deleted file mode 100644
index 1a1059cff80..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,38 +0,0 @@
-Manifest-Version: 1.0
-Export-Package: org.eclipse.papyrus.infra.emf.compare.ui.actions,org.e
- clipse.papyrus.infra.emf.compare.ui.provider,org.eclipse.papyrus.infr
- a.emf.compare.ui.structural.viewer,org.eclipse.papyrus.infra.emf.comp
- are.ui.viewer
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.compare,
- org.eclipse.emf.common,
- org.eclipse.emf.workspace,
- org.eclipse.emf.compare.ui,
- org.eclipse.emf.facet.infra.browser.uicore,
- org.eclipse.emf.compare.diff;bundle-version="1.3.0",
- org.eclipse.emf.facet.infra.browser.custom,
- org.eclipse.emf.facet.infra.browser.custom.core,
- org.eclipse.emf.edit.ui,
- org.eclipse.emf.compare,
- org.eclipse.emf.facet.infra.browser.custom.ui;bundle-version="0.1.1",
- org.eclipse.emf.workspace.ui,
- org.eclipse.core.expressions,
- org.eclipse.team.ui,
- org.eclipse.emf.ecore,
- org.eclipse.emf.facet.infra.query.core,
- org.eclipse.gmf.runtime.common.core,
- org.eclipse.gmf.runtime.emf.type.core,
- org.eclipse.papyrus.infra.core;bundle-version="0.9.0",
- org.eclipse.gmf.runtime.diagram.ui,
- org.eclipse.papyrus.infra.emf.compare
-Bundle-Vendor: Eclipse Modeling Project
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 0.9.0.qualifier
-Bundle-Name: Papyrus Compare UI
-Bundle-Activator: org.eclipse.papyrus.infra.emf.compare.ui.Activator
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.papyrus.infra.emf.compare.ui;singleto
- n:=true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/about.html b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/build.properties b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/build.properties
deleted file mode 100644
index f2fe747dc83..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- schema/,\
- icons/,\
- about.html,\
- resources/EMFCompareDiffElement.uiCustom,\
- resources/EMFCompareDiffElementQueries.querySet
-src.includes = schema/,\
- src/,\
- META-INF/,\
- icons/,\
- plugin.xml,\
- about.html
-source.. = src/
-src/ =
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/PapyrusLogo16x16.gif b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/PapyrusLogo16x16.gif
deleted file mode 100644
index 8a31f458379..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/PapyrusLogo16x16.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/addUiCustom.gif b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/addUiCustom.gif
deleted file mode 100644
index bc86fbc897e..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/icons/addUiCustom.gif
+++ /dev/null
Binary files differ
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/plugin.xml b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/plugin.xml
deleted file mode 100644
index 9d812915bb2..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/plugin.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?eclipse version="3.4"?>
-
-<plugin>
- <extension point="org.eclipse.compare.contentMergeViewers">
- <viewer class="org.eclipse.papyrus.infra.emf.compare.ui.viewer.TransactionalContentMergeViewerCreator" extensions="uml" id="org.eclipse.papyrus.infra.emf.compare.ui.papyrus.viewer" label="INFRA Papyrus Viewer">
- </viewer>
- </extension>
- <extension point="org.eclipse.compare.structureMergeViewers">
- <viewer class="org.eclipse.papyrus.infra.emf.compare.ui.structural.viewer.PapyrusStructureMergeViewerCreator" extensions="uml" id="org.eclipse.papyrus.infra.emf.compare.ui.structural.viewer" label="INFRA Papyrus Structure Merge Viewer">
- </viewer>
- </extension>
- <extension point="org.eclipse.ui.handlers">
- <handler class="org.eclipse.papyrus.infra.emf.compare.ui.handlers.UndoHandler" commandId="org.eclipse.ui.edit.undo">
- <enabledWhen>
- <with variable="activeEditorId">
- <equals value="org.eclipse.compare.CompareEditor">
- </equals>
- </with>
- </enabledWhen>
- <activeWhen>
- <with variable="activeEditorId">
- <equals value="org.eclipse.compare.CompareEditor">
- </equals>
- </with>
- </activeWhen>
-
- </handler>
- <handler class="org.eclipse.papyrus.infra.emf.compare.ui.handlers.RedoHandler" commandId="org.eclipse.ui.edit.redo">
- <enabledWhen>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.compare.CompareEditor">
- </equals>
- </with>
- </enabledWhen>
- <activeWhen>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.compare.CompareEditor">
- </equals>
- </with>
- </activeWhen>
- </handler>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution allPopups="false" locationURI="menu:edit?before=cut">
- <command commandId="org.eclipse.papyrus.infra.emf.compare.ui.customUndo" label="My Custom Undo" style="push">
- </command>
- <command commandId="org.eclipse.papyrus.infra.emf.compare.ui.customRedo" label="My Custom Redo" style="push">
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.commands">
- <command defaultHandler="org.eclipse.papyrus.infra.emf.compare.ui.handlers.UndoHandler" id="org.eclipse.papyrus.infra.emf.compare.ui.customUndo" name="Custom Undo Command">
- </command>
- <command defaultHandler="org.eclipse.papyrus.infra.emf.compare.ui.handlers.RedoHandler" id="org.eclipse.papyrus.infra.emf.compare.ui.customRedo" name="Custom Redo Command">
- </command>
- </extension>
-
-</plugin>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/Activator.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/Activator.java
deleted file mode 100644
index c37dc4fe2d3..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/Activator.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.facet.infra.browser.custom.MetamodelView;
-import org.eclipse.emf.facet.infra.browser.custom.core.CustomizationsCatalog;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.papyrus.infra.emf.compare.ui.listeners.CloseEditorListener;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IPartListener2;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- /** The plug-in ID */
- public static final String PLUGIN_ID = "org.eclipse.papyrus.infra.emf.compare.ui"; //$NON-NLS-1$
-
- /** the activator */
- private static Activator plugin;
-
- /** this map store a customization manager associted to an editor (a CompareEditor) */
- private Map<IEditorPart, CustomizationManager> customizationMap;
-
- /** this listener listen the closing editors to clean the previous map */
- private IPartListener2 closingEditorlistener;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- @Override
- public void start(final BundleContext context) throws Exception {
- super.start(context);
- Activator.plugin = this;
- this.customizationMap = new HashMap<IEditorPart, CustomizationManager>();
- this.closingEditorlistener = new CloseEditorListener();
- addListener();
- }
-
- /**
- * add a listener on the part service
- */
- private void addListener() {
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getPartService().addPartListener(this.closingEditorlistener);
- }
-
- /**
- * remove the listener of the part service
- */
- private void removeListener() {
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getPartService().addPartListener(this.closingEditorlistener);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- @Override
- public void stop(final BundleContext context) throws Exception {
- Activator.plugin = null;
- super.stop(context);
- this.customizationMap.clear();
- removeListener();
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return Activator.plugin;
- }
-
- /**
- *
- * @param anEditor
- * an editor
- * @return
- * a customization manager for this editor
- */
- public CustomizationManager getCustomizationManager(final IEditorPart anEditor) {
- CustomizationManager manager = this.customizationMap.get(anEditor);
- if(manager == null) {
- manager = new CustomizationManager();
- init(manager);
- this.customizationMap.put(anEditor, manager);
- }
- return manager;
- }
-
- /**
- * FIXME : duplicated code with modelExplorer, table, ...?
- * init the customization manager
- *
- * @param customizationManager
- */
- private void init(final CustomizationManager customizationManager) {
- // the appearance can be customized here:
-
- customizationManager.setShowDerivedLinks(true);
-
- try {
-
- // load customizations defined as default through the customization
- // extension
- final List<MetamodelView> registryDefaultCustomizations = CustomizationsCatalog.getInstance().getRegistryDefaultCustomizations();
- for(final MetamodelView metamodelView : registryDefaultCustomizations) {
- customizationManager.registerCustomization(metamodelView);
- }
- customizationManager.loadCustomizations();
- //TODO load the facets!
- // loadFacetsForCustomizations(registryDefaultCustomizations,customizationManager);
-
- } catch (final Throwable e) {
- Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Error initializing customizations", e)); //$NON-NLS-1$
- }
- }
-
- /**
- * remove the customization manager for the part
- *
- * @param part
- */
- public void remove(final IEditorPart part) {
- this.customizationMap.remove(part);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/actions/CustomizationAction.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/actions/CustomizationAction.java
deleted file mode 100644
index 8883cb205d3..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/actions/CustomizationAction.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.actions;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.facet.infra.browser.custom.MetamodelView;
-import org.eclipse.emf.facet.infra.browser.custom.ui.dialogs.LoadCustomizationsDialog;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.window.Window;
-import org.eclipse.papyrus.infra.emf.compare.ui.Activator;
-import org.eclipse.papyrus.infra.emf.compare.utils.Utils;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- *
- * @author VL222926
- *
- * This action allows to choose the customization to apply on the viewer
- */
-public class CustomizationAction extends Action {
-
- /**
- * tooltip for this action
- */
- private static final String TOOLTIPTEXT = "Manage the applied customization";
-
- //FIXME : avoid to duplicate this image?
- private static final String CUSTOMIZATION_IMAGE_PATH = "icons/addUiCustom.gif";
-
- // private IEditorPart currentEditor;
-
- /**
- * the registered metamodels for the customization manager
- */
- private final Collection<EPackage> registeredMetamodel;
-
- /**
- *
- * Constructor.
- *
- * @param registeredMetamodel
- * can be empty when the class is created
- */
- public CustomizationAction(final Collection<EPackage> registeredMetamodel) {
- super(IAction.TOOL_TIP_TEXT, IAction.AS_PUSH_BUTTON);
- setToolTipText(CustomizationAction.TOOLTIPTEXT);
- setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID, CustomizationAction.CUSTOMIZATION_IMAGE_PATH));
- // this.currentEditor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- this.registeredMetamodel = registeredMetamodel;
- }
-
- /**
- *
- * {@inheritDoc}
- *
- */
- //TODO duplicate code from ModelExplorer
- //TODO vérifier que l'on n'a pas la même chose dans les tables également!
- @Override
- public void run() {
- final IEditorPart currentEditor = Utils.getCurrentEditor();
- final CustomizationManager customizationManager = Activator.getDefault().getCustomizationManager(currentEditor);
- final List<MetamodelView> initiallySelectedCustomizations = customizationManager.getRegisteredCustomizations();
- final LoadCustomizationsDialog loadCustomizationsDialog = new LoadCustomizationsDialog(Display.getCurrent().getActiveShell(), initiallySelectedCustomizations, this.registeredMetamodel);
- //TODO : override the dialog to hide the checkbox for the facet
- if(Window.OK == loadCustomizationsDialog.open()) {
- customizationManager.clearCustomizations();
- final List<MetamodelView> selectedCustomizations = loadCustomizationsDialog.getSelectedCustomizations();
- //before loading, clean all facet to prevent to let not interesting facets.
- customizationManager.clearFacets();
- if(loadCustomizationsDialog.isLoadRequiredFacetsSelected()) {
- // load facets corresponding to customizations
- //we ignore the facet in this dialog
- }
- for(final MetamodelView metamodelView : selectedCustomizations) {
- customizationManager.registerCustomization(metamodelView);
- }
- customizationManager.loadCustomizations();
- }
- //dialog.s
-
- //TODO
- // TODO Auto-generated method stub
- // super.run();
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/AbstractEMFCompareHandler.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/AbstractEMFCompareHandler.java
deleted file mode 100644
index ce8fa891310..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/AbstractEMFCompareHandler.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.handlers;
-
-import org.eclipse.core.commands.AbstractHandler;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.infra.emf.compare.utils.CompareEditorConfiguration;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-//import AbstractHandler;
-
-
-public abstract class AbstractEMFCompareHandler extends AbstractHandler {
-
- @Override
- public boolean isEnabled() {
- return getEditingDomain() != null;
- }
-
- protected IEditorPart getCurrentEditor() {
- return PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- }
-
- // protected Viewer getCurrentMergeViewer(){
- // IEditorPart currentEditor = getCurrentEditor();
- // if(currentEditor!=null && currentEditor instanceof CompareEditor){
- // Viewer viewer = ViewerUIInformation.INSTANCE.getMergeViewer(getCurrentEditor());
- // return viewer;
- // }
- // return null;
- // }
-
- protected TransactionalEditingDomain getEditingDomain() {
- final CompareEditorConfiguration config = org.eclipse.papyrus.infra.emf.compare.Activator.getDefault().getConfigurationFor(getCurrentEditor());
- if(config != null) {
- return config.getEditingDomain();
- }
- return null;
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/RedoHandler.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/RedoHandler.java
deleted file mode 100644
index 0019b45fcc8..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/RedoHandler.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.handlers;
-
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-
-
-public class RedoHandler extends AbstractEMFCompareHandler {
-
-
- public RedoHandler() {
- int d = 0;
- d++;
- }
-
- public Object execute(final ExecutionEvent event) throws ExecutionException {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public boolean isEnabled() {
- final boolean enabled = super.isEnabled();
- if(enabled) {
- final boolean state = getEditingDomain().getCommandStack().canRedo();
- System.out.println("redo state = " + state);
-
- return getEditingDomain().getCommandStack().canUndo();
- }
- return false;
- }
- //
- // @Override
- // public boolean isEnabled() {
- // // TODO Auto-generated method stub
- // return true;
- // }
-
- // public booleanisActive()
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/UndoHandler.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/UndoHandler.java
deleted file mode 100644
index f45b7c20ef4..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/handlers/UndoHandler.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.handlers;
-
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.gmf.runtime.common.core.command.CommandResult;
-
-
-public class UndoHandler extends AbstractEMFCompareHandler {
-
-
- public UndoHandler() {
- int d = 0;
- d++;
- }
-
- public Object execute(final ExecutionEvent event) throws ExecutionException {
- getEditingDomain().getCommandStack().undo();
- return CommandResult.newOKCommandResult();
- }
-
- @Override
- public boolean isEnabled() {
- final boolean enabled = super.isEnabled();
- if(enabled) {
- final boolean state = getEditingDomain().getCommandStack().canUndo();
- System.out.println("undo state = " + state);
- return getEditingDomain().getCommandStack().canUndo();
- }
- return false;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/listeners/CloseEditorListener.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/listeners/CloseEditorListener.java
deleted file mode 100644
index e2e4edc8be8..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/listeners/CloseEditorListener.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.listeners;
-
-import org.eclipse.papyrus.infra.emf.compare.ui.Activator;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IPartListener2;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.IWorkbenchPartReference;
-
-/**
- *
- * This listener listens the close of the editors and remove the customization manager associated to the closed editor from the map in the
- * {@link Activator}
- *
- */
-public class CloseEditorListener implements IPartListener2 {
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partActivated(final IWorkbenchPartReference partRef) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partBroughtToTop(final IWorkbenchPartReference partRef) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partClosed(final IWorkbenchPartReference partRef) {
- final IWorkbenchPart part = partRef.getPart(false);
- if(part instanceof IEditorPart) {
- Activator.getDefault().remove((IEditorPart)part);
- }
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partDeactivated(final IWorkbenchPartReference partRef) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partOpened(final IWorkbenchPartReference partRef) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partHidden(final IWorkbenchPartReference partRef) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partVisible(final IWorkbenchPartReference partRef) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param partRef
- */
- public void partInputChanged(final IWorkbenchPartReference partRef) {
- //nothing to do
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/AbstractActionStateSourceProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/AbstractActionStateSourceProvider.java
deleted file mode 100644
index e08b9b9e13d..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/AbstractActionStateSourceProvider.java
+++ /dev/null
@@ -1,280 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.provider;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.AbstractSourceProvider;
-import org.eclipse.ui.IPartListener;
-import org.eclipse.ui.IPartService;
-import org.eclipse.ui.ISelectionListener;
-import org.eclipse.ui.ISelectionService;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart;
-
-/**
- * This abstract class is used to provide the state of the actions. It's used to
- * refresh the status of these actions in the menu. (in toolbar and popup, it's
- * not needed)
- *
- * To get the status, we listen the selection service AND the part service! The
- * part service is used to know if the selection is in the Model Explorer or
- * not! When the selection is not in the model explorer, the handlers listening
- * the variable need to be disabled
- */
-//TODO : duplicate class from uml.diagram.common
-public abstract class AbstractActionStateSourceProvider extends AbstractSourceProvider {
-
- /**
- * The enabled state value.
- */
- public static final String ENABLED = "enabled"; //$NON-NLS-
-
- /**
- * The disabled state value.
- */
- public static final String DISABLED = "disabled"; //$NON-NLS-1$
-
- /**
- * Map used to register the state of the actions
- */
- protected HashMap<String, String> currentState;
-
- /**
- * The selection service
- */
- private static ISelectionService selectionService;
-
- /**
- * the listener for the part service
- */
- private static IPartService partService;
-
- /**
- * The listener for the selection service
- */
- private ISelectionListener listener; // we can't set the listener as a
- // static field -> doesn't work
-
- /**
- * The listener for the part service
- */
- private IPartListener partListener; // we can't set the listener as a static
- // field -> doesn't work
-
- /**
- * The activated part
- */
- private static IWorkbenchPart workbenchPart = null;
-
- /**
- *
- * Constructor.
- *
- */
- public AbstractActionStateSourceProvider() {
- currentState = new HashMap<String, String>();
- listener = new SelectionListener();
- partListener = new PartListener();
- }
-
- /**
- *
- * @see org.eclipse.ui.ISourceProvider#dispose()
- *
- */
- public void dispose() {
- if(selectionService != null) {
- selectionService.removeSelectionListener(listener);
- }
- if(partService != null) {
- partService.removePartListener(partListener);
- }
- }
-
- /**
- *
- * @see org.eclipse.ui.ISourceProvider#getCurrentState()
- *
- * @return
- */
- public Map<String, String> getCurrentState() {
- addSelectionListener();
- addPartListener();
- return currentState;
- }
-
- /**
- *
- * @see org.eclipse.ui.ISourceProvider#getProvidedSourceNames()
- *
- * @return
- */
-
- public abstract String[] getProvidedSourceNames();
-
- // public String[] getProvidedSourceNames() {
- // return new String[]{};
- // }
-
- /**
- * Adds a listener on the selection service if the field {@link #selectionService} is <code>null</code>
- */
- protected void addSelectionListener() {
- if(selectionService == null) {
- Display.getDefault().asyncExec(new Runnable() {
-
- public void run() {
- IWorkbench workbench = PlatformUI.getWorkbench();
- // selectionService =
- // (ISelectionService)workbench.getService(ISelectionService.class);
- IWorkbenchWindow activeWorkbench = workbench.getActiveWorkbenchWindow();
- if(activeWorkbench != null) {
- selectionService = activeWorkbench.getSelectionService();
- if(selectionService != null) {
- selectionService.addSelectionListener(listener);
- }
- }
- }
- });
- }
- }
-
- /**
- * Adds a listener on the part service
- */
- protected void addPartListener() {
- if(partService == null) {
- Display.getDefault().asyncExec(new Runnable() {
-
- public void run() {
- IWorkbench workbench = PlatformUI.getWorkbench();
- // partService =
- // (IPartService)workbench.getService(IPartService.class);
- IWorkbenchWindow activeWorkbench = workbench.getActiveWorkbenchWindow();
- if(activeWorkbench != null) {
- partService = activeWorkbench.getPartService();
- if(partService != null) {
- partService.addPartListener(partListener);
- }
- }
- }
- });
- }
- }
-
- /**
- * Test if the current ActivePart is the Model Explorer
- *
- * @return <code>true</code> if the current activePart is the Model Explorer <code>false</code> if not
- */
- protected boolean isSelectionInDiagram() {
- return (workbenchPart instanceof CoreMultiDiagramEditor);
- }
-
- /**
- *
- * The class {@link PartListener}
- *
- *
- */
- public class PartListener implements IPartListener {
-
- /**
- *
- * @see org.eclipse.ui.IPartListener#partOpened(org.eclipse.ui.IWorkbenchPart)
- *
- * @param part
- */
- public void partOpened(IWorkbenchPart part) {
- // TODO Auto-generated method stub
- }
-
- /**
- *
- * @see org.eclipse.ui.IPartListener#partDeactivated(org.eclipse.ui.IWorkbenchPart)
- *
- * @param part
- */
- public void partDeactivated(IWorkbenchPart part) {
- // TODO Auto-generated method stub
- }
-
- /**
- *
- * @see org.eclipse.ui.IPartListener#partClosed(org.eclipse.ui.IWorkbenchPart)
- *
- * @param part
- */
- public void partClosed(IWorkbenchPart part) {
- // TODO Auto-generated method stub
-
- }
-
- /**
- *
- * @see org.eclipse.ui.IPartListener#partBroughtToTop(org.eclipse.ui.IWorkbenchPart)
- *
- * @param part
- */
- public void partBroughtToTop(IWorkbenchPart part) {
- // TODO Auto-generated method stub
-
- }
-
- /**
- *
- * @see org.eclipse.ui.IPartListener#partActivated(org.eclipse.ui.IWorkbenchPart)
- *
- * @param part
- */
- public void partActivated(IWorkbenchPart part) {
- workbenchPart = part;
- refreshActions();
- }
-
- }
-
- /**
- *
- * This class provides the listener for the selection service
- *
- */
- protected class SelectionListener implements ISelectionListener {
-
- /**
- *
- * @see org.eclipse.ui.ISelectionListener#selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
- *
- * @param part
- * @param selection
- */
- public void selectionChanged(IWorkbenchPart part, ISelection selection) {
- workbenchPart = part;
- refreshActions();
- }
- }
-
- /**
- * This method refresh the status of the variables listened by the actions
- */
- protected abstract void refreshActions();
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ActionSourceProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ActionSourceProvider.java
deleted file mode 100644
index d8e12489ce2..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ActionSourceProvider.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.provider;
-
-import org.eclipse.compare.internal.CompareEditor;
-import org.eclipse.core.expressions.PropertyTester;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-public class ActionSourceProvider extends PropertyTester{
-
- public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
- if(property.equals("isEnabled")){
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- if(editor instanceof CompareEditor){
- return true;
- }
- }
- return false;
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ModelStructureLabelProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ModelStructureLabelProvider.java
deleted file mode 100644
index dc8420ff77a..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/ModelStructureLabelProvider.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.provider;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.compare.diff.metamodel.AbstractDiffExtension;
-import org.eclipse.emf.compare.util.AdapterUtils;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.ISharedImages;
-import org.eclipse.ui.PlatformUI;
-
-//FIXME : duplicated code from ModelStructureMergeViewer::ModelStructureLabelProvider
-/**
- * {@link LabelProvider} of this viewer.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
- public class ModelStructureLabelProvider extends LabelProvider {
- /**
- * We use this generic label provider, but we want to customize some aspects that's why we choose to
- * aggregate it.
- */
- /* package */AdapterFactoryLabelProvider adapterProvider;
-
- /**
- * Default constructor.
- */
- public ModelStructureLabelProvider() {
- adapterProvider = new AdapterFactoryLabelProvider(AdapterUtils.getAdapterFactory());
-
- }
-
- /**
- * Returns the platform icon for a given {@link IFile}. If not an {@link IFile}, delegates to the
- * {@link AdapterFactoryLabelProvider} to get the {@link Image}.
- *
- * @param object
- * Object to get the {@link Image} for.
- * @return The platform icon for the given object.
- * @see AdapterFactoryLabelProvider#getImage(Object)
- */
- @Override
- public Image getImage(Object object) {
- Image image = null;
- if (object instanceof AbstractDiffExtension) {
- image = (Image)((AbstractDiffExtension)object).getImage();
- } else if (object instanceof IFile) {
- image = PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FILE);
- }
-
- // fallback to ItemProvider
- if (image == null) {
- image = adapterProvider.getImage(object);
- }
-
- return image;
- }
-
- /**
- * Returns the name of the given {@link IFile}, delegates to
- * {@link AdapterFactoryLabelProvider#getText(Object)} if not an {@link IFile}.
- *
- * @param object
- * Object we seek the name for.
- * @return The name of the given object.
- * @see AdapterFactoryLabelProvider#getText(Object)
- */
- @Override
- public String getText(Object object) {
- String text = null;
- if (object instanceof AbstractDiffExtension) {
- text = ((AbstractDiffExtension)object).getText();
- } else if (object instanceof IFile) {
- text = ((IFile)object).getName();
- } else if (object instanceof Resource) {
- text = ((Resource)object).getURI().lastSegment();
- }
-
- // fallback to ItemProvider
- if (text == null || "".equals(text)) { //$NON-NLS-1$
- text = adapterProvider.getText(object);
- }
-
- return text;
- }
- }
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/PapyrusLabelProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/PapyrusLabelProvider.java
deleted file mode 100644
index 726f2b5421a..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/PapyrusLabelProvider.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.provider;
-
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelLabelProvider;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.AppearanceConfiguration;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.model.ITreeElement;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.model.ModelElementItem;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Device;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.RGB;
-import org.eclipse.swt.widgets.Display;
-
-
-/**
- * PapyrusLabelProvider provides the same labels and icons as one can find in the Model Explorer.
- */
-// Not placed in the UI plugin because it is used in the subclasses of AbstractDiffExtension, in getText() method
-public class PapyrusLabelProvider extends CustomizableModelLabelProvider {
-
-
- /** The configuration. */
- private final AppearanceConfiguration configuration;
-
- //TODO merge ModelStructureLabelProvider with this provider!
- private final ModelStructureLabelProvider provider = new ModelStructureLabelProvider();
-
- /**
- * Constructor.
- *
- * @param customizationManager
- * the customization manager
- */
- public PapyrusLabelProvider(final CustomizationManager customizationManager) {
- super(customizationManager);
- this.configuration = getAppearanceConfiguration(customizationManager);
- }
-
- // /**
- // * Instantiates a new papyrus label provider.
- // */
- // public PapyrusLabelProvider() {
- // this(initCustomizationManager());
- // }
-
- // /**
- // * Inits the customization manager.
- // *
- // * @return the customization manager
- // */
- // private static CustomizationManager initCustomizationManager() {
- // CustomizationManager manager = new CustomizationManager();
- // try {
- // List<MetamodelView> registryDefaultCustomizations = CustomizationsCatalog.getInstance().getRegistryDefaultCustomizations();
- // for(MetamodelView metamodelView : registryDefaultCustomizations) {
- // manager.registerCustomization(metamodelView);
- // }
- // manager.loadCustomizations();
- //
- // } catch (Throwable e) {
- // //TODO
- //// Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Error initializing customizations", e)); //$NON-NLS-1$
- // }
- // manager.setShowFullQualifiedNames(false);
- // manager.setShowURI(true);
- // manager.setShowDerivedLinks(false);
- // return manager;
- // }
-
- /**
- * Gets the appearance configuration.
- *
- * @param customizationManager2
- * the customization manager2
- * @return the appearance configuration
- */
- private AppearanceConfiguration getAppearanceConfiguration(final CustomizationManager customizationManager2) {
- Method getApperanceConfigurationMethod;
- try {
- getApperanceConfigurationMethod = CustomizationManager.class.getDeclaredMethod("getAppearanceConfiguration"); //$NON-NLS-1$
- if(getApperanceConfigurationMethod != null) {
- getApperanceConfigurationMethod.setAccessible(true);
- return (AppearanceConfiguration)getApperanceConfigurationMethod.invoke(customizationManager2);
- }
- } catch (final SecurityException e) {
- //TODO
- // Activator.logError(e);
- } catch (final NoSuchMethodException e) {
- // Activator.logError(e);
- } catch (final IllegalArgumentException e) {
- // Activator.logError(e);
- } catch (final IllegalAccessException e) {
- // Activator.logError(e);
- } catch (final InvocationTargetException e) {
- // Activator.logError(e);
- }
- return new AppearanceConfiguration(null); // default one.
- }
-
- /**
- * Gets the text.
- *
- * @param element
- * the element
- * @return the text {@inheritDoc}
- */
- @Override
- public String getText(final Object element) {
- if(element == null) {
- return ""; //$NON-NLS-1$
- }
- if(element instanceof EObject) {
- final ITreeElement treeElement = getTreeElement((EObject)element);
- return super.getText(treeElement);
- }
- return super.getText(element);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelLabelProvider#getImage(java.lang.Object)
- */
- @Override
- public Image getImage(final Object element) {
- if(element == null) {
- return null;
- }
- if(element instanceof EObject) {
- final ITreeElement treeElement = getTreeElement((EObject)element);
- return super.getImage(treeElement);
- }
- return super.getImage(element);
- }
-
-
- /**
- * Gets the tree element.
- *
- * @param eObject
- * the e object
- * @return the tree element
- */
- private ITreeElement getTreeElement(final EObject eObject) {
- if(eObject == null) {
- return null;
- }
- return new ModelElementItem(eObject, getTreeElement(eObject.eContainer()), this.configuration);
- }
-
- //TODO for test only!
- @Override
- public Color getBackground(final Object element) {
- final RGB rgb = new RGB(255, 0, 0);
- final Device device = Display.getDefault();
- final Color color = new Color(device, rgb);
- // TODO Auto-generated method stub
- return color;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/TransactionalActionSourceProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/TransactionalActionSourceProvider.java
deleted file mode 100644
index e7d71e1f28e..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/provider/TransactionalActionSourceProvider.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.provider;
-
-import org.eclipse.core.commands.AbstractHandler;
-import org.eclipse.papyrus.infra.emf.compare.ui.handlers.RedoHandler;
-import org.eclipse.papyrus.infra.emf.compare.ui.handlers.UndoHandler;
-import org.eclipse.ui.ISources;
-
-
-public class TransactionalActionSourceProvider extends AbstractActionStateSourceProvider{
-
- public static final String UNDO_ACTION = "undoAction";
- public static final String REDO_ACTION = "redoAction";
- public TransactionalActionSourceProvider() {
- super();
- currentState.put(UNDO_ACTION, DISABLED);
- currentState.put(REDO_ACTION, DISABLED);
- }
-
- @Override
- public String[] getProvidedSourceNames() {
-
- return new String[]{UNDO_ACTION,REDO_ACTION};
- }
-public void refresh(){
- refreshActions();
-}
- @Override
- protected void refreshActions() {
- refresh(UNDO_ACTION, new UndoHandler());
- refresh(REDO_ACTION, new RedoHandler());
-
- }
- /**
- * Refresh the state of the handlers
- *
- * @param key
- * the key used to refresh the handler status
- * @param handler
- * the handler to refresh
- */
- protected void refresh(String key, AbstractHandler handler) {
- String oldState = currentState.get(key);
- String newState = (test(handler) ? ENABLED : DISABLED);
-
-// if(oldState != newState) {
- //currentState.put(key, newState);
- currentState.put(key, ENABLED);
- fireSourceChanged(ISources.WORKBENCH, key, newState);
-// }
- }
-
- /**
- *
- * @param handler
- * the handler to refresh
- * @return
- * <code>true</code> if the status of the handler is enabled
- */
- protected boolean test(AbstractHandler handler) {
- return /*isSelectionInDiagram() && */handler.isEnabled();
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusParameterizedStructureMergeViewer.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusParameterizedStructureMergeViewer.java
deleted file mode 100644
index ad1ce5b13f2..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusParameterizedStructureMergeViewer.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.structural.viewer;
-
-import java.util.Collections;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.CompareViewerPane;
-import org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.jface.action.ActionContributionItem;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.action.ToolBarManager;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.papyrus.infra.emf.compare.ui.Activator;
-import org.eclipse.papyrus.infra.emf.compare.ui.actions.CustomizationAction;
-import org.eclipse.papyrus.infra.emf.compare.ui.provider.PapyrusLabelProvider;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-
-public class PapyrusParameterizedStructureMergeViewer extends ParameterizedStructureMergeViewer {
-
- public PapyrusParameterizedStructureMergeViewer(final Composite parent, final CompareConfiguration compareConfiguration) {
- super(parent, compareConfiguration);
- setLabelProvider(createMyLabelProvider(compareConfiguration));
- }
-
- @Override
- protected void createToolItems() {
- final ToolBarManager tbm = CompareViewerPane.getToolBarManager(getControl().getParent());
- tbm.removeAll();
- super.createToolItems();
-
- //we add an action to change the applied cuztomization
- final IAction customizationAction = new CustomizationAction(Collections.EMPTY_SET);
- final ActionContributionItem customizationContributionItem = new ActionContributionItem(customizationAction);
- tbm.insert(1, customizationContributionItem);
- tbm.update(true);
- }
-
- // /**
- // * Creates this viewer's label provider.
- // *
- // * @param compareConfiguration
- // * Compare configuration that's been fed this viewer.
- // * @return This viewer's label provider.
- // * @since 1.1
- // */
- // @Override
- protected LabelProvider createMyLabelProvider(@SuppressWarnings("unused") final CompareConfiguration compareConfiguration) {
- final IEditorPart activeEditor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- Activator.getDefault().getCustomizationManager(activeEditor);
- final CustomizationManager manager = Activator.getDefault().getCustomizationManager(activeEditor);
- //TODO : I think that we need to provide the metamodel to the customization manager in order to display correctly the element in the viewer
- //Warning : there are 2 viewers (merge and structure), we need to provide the metamodels in 2 times!
- return new PapyrusLabelProvider(manager);
- }
-
-
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusStructureMergeViewerCreator.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusStructureMergeViewerCreator.java
deleted file mode 100644
index a986d59cefa..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/structural/viewer/PapyrusStructureMergeViewerCreator.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.structural.viewer;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.IViewerCreator;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- *
- *
- * this class creates the MergeViewer
- */
-public class PapyrusStructureMergeViewerCreator implements IViewerCreator {
-
- /**
- *
- * {@inheritDoc}
- *
- * @param parent
- * @param config
- * @return
- */
- public Viewer createViewer(final Composite parent, final CompareConfiguration config) {
- return new PapyrusParameterizedStructureMergeViewer(parent, config);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalContentMergeViewerCreator.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalContentMergeViewerCreator.java
deleted file mode 100644
index 4e371690bfb..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalContentMergeViewerCreator.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.viewer;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.IViewerCreator;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.widgets.Composite;
-
-
-public class TransactionalContentMergeViewerCreator implements IViewerCreator {
-
- public TransactionalContentMergeViewerCreator() {
- // TODO Auto-generated constructor stub
- }
-
- public Viewer createViewer(Composite parent, CompareConfiguration config) {
- //return new ModelContentMergeViewer(parent,config);
- return new TransactionalModelContentMergeViewer(parent, config);
- }
-// CompareConfiguration
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeDiffTab.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeDiffTab.java
deleted file mode 100644
index 909fd56bb5d..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeDiffTab.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.viewer;
-
-import org.eclipse.compare.internal.CompareEditor;
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.ISelectionService;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.internal.AbstractSelectionService;
-
-
-/**
- * The Structure Tab in the Merge Viewer.
- */
-//duplicate code from tatiana
-//TODO : verify the super class
-public class TransactionalModelContentMergeDiffTab extends ModelContentMergeDiffTab {
-
- IEditorPart currentEditor;
-
- /**
- * Instantiates a new uML model content merge diff tab.
- *
- * @param parentComposite
- * the parent composite
- * @param side
- * the side
- * @param parentFolder
- * the parent folder
- */
- public TransactionalModelContentMergeDiffTab(Composite parentComposite, int side, ModelContentMergeTabFolder parentFolder) {
- super(parentComposite, side, parentFolder);
- currentEditor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- ISelectionService service = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService();
- // service.
- ISelectionProvider selectionprovider = currentEditor.getEditorSite().getSelectionProvider();
- // org.eclipse.emf.compare.ui.viewer.structure.ParameterizedStructureMergeViewer
- // selectionprovider.setSelection(selection)addSelectionChangedListener(listener)SelectionChangedListener(this);
- }
-
- @Override
- protected void fireSelectionChanged(SelectionChangedEvent event) {
- // TODO Auto-generated method stub
- super.fireSelectionChanged(event);
- if(currentEditor instanceof ISelectionProvider){
-// ((ISelectionProvider)currentEditor).getSelection()
- ISelectionService service = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService();
-
- }
- if(currentEditor instanceof CompareEditor){
- ISelectionProvider selectionprovider = currentEditor.getSite().getSelectionProvider();
- ISelectionService service = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService();
-// ((AbstractSelectionService)service).
- selectionprovider.setSelection(null);
- int d=0;
- d++;
- }
-
- }
-
- @Override
- public void dispose() {
- // TODO Auto-generated method stub
- super.dispose();
- }
-
- // /*
- // * (non-Javadoc)
- // *
- // * @see org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab#setSelectionToWidget(java.util.List, boolean)
- // */
- // @Override
- // protected void setSelectionToWidget(List l, boolean reveal) {
- // // tfesenko filter stereotype applications
- // List result = new ArrayList();
- // for(Object next : l) {
- // if(next instanceof EObject && UMLCompareUtils.isStereotypeApplication((EObject)next)) {
- // EObject stereotypeApplication = (EObject)next;
- // result.add(UMLUtil.getBaseElement(stereotypeApplication));
- // } else {
- // result.add(next);
- // }
- // }
- // super.setSelectionToWidget(result, reveal);
- // }
- //
- // /*
- // * (non-Javadoc)
- // *
- // * @see org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelContentMergeDiffTab#setReflectiveInput(java.lang.Object)
- // */
- // @Override
- // public void setReflectiveInput(Object object) {
- // // tfesenko 336361 - [UML Compare] Compare two elements: show right element as root
- // if(object instanceof EObject) {
- // clearCaches();
- // // tfesenko default implementation sets object.eResource here
- // setInput(object);
- // setupCaches();
- // needsRedraw = true;
- // }
- // super.setReflectiveInput(object);
- // }
-
- @Override
- protected void firePostSelectionChanged(SelectionChangedEvent event) {
- // TODO Auto-generated method stub
- super.firePostSelectionChanged(event);
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeTabFolder.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeTabFolder.java
deleted file mode 100644
index 1b22913ebb5..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeTabFolder.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- * Vincent Lorenzo (CEA LIST) - 349650: [Papyrus Merge] IndexOfBoundException
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.viewer;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.compare.diff.metamodel.ComparisonSnapshot;
-import org.eclipse.emf.compare.ui.TypedElementWrapper;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.content.part.IModelContentMergeViewerTab;
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.compare.util.AdapterUtils;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.papyrus.infra.emf.compare.ui.Activator;
-import org.eclipse.papyrus.infra.emf.compare.ui.provider.PapyrusLabelProvider;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-
-/**
- * The Class UMLModelContentMergeTabFolder.
- */
-//duplicate code from tatiana
-//TODO verify the super class
-public class TransactionalModelContentMergeTabFolder extends ModelContentMergeTabFolder {
-
- /** The my uml viewer. */
- protected final TransactionalModelContentMergeViewer myUMLViewer;
-
- /**
- * Instantiates a new uML model content merge tab folder.
- *
- * @param viewer the viewer
- * @param composite the composite
- * @param side the side
- */
- public TransactionalModelContentMergeTabFolder(ModelContentMergeViewer viewer, Composite composite, int side) {
- super(viewer, composite, side);
- myUMLViewer = (TransactionalModelContentMergeViewer)viewer;
- }
-
-
- @Override
- protected IModelContentMergeViewerTab createModelContentMergeDiffTab(Composite parent) {
-// IModelContentMergeViewerTab tab = super.createModelContentMergeDiffTab(parent);
- TransactionalModelContentMergeDiffTab diffTab = new TransactionalModelContentMergeDiffTab(parent, partSide, this);
- diffTab.setContentProvider(createDiffTabContentProvider());
- IEditorPart activeEditor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- CustomizationManager manager = Activator.getDefault().getCustomizationManager(activeEditor);
- diffTab.setLabelProvider(new PapyrusLabelProvider(manager));
- return diffTab;
-
- }
-
- @Override
- public void dispose() {
-// Activator.getDefault().
- super.dispose();
- }
-//
-// /* (non-Javadoc)
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder#createModelContentMergeViewerTab(org.eclipse.swt.widgets.Composite)
-// */
-// @Override
-// protected IModelContentMergeViewerTab createModelContentMergeViewerTab(Composite parent) {
-// ModelContentMergePropertyTab propertyTab = new ModelContentMergePropertyTab(parent, partSide, this);
-// propertyTab.setContentProvider(new UMLPropertyContentProvider());
-// return propertyTab;
-// }
-//
-// /**
-// * Creates the diff tab content provider.
-// *
-// * @return the i content provider
-// */
-// protected IContentProvider createDiffTabContentProvider() {
-// ComposedAdapterFactory adapterFactory = new UMLAdapterFactory();
-// AdapterFactoryContentProvider result = new AdapterFactoryContentProvider(adapterFactory) {
-//
-// @Override
-// public Object[] getElements(Object object) {
-// if(object instanceof RootObject) {
-// return new Object[]{ ((RootObject)object).object };
-// }
-// return super.getElements(object);
-// }
-// };
-//
-// return result;
-// }
-//
-// /* (non-Javadoc)
-// * @see org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder#findMatchFromElement(org.eclipse.emf.ecore.EObject)
-// */
-// protected EObject findMatchFromElement(EObject element) {
-// EObject matchElement = super.findMatchFromElement(element);
-// if(!myUMLViewer.isShowAllProperties() && matchElement instanceof Match2Elements) {
-// if(myUMLViewer.getCurrentSelection().size()!=0){//see bug 349650
-// return new Match2ElementsWithDiff((Match2Elements)matchElement, myUMLViewer.getCurrentSelection().get(0));
-// }
-// }
-// return matchElement;
-// }
-//
-// /**
-// * Gets the selected tab.
-// *
-// * @return the selected tab
-// */
-// public int getSelectedTab() {
-// return tabFolder.getSelectionIndex();
-// }
-//
-// /**
-// * Checks if is property tab.
-// *
-// * @param index the index
-// * @return true, if is property tab
-// */
-// public boolean isPropertyTab(int index) {
-// final IModelContentMergeViewerTab currentTab = tabs.get(index);
-// return (currentTab == getPropertyPart());
-// }
-
-//TODO : use the content provider from the new EMF-Compare
- protected IContentProvider createDiffTabContentProvider() {
-// private ModelContentMergeDiffTabContentProvider createContentProvider() {
-
- return new ModelContentMergeDiffTabContentProvider(AdapterUtils.getAdapterFactory());
-// }
-
- // ComposedAdapterFactory adapterFactory = new UMLAdapterFactory();
-// ComposedAdapterFactory adapterFactory = new ComposedAdapterFactory();
-// AdapterFactoryContentProvider result = new AdapterFactoryContentProvider(adapterFactory) {
-//
-// @Override
-// public Object[] getElements(Object object) {
-//// if(object instanceof RootObject) {
-//// return new Object[]{ ((RootObject)object).object };
-//// }
-// return super.getElements(object);
-// }
-// }
-
-// return result;
- }
-
-
- /**
- * This implementation of an {@link AdapterFactoryContentProvider} will strip ComparisonSnapshots out of
- * the view.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
- //duplicate code from EMF-Compare :ModelContentMergeDiffTab.ModelContentMergeDiffTabContentProvider
- public class ModelContentMergeDiffTabContentProvider extends AdapterFactoryContentProvider {
- /**
- * Default constructor. Delegates to the super implementation.
- *
- * @param factory
- * Factory to get labels and icons from.
- */
- public ModelContentMergeDiffTabContentProvider(AdapterFactory factory) {
- super(factory);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#getElements(java.lang.Object)
- */
- @SuppressWarnings("unchecked")
- @Override
- public Object[] getElements(Object object) {
- // overwritten to ensure contents of ResourceSets, List<Resource>, and Resource are correclty
- // returned.
- Object[] result = null;
- if (object instanceof ResourceSet) {
- final List<Resource> resources = ((ResourceSet)object).getResources();
- final List<Resource> elements = new ArrayList<Resource>(resources.size());
- for (final Resource resource : resources) {
- if (resource.getContents().isEmpty()
- || !(resource.getContents().get(0) instanceof ComparisonSnapshot)) {
- elements.add(resource);
- }
- }
- result = elements.toArray();
- } else if (object instanceof TypedElementWrapper) {
- result = new Object[] {((EObject)object).eResource(), };
- } else if (object instanceof List) {
- // we may also display a list of resources
- result = ((List)object).toArray();
- } else if (object instanceof Resource) {
- // return contents of resource
- result = ((Resource)object).getContents().toArray();
- } else {
- result = super.getElements(object);
- }
- return result;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#getChildren(java.lang.Object)
- */
- @Override
- public Object[] getChildren(Object object) {
- if (object instanceof Resource) {
- return ((Resource)object).getContents().toArray();
- }
- return super.getChildren(object);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#hasChildren(java.lang.Object)
- */
- @Override
- public boolean hasChildren(Object object) {
- if (object instanceof Resource) {
- return ((Resource)object).getContents().size() > 0;
- }
- return super.hasChildren(object);
- }
- }
-
- @Override
- protected void fireSelectionChanged(SelectionChangedEvent event) {
- // TODO Auto-generated method stub
- super.fireSelectionChanged(event);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeViewer.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeViewer.java
deleted file mode 100644
index bd25116ba51..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare.ui/src/org/eclipse/papyrus/infra/emf/compare/ui/viewer/TransactionalModelContentMergeViewer.java
+++ /dev/null
@@ -1,277 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.ui.viewer;
-
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.contentmergeviewer.IMergeViewerContentProvider;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.operations.IUndoableOperation;
-import org.eclipse.core.commands.operations.OperationHistoryFactory;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeViewer;
-import org.eclipse.emf.compare.ui.viewer.content.part.ModelContentMergeTabFolder;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.workspace.AbstractEMFOperation;
-import org.eclipse.emf.workspace.EMFOperationCommand;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.action.ActionContributionItem;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.action.ToolBarManager;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.papyrus.infra.emf.compare.ui.Activator;
-import org.eclipse.papyrus.infra.emf.compare.ui.actions.CustomizationAction;
-import org.eclipse.papyrus.infra.emf.compare.utils.CompareEditorConfiguration;
-import org.eclipse.papyrus.infra.emf.compare.utils.Utils;
-import org.eclipse.swt.events.DisposeEvent;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-public class TransactionalModelContentMergeViewer extends ModelContentMergeViewer {
-
- /** the action to know if we use the Papyrus Edit Service or not for the merge action */
- private IAction useEditServiceAction;
-
- //FIXME : avoid to duplicate this string...
- private static final String SYNCHRONIZATION_IMAGE_PATH = "icons/PapyrusLogo16x16.gif";
-
- //FIXME
- private static final ImageDescriptor diagramSynchronizationImage = Activator.imageDescriptorFromPlugin(Activator.PLUGIN_ID, TransactionalModelContentMergeViewer.SYNCHRONIZATION_IMAGE_PATH);
-
- /** the list of the metamodels referenced in the compared files. this field is used by the Customization Manager */
- private Set<EPackage> metamodels;
-
- /** the configuration for the merge action using this viewer */
- private CompareEditorConfiguration configuration;
-
- /**
- *
- * Constructor.
- *
- * @param parent
- * @param config
- */
- public TransactionalModelContentMergeViewer(final Composite parent, final CompareConfiguration config) {
- super(parent, config);
- }
-
-
- /**
- * {@inheritDoc}
- *
- * @param input
- * the input
- */
- @Override
- public void setInput(final Object input) {
- super.setInput(input);
- createCompareConfiguration();
- initizalizeMetamodels();
- updateToolItems();
- }
-
- /**
- * Create the configuration for the merge using this viewer. The configuration will be store in
- * {@link org.eclipse.papyrus.infra.emf.compare.Activator}
- */
- private void createCompareConfiguration() {
- final IMergeViewerContentProvider contentProvider = (IMergeViewerContentProvider)getContentProvider();
-
- //the left :
- Object content = contentProvider.getLeftContent(getInput());
- Resource leftUMLResource = null;
- if(content instanceof Resource) {
- leftUMLResource = (Resource)content;
- }
-
- //the right
- content = contentProvider.getRightContent(getInput());
- Resource rightUMLResource = null;
- if(content instanceof Resource) {
- rightUMLResource = (Resource)content;
- }
- final IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- if(rightUMLResource != null || leftUMLResource != null) {
- this.configuration = new CompareEditorConfiguration(editor, leftUMLResource, rightUMLResource);
- org.eclipse.papyrus.infra.emf.compare.Activator.getDefault().addConfiguration(editor, this.configuration);
- }
- }
-
-
- /**
- *
- * {@inheritDoc}
- *
- * @param composite
- * @param side
- * @return
- */
- @Override
- protected ModelContentMergeTabFolder createModelContentMergeTabFolder(final Composite composite, final int side) {
- return new TransactionalModelContentMergeTabFolder(this, composite, side);
- }
-
- /**
- * Undoes the changes implied by the currently selected {@link DiffElement diff}.
- */
- @Override
- protected void copyDiffLeftToRight() {
- if(this.currentSelection != null) {
- doCopy(this.currentSelection, true);
- }
- this.currentSelection.clear();
- switchCopyState(false);
- }
-
- /**
- * Applies the changes implied by the currently selected {@link DiffElement diff}.
- */
- @Override
- protected void copyDiffRightToLeft() {
- if(this.currentSelection != null) {
- doCopy(this.currentSelection, false);
- }
- this.currentSelection.clear();
- switchCopyState(false);
- }
-
-
- protected void doCopy(final List<DiffElement> diffs, final boolean leftToRight) {
- //leftUMLResource.load(options) TODO!
- final TransactionalEditingDomain domain = this.configuration.getEditingDomain();
-
- final Map<?, ?> transactionOptions = Collections.EMPTY_MAP;
- final Runnable runnable = new Runnable() {
-
- public void run() {
- // TODO Auto-generated method stub
- TransactionalModelContentMergeViewer.this.copy(diffs, leftToRight);
- }
- };
-
- final IUndoableOperation operation = new AbstractEMFOperation(domain, "copy action", transactionOptions) {
-
- @Override
- protected IStatus doExecute(final IProgressMonitor monitor, final IAdaptable info) throws ExecutionException {
- runnable.run();
- return Status.OK_STATUS;
- }
-
-
- };
-
- final Command command = new EMFOperationCommand(domain, operation);
- try {
- OperationHistoryFactory.getOperationHistory().execute(operation, new NullProgressMonitor(), null);
- } catch (final ExecutionException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- // domain.getCommandStack().execute(command);
- }
-
- /**
- *
- * {@inheritDoc} Add a toogle button to the toolbar to do the synchronization with the diagram
- *
- * @param tbm
- * the toolbar manager
- */
- @Override
- protected void createToolItems(final ToolBarManager tbm) {
- //we add an action for the diagram synchronization
- this.useEditServiceAction = new Action("Diagram Synchronisation", IAction.AS_CHECK_BOX) {
-
- /**
- * {@inheritDoc}
- *
- */
- @Override
- public void run() {
- TransactionalModelContentMergeViewer.this.configuration.setUseEditService(isChecked());
- }
- };
-
- this.useEditServiceAction.setImageDescriptor(TransactionalModelContentMergeViewer.diagramSynchronizationImage);
- final ActionContributionItem actionContributionItem = new ActionContributionItem(this.useEditServiceAction);
- this.useEditServiceAction.setToolTipText("Remove the inconsistent views on the Papyrus Model");
- tbm.insert(0, actionContributionItem);
-
- //we add an action to change the applied customization
- final IAction customizationAction = new CustomizationAction(getMetamodels());
- final ActionContributionItem customizationContributionItem = new ActionContributionItem(customizationAction);
- tbm.insert(1, customizationContributionItem);
- super.createToolItems(tbm);
-
- }
-
- /**
- *
- * {@inheritDoc} Update {@link #useEditServiceAction}
- */
- @Override
- protected void updateToolItems() {
- super.updateToolItems();
- if(this.useEditServiceAction != null && this.configuration != null) {
- this.useEditServiceAction.setEnabled(this.configuration.manageDiResource());//null pointer
- }
- }
-
- /**
- * initialize the list of the metamodel referenced in the compared files.
- */
- private void initizalizeMetamodels() {
- getMetamodels().addAll(this.configuration.getMetamodels());
- }
-
- /**
- *
- * @return
- * a set with the metamodels. This list will be used by the Customization Manager
- */
- private Set<EPackage> getMetamodels() {
- if(this.metamodels == null) {
- this.metamodels = new HashSet<EPackage>();
- }
- return this.metamodels;
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param event
- */
- @Override
- protected void handleDispose(final DisposeEvent event) {
- final IEditorPart editor = Utils.getCurrentEditor();
- org.eclipse.papyrus.infra.emf.compare.Activator.getDefault().removeConfiguration(editor);
- this.configuration.dispose();
- super.handleDispose(event);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.classpath b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.classpath
deleted file mode 100644
index 2d1a4302f04..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.project b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.project
deleted file mode 100644
index 498925e84ad..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.infra.emf.compare</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.core.prefs b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 84e4cf4b517..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Mon Nov 28 11:49:55 CET 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.ui.prefs b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 3a12994bde4..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,108 +0,0 @@
-#Thu Dec 01 17:08:16 CET 2011
-cleanup.add_default_serial_version_id=true
-cleanup.add_generated_serial_version_id=false
-cleanup.add_missing_annotations=true
-cleanup.add_missing_deprecated_annotations=true
-cleanup.add_missing_methods=true
-cleanup.add_missing_nls_tags=false
-cleanup.add_missing_override_annotations=true
-cleanup.add_missing_override_annotations_interface_methods=false
-cleanup.add_serial_version_id=false
-cleanup.always_use_blocks=true
-cleanup.always_use_parentheses_in_expressions=false
-cleanup.always_use_this_for_non_static_field_access=true
-cleanup.always_use_this_for_non_static_method_access=true
-cleanup.convert_to_enhanced_for_loop=true
-cleanup.correct_indentation=true
-cleanup.format_source_code=true
-cleanup.format_source_code_changes_only=false
-cleanup.make_local_variable_final=true
-cleanup.make_parameters_final=true
-cleanup.make_private_fields_final=true
-cleanup.make_type_abstract_if_missing_method=false
-cleanup.make_variable_declarations_final=true
-cleanup.never_use_blocks=false
-cleanup.never_use_parentheses_in_expressions=true
-cleanup.organize_imports=true
-cleanup.qualify_static_field_accesses_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-cleanup.qualify_static_member_accesses_with_declaring_class=true
-cleanup.qualify_static_method_accesses_with_declaring_class=true
-cleanup.remove_private_constructors=true
-cleanup.remove_trailing_whitespaces=true
-cleanup.remove_trailing_whitespaces_all=true
-cleanup.remove_trailing_whitespaces_ignore_empty=false
-cleanup.remove_unnecessary_casts=true
-cleanup.remove_unnecessary_nls_tags=true
-cleanup.remove_unused_imports=true
-cleanup.remove_unused_local_variables=false
-cleanup.remove_unused_private_fields=true
-cleanup.remove_unused_private_members=false
-cleanup.remove_unused_private_methods=true
-cleanup.remove_unused_private_types=true
-cleanup.sort_members=false
-cleanup.sort_members_all=false
-cleanup.use_blocks=true
-cleanup.use_blocks_only_for_return_and_throw=false
-cleanup.use_parentheses_in_expressions=false
-cleanup.use_this_for_non_static_field_access=true
-cleanup.use_this_for_non_static_field_access_only_if_necessary=false
-cleanup.use_this_for_non_static_method_access=false
-cleanup.use_this_for_non_static_method_access_only_if_necessary=false
-cleanup_profile=_CustomPapyrusCleanUpProfile
-cleanup_settings_version=2
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-sp_cleanup.add_default_serial_version_id=true
-sp_cleanup.add_generated_serial_version_id=false
-sp_cleanup.add_missing_annotations=true
-sp_cleanup.add_missing_deprecated_annotations=true
-sp_cleanup.add_missing_methods=false
-sp_cleanup.add_missing_nls_tags=false
-sp_cleanup.add_missing_override_annotations=true
-sp_cleanup.add_missing_override_annotations_interface_methods=false
-sp_cleanup.add_serial_version_id=false
-sp_cleanup.always_use_blocks=true
-sp_cleanup.always_use_parentheses_in_expressions=false
-sp_cleanup.always_use_this_for_non_static_field_access=true
-sp_cleanup.always_use_this_for_non_static_method_access=false
-sp_cleanup.convert_to_enhanced_for_loop=true
-sp_cleanup.correct_indentation=true
-sp_cleanup.format_source_code=true
-sp_cleanup.format_source_code_changes_only=false
-sp_cleanup.make_local_variable_final=true
-sp_cleanup.make_parameters_final=true
-sp_cleanup.make_private_fields_final=true
-sp_cleanup.make_type_abstract_if_missing_method=false
-sp_cleanup.make_variable_declarations_final=true
-sp_cleanup.never_use_blocks=false
-sp_cleanup.never_use_parentheses_in_expressions=true
-sp_cleanup.on_save_use_additional_actions=true
-sp_cleanup.organize_imports=true
-sp_cleanup.qualify_static_field_accesses_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
-sp_cleanup.qualify_static_method_accesses_with_declaring_class=true
-sp_cleanup.remove_private_constructors=true
-sp_cleanup.remove_trailing_whitespaces=true
-sp_cleanup.remove_trailing_whitespaces_all=true
-sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
-sp_cleanup.remove_unnecessary_casts=true
-sp_cleanup.remove_unnecessary_nls_tags=true
-sp_cleanup.remove_unused_imports=true
-sp_cleanup.remove_unused_local_variables=false
-sp_cleanup.remove_unused_private_fields=true
-sp_cleanup.remove_unused_private_members=false
-sp_cleanup.remove_unused_private_methods=true
-sp_cleanup.remove_unused_private_types=true
-sp_cleanup.sort_members=false
-sp_cleanup.sort_members_all=false
-sp_cleanup.use_blocks=true
-sp_cleanup.use_blocks_only_for_return_and_throw=false
-sp_cleanup.use_parentheses_in_expressions=true
-sp_cleanup.use_this_for_non_static_field_access=true
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false
-sp_cleanup.use_this_for_non_static_method_access=false
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/META-INF/MANIFEST.MF b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/META-INF/MANIFEST.MF
deleted file mode 100644
index 280fb4fab18..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,26 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Papyrus CompEMF are
-Bundle-SymbolicName: org.eclipse.papyrus.infra.emf.compare;singleton:=true
-Bundle-Version: 0.9.0.qualifier
-Bundle-Activator: org.eclipse.papyrus.infra.emf.compare.Activator
-Bundle-Vendor: Eclipse Modeling Project
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.team.ui,
- org.eclipse.emf.ecore,
- org.eclipse.emf.compare.match,
- org.eclipse.emf.compare,
- org.eclipse.emf.compare.diff,
- org.eclipse.emf.compare.ui,
- org.eclipse.compare,
- com.google.collect,
- org.eclipse.papyrus.infra.services.edit,
- org.eclipse.gmf.runtime.emf.type.core
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
-Export-Package: org.eclipse.papyrus.infra.emf.compare,
- org.eclipse.papyrus.infra.emf.compare.actions,
- org.eclipse.papyrus.infra.emf.compare.merger,
- org.eclipse.papyrus.infra.emf.compare.merger.provider,
- org.eclipse.papyrus.infra.emf.compare.utils
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/build.properties b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/build.properties
deleted file mode 100644
index 6f20375d6c7..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.xml
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/plugin.xml b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/plugin.xml
deleted file mode 100644
index c68b79c5e35..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/plugin.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Compare UML Elements"
- id="org.eclipse.papyrus.infra.emf.compare.uml.element.papyrus"
- name="Compare UML Elements">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- commandId="org.eclipse.papyrus.infra.emf.compare.uml.element.papyrus">
- </handler>
- </extension>
- <extension
- point="org.eclipse.emf.compare.diff.mergerprovider">
- <mergerprovider
- fileExtension="uml"
- mergerProviderClass="org.eclipse.papyrus.infra.emf.compare.merger.provider.PapyrusMergerProvider"
- priority="low">
- </mergerprovider>
- </extension>
-
-</plugin>
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/Activator.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/Activator.java
deleted file mode 100644
index d0d62c15e14..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/Activator.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.commands.IExecutionListener;
-import org.eclipse.papyrus.infra.core.log.LogHelper;
-import org.eclipse.papyrus.infra.emf.compare.service.SaveEMFCompareListener;
-import org.eclipse.papyrus.infra.emf.compare.utils.CompareEditorConfiguration;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.commands.ICommandService;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.infra.emf.compare"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- /** listener on the command service to catch the save and saveAll action */
- private IExecutionListener commandServiceListener;
-
- /** this map contains the compare editor configuration */
- private static final Map<IEditorPart, CompareEditorConfiguration> configuration = new HashMap<IEditorPart, CompareEditorConfiguration>();
-
- public static LogHelper log;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- @Override
- public void start(final BundleContext context) throws Exception {
- super.start(context);
- Activator.plugin = this;
- Activator.log = new LogHelper(this);
- //we add a listener on the command service
- this.commandServiceListener = new SaveEMFCompareListener();
- final ICommandService service = (ICommandService)PlatformUI.getWorkbench().getActiveWorkbenchWindow().getService(ICommandService.class);
- service.addExecutionListener(this.commandServiceListener);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- @Override
- public void stop(final BundleContext context) throws Exception {
- Activator.plugin = null;
- //we remove the listener on the command service
- final ICommandService service = (ICommandService)PlatformUI.getWorkbench().getActiveWorkbenchWindow().getService(ICommandService.class);
- service.removeExecutionListener(this.commandServiceListener);
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return Activator.plugin;
- }
-
- /**
- *
- * @param editor
- * an editor
- * @return
- * the configuration mapped with this editor (can be <code>null</code>)
- */
- public CompareEditorConfiguration getConfigurationFor(final IEditorPart editor) {
- return Activator.configuration.get(editor);
- }
-
- /**
- * map an editor and a configuration
- *
- * @param editor
- * an editor
- * @param configuration
- * a configuration
- */
- public void addConfiguration(final IEditorPart editor, final CompareEditorConfiguration configuration) {
- Activator.configuration.put(editor, configuration);
- }
-
- /**
- * Remove the configuration
- *
- * @param editor
- * a editor
- */
- public void removeConfiguration(final IEditorPart editor) {
- Activator.configuration.remove(editor);
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/actions/CompareTwoElementsAction.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/actions/CompareTwoElementsAction.java
deleted file mode 100644
index 01b8af392b8..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/actions/CompareTwoElementsAction.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Tatiana Fesenko (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.actions;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.jface.action.IAction;
-import org.eclipse.team.internal.ui.actions.TeamAction;
-
-/**
- * Action to compare two arbitrary elements.
- * Availbale in the context menu of the model explorer.
- */
-public class CompareTwoElementsAction extends TeamAction {
-
- @Override
- protected void execute(IAction action) throws InvocationTargetException, InterruptedException {
- // TODO Auto-generated method stub
-
- }
-
-// /* (non-Javadoc)
-// * @see org.eclipse.team.internal.ui.actions.TeamAction#execute(org.eclipse.jface.action.IAction)
-// */
-// protected void execute(IAction action) throws InvocationTargetException, InterruptedException {
-//
-// Object[] selectedElements = getSelection().toArray();
-// if(selectedElements.length != 2) {
-//// Activator.logInfo(Messages.bind(Messages.CompareTwoElementsAction_only_only_element_is_selected, selectedElements.length));
-// return;
-// }
-//
-// EObject left = getElementFor(selectedElements[0]);
-// EObject right = getElementFor(selectedElements[1]);
-// if(left == null) {
-//// Activator.logInfo(Messages.CompareTwoElementsAction_left_element_is_null);
-// return;
-// }
-//
-// if(right == null) {
-//// Activator.logInfo(Messages.CompareTwoElementsAction_right_element_is_null);
-// return;
-// }
-//
-// ComparisonResourceSnapshot snapshot = doContentCompare(left, right);
-// openInCompare(snapshot);
-// }
-//
-// /* (non-Javadoc)
-// * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-// */
-// public boolean isEnabled() {
-// Object[] selectedElements = getSelection().toArray();
-// if(selectedElements.length != 2) {
-// return false;
-// }
-// EObject left = getElementFor(selectedElements[0]);
-// EObject right = getElementFor(selectedElements[1]);
-// return left != null && right != null;
-// }
-//
-// /**
-// * Open in compare.
-// *
-// * @param snapshot the snapshot
-// */
-// private void openInCompare(ComparisonSnapshot snapshot) {
-// CompareUI.openCompareEditor(new ModelCompareEditorInput(snapshot) {
-//
-// @Override
-// protected ModelContentMergeViewer createMergeViewer(CompareViewerPane pane, CompareConfiguration config) {
-// return new UMLModelContentMergeViewer(pane, config) {
-// @Override
-// protected IMergeViewerContentProvider createMergeViewerContentProvider() {
-// return new ElementContentMergeContentProvider(configuration);
-// }
-// };
-// }
-//
-// @Override
-// public Control createOutlineContents(Composite parent, int direction) {
-// Control result = super.createOutlineContents(parent, direction);
-// structureMergeViewer.setLabelProvider(new UMLStyledStructureLabelProvider(new PapyrusLabelProvider()));
-// return result;
-// }
-//
-// });
-// }
-//
-// /**
-// * Do content compare.
-// *
-// * @param left the left
-// * @param right the right
-// * @return the comparison resource snapshot
-// */
-// protected ComparisonResourceSnapshot doContentCompare(final EObject left, final EObject right) {
-// final ComparisonResourceSnapshot snapshot = DiffFactory.eINSTANCE.createComparisonResourceSnapshot();
-//
-// try {
-// PlatformUI.getWorkbench().getProgressService().busyCursorWhile(new IRunnableWithProgress() {
-//
-// public void run(IProgressMonitor monitor) throws InterruptedException {
-// final MatchModel match = contentMatch(left, right, monitor);
-// final DiffModel diff = contentDiff(left, right, match);
-//
-// snapshot.setDiff(diff);
-// snapshot.setMatch(match);
-// }
-//
-// });
-// } catch (final InterruptedException e) {
-// Activator.logError(e);
-// } catch (final EMFCompareException e) {
-// Activator.logError(e);
-// } catch (final InvocationTargetException e) {
-// Activator.logError(e);
-// }
-// return snapshot;
-// }
-//
-// /**
-// * Content diff.
-// *
-// * @param left the left
-// * @param right the right
-// * @param match the match
-// * @return the diff model
-// */
-// protected DiffModel contentDiff(final EObject left, final EObject right, final MatchModel match) {
-// ElementContentDiffEngine engine = new ElementContentDiffEngine(left, right);
-// final DiffModel diff = engine.doDiff(match);
-// final Collection<AbstractDiffExtension> extensions = DiffService.getCorrespondingDiffExtensions(match);
-// for(final AbstractDiffExtension ext : extensions) {
-// if(ext != null) {
-// ext.visit(diff);
-// }
-// }
-//
-// engine.reset();
-// return diff;
-// }
-//
-// /**
-// * Content match.
-// *
-// * @param left the left
-// * @param right the right
-// * @param monitor the monitor
-// * @return the match model
-// * @throws InterruptedException the interrupted exception
-// */
-// protected MatchModel contentMatch(final EObject left, final EObject right, IProgressMonitor monitor) throws InterruptedException {
-// final Map<String, Object> options = new EMFCompareMap<String, Object>();
-// options.put(MatchOptions.OPTION_PROGRESS_MONITOR, monitor);
-// options.put(MatchOptions.OPTION_MATCH_SCOPE_PROVIDER, new GenericMatchScopeProvider(left.eResource(), right.eResource()));
-// options.put(MatchOptions.OPTION_IGNORE_ID, Boolean.TRUE);
-// options.put(MatchOptions.OPTION_IGNORE_XMI_ID, Boolean.TRUE);
-//
-// final IMatchEngine matchEngine = new ElementContentMatchEngine(left, right);
-// final MatchModel match = matchEngine.contentMatch(left, right, options);
-// return match;
-// }
-//
-// /**
-// * Gets the element for.
-// *
-// * @param object the object
-// * @return the element for
-// */
-// protected EObject getElementFor(Object object) {
-// if(object instanceof IAdaptable) {
-// return (EObject)((IAdaptable)object).getAdapter(EObject.class);
-// }
-//
-// if(object instanceof EObject) {
-// return (EObject)object;
-// }
-// return null;
-// }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AbstractPapyrusDefaultMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AbstractPapyrusDefaultMerger.java
deleted file mode 100644
index b8d51df7396..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AbstractPapyrusDefaultMerger.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-
-public abstract class AbstractPapyrusDefaultMerger extends DefaultMerger {
-
- protected Command getCommand(final Object objectToEdit, final IEditCommandRequest request) {
- final IElementEditService provider = ElementEditServiceUtils.getCommandProvider(objectToEdit);
- if(provider != null) {
- return new GMFtoEMFCommandWrapper(provider.getEditCommand(request));
- }
- return null;
- }
-
- protected TransactionalEditingDomain getEditingDomain() {
- //FIXME
- return TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain();
- }
-
- protected Command getDestroyElementCommand(final EObject element) {
- final TransactionalEditingDomain domain = getEditingDomain();
- Command command = null;
- if(domain != null) {
- final IEditCommandRequest request = new DestroyElementRequest(domain, element, false);
- command = getCommand(element, request);
- }
- return command;
- }
-
- protected boolean usePapyrusEditService() {
- return false;
- }
-
-
-
- public abstract Command doApplyInOriginCommand();
-
- public abstract Command doUndoInTargetCommand();
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeLeftTargetMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeLeftTargetMerger.java
deleted file mode 100644
index 12389a92dc6..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeLeftTargetMerger.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.List;
-
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.metamodel.AttributeChangeLeftTarget;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * Merger for an {@link AttributeChangeLeftTarget} operation.<br/>
- * <p>
- * Are considered for this merger :
- * <ul>
- * <li>{@link RemoveAttribute}</li>
- * <li>{@link RemoteAddAttribute}</li>
- * </ul>
- * </p>
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class AttributeChangeLeftTargetMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final AttributeChangeLeftTarget theDiff = (AttributeChangeLeftTarget)this.diff;
- final EObject origin = theDiff.getLeftElement();
- final Object value = theDiff.getLeftTarget();
- final EAttribute attr = theDiff.getAttribute();
- try {
- EFactory.eRemove(origin, attr.getName(), value);
- } catch (FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final AttributeChangeLeftTarget theDiff = (AttributeChangeLeftTarget)this.diff;
- final EObject target = theDiff.getRightElement();
- final Object value = theDiff.getLeftTarget();
- final EAttribute attr = theDiff.getAttribute();
- try {
- int valueIndex = -1;
- if (attr.isMany()) {
- final EObject leftElement = theDiff.getLeftElement();
- final Object leftValues = leftElement.eGet(attr);
- if (leftValues instanceof List) {
- final List leftValuesList = (List)leftValues;
- valueIndex = leftValuesList.indexOf(value);
- }
- }
- EFactory.eAdd(target, attr.getName(), value, valueIndex);
- } catch (FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeRightTargetMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeRightTargetMerger.java
deleted file mode 100644
index 2017294052f..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeChangeRightTargetMerger.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.List;
-
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.metamodel.AttributeChangeRightTarget;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * Merger for an {@link AttributeChangeRightTarget} operation.<br/>
- * <p>
- * Are considered for this merger :
- * <ul>
- * <li>{@link AddAttribute}</li>
- * <li>{@link RemoteRemoveAttribute}</li>
- * </ul>
- * </p>
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class AttributeChangeRightTargetMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final AttributeChangeRightTarget theDiff = (AttributeChangeRightTarget)this.diff;
- final EObject origin = theDiff.getLeftElement();
- final Object value = theDiff.getRightTarget();
- final EAttribute attr = theDiff.getAttribute();
- try {
- int valueIndex = -1;
- if (attr.isMany()) {
- final EObject rightElement = theDiff.getRightElement();
- final Object rightValues = rightElement.eGet(attr);
- if (rightValues instanceof List) {
- final List rightValuesList = (List)rightValues;
- valueIndex = rightValuesList.indexOf(value);
- }
- }
- EFactory.eAdd(origin, attr.getName(), value, valueIndex);
- } catch (FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final AttributeChangeRightTarget theDiff = (AttributeChangeRightTarget)this.diff;
- final EObject target = theDiff.getRightElement();
- final Object value = theDiff.getRightTarget();
- final EAttribute attr = theDiff.getAttribute();
- try {
- EFactory.eRemove(target, attr.getName(), value);
- } catch (FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeOrderChangeMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeOrderChangeMerger.java
deleted file mode 100644
index 6117d20fda7..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/AttributeOrderChangeMerger.java
+++ /dev/null
@@ -1,227 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.lang.reflect.Array;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.metamodel.AttributeOrderChange;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EEnumLiteral;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * Merger for an {@link AttributeOrderChange} operation.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-@SuppressWarnings("unchecked")
-public class AttributeOrderChangeMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final AttributeOrderChange theDiff = (AttributeOrderChange)this.diff;
- final EAttribute attribute = theDiff.getAttribute();
- final EObject leftElement = theDiff.getLeftElement();
- final EObject rightElement = theDiff.getRightElement();
-
- final List<Object> leftList = (List<Object>)leftElement.eGet(attribute);
- final List<Object> rightList = (List<Object>)rightElement.eGet(attribute);
-
- /*
- * We need to transform the "left" list into the "right" list, modulo missing values. In practical
- * terms, this means that we'll simply leave untouched any element that has no match in the "right"
- * list (elements that were deleted) while reordering the others in the order they have in the "right"
- * list.
- */
- final List<Object> leftCopy = new ArrayList<Object>(leftList);
- final List<Object> result = new ArrayList<Object>(leftList.size());
- // Add all unmatched values in the result list
- for (int i = 0; i < leftList.size(); i++) {
- final Object left = leftList.get(i);
-
- boolean hasMatch = false;
- for (int j = 0; !hasMatch && j < rightList.size(); j++) {
- hasMatch = !areDistinctValues(left, rightList.get(j));
- }
-
- if (!hasMatch) {
- leftCopy.remove(left);
- result.add(left);
- }
- }
- // Then reorder according to the right list's order
- for (int i = 0; i < rightList.size(); i++) {
- final Object right = rightList.get(i);
-
- Object leftMatch = null;
- for (int j = 0; leftMatch == null && j < leftCopy.size(); j++) {
- if (!areDistinctValues(right, leftCopy.get(j))) {
- leftMatch = leftCopy.get(j);
- }
- }
-
- if (leftMatch != null) {
- leftCopy.remove(leftMatch);
- result.add(leftMatch);
- }
- }
- // Finally, set the value of our attribute to this new list
- leftElement.eSet(attribute, result);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final AttributeOrderChange theDiff = (AttributeOrderChange)this.diff;
- final EAttribute attribute = theDiff.getAttribute();
- final EObject leftElement = theDiff.getLeftElement();
- final EObject rightElement = theDiff.getRightElement();
-
- final List<Object> leftList = (List<Object>)leftElement.eGet(attribute);
- final List<Object> rightList = (List<Object>)rightElement.eGet(attribute);
-
- /*
- * We need to transform the "right" list into the "left" list, modulo missing values. In practical
- * terms, this means that we'll simply leave untouched any element that has no match in the "left"
- * list (elements that were added) while reordering the others in the order they have in the "left"
- * list.
- */
- final List<Object> rightCopy = new ArrayList<Object>(rightList);
- final List<Object> result = new ArrayList<Object>(rightList.size());
- // Add all unmatched values in the result list
- for (int i = 0; i < rightList.size(); i++) {
- final Object right = rightList.get(i);
-
- boolean hasMatch = false;
- for (int j = 0; !hasMatch && j < leftList.size(); j++) {
- hasMatch = !areDistinctValues(right, leftList.get(j));
- }
-
- if (!hasMatch) {
- rightCopy.remove(right);
- result.add(right);
- }
- }
- // Then reorder according to the left list's order
- for (int i = 0; i < leftList.size(); i++) {
- final Object left = leftList.get(i);
-
- Object rightMatch = null;
- for (int j = 0; rightMatch == null && j < rightCopy.size(); j++) {
- if (!areDistinctValues(left, rightCopy.get(j))) {
- rightMatch = rightCopy.get(j);
- }
- }
-
- if (rightMatch != null) {
- rightCopy.remove(rightMatch);
- result.add(rightMatch);
- }
- }
- // Finally, set the value of our attribute to this new list
- rightElement.eSet(attribute, result);
- }
-
- /**
- * Compare values by equality handling specifics of EMF.
- *
- * @param left
- * object 1.
- * @param right
- * object 2
- * @return true if both objects are not equals.
- */
- private static boolean areDistinctValues(Object left, Object right) {
- final boolean distinct;
- if (left instanceof EEnumLiteral && right instanceof EEnumLiteral) {
- final StringBuilder value1 = new StringBuilder();
- value1.append(((EEnumLiteral)left).getLiteral()).append(((EEnumLiteral)left).getValue());
- final StringBuilder value2 = new StringBuilder();
- value2.append(((EEnumLiteral)right).getLiteral()).append(((EEnumLiteral)right).getValue());
- distinct = !value1.toString().equals(value2.toString());
- } else if (left != null && left.getClass().isArray()) {
- // [299641] compare arrays by their content instead of instance equality
- distinct = areDistinctArrays(left, right);
- } else if (left instanceof FeatureMap.Entry || right instanceof FeatureMap.Entry) {
- distinct = areDistinctEntries(left, right);
- } else {
- distinct = left != null && !left.equals(right) || left == null && left != right;
- }
- return distinct;
- }
-
- /**
- * Compares the two given value while assuming one or both is a {@link FeatureMap.Entry}.
- *
- * @param left
- * Left of the two values to compare.
- * @param right
- * Right of the two values to compare.
- * @return <code>true</code> if the two values are distinct, <code>false</code> otherwise.
- */
- private static boolean areDistinctEntries(Object left, Object right) {
- final boolean distinct;
- if (left instanceof FeatureMap.Entry && right instanceof FeatureMap.Entry) {
- distinct = areDistinctValues(((FeatureMap.Entry)left).getValue(),
- ((FeatureMap.Entry)right).getValue());
- } else if (left instanceof FeatureMap.Entry) {
- distinct = areDistinctValues(((FeatureMap.Entry)left).getValue(), right);
- } else {
- distinct = areDistinctValues(left, ((FeatureMap.Entry)right).getValue());
- }
- return distinct;
- }
-
- /**
- * Compares two values as arrays, checking that the length and content of both matches each other.
- *
- * @param left
- * The value of the attribute from the left compare resource.
- * @param right
- * The value of the attribute from the right compare resource.
- * @return <code>true</code> if the <code>left</code> value is distinct from the <code>right</code> value.
- */
- private static boolean areDistinctArrays(Object left, Object right) {
- boolean distinct = false;
- // we know left is a non-null array.
- if (right == null || !right.getClass().isArray()) {
- distinct = true;
- } else {
- final int leftLength = Array.getLength(left);
- final int rightLength = Array.getLength(right);
- if (leftLength != rightLength) {
- distinct = true;
- } else {
- for (int i = 0; i < leftLength; i++) {
- final Object leftElement = Array.get(left, i);
- final Object rightElement = Array.get(right, i);
- if (areDistinctValues(leftElement, rightElement)) {
- distinct = true;
- break;
- }
- }
- }
- }
- return distinct;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffExtensionMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffExtensionMerger.java
deleted file mode 100644
index f6342acc602..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffExtensionMerger.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-
-/**
- * Merger for an {@link DiffExtension} operation.<br/>
- *
- * @author <a href="mailto:cedric.brun@obeo.fr">Cedric Brun</a>
- */
-public class DiffExtensionMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
-
- @Override
- public void doApplyInOrigin() {
- // TODO code diff extension merger
- // final AbstractDiffExtension extension = (AbstractDiffExtension)this.diff;
- // if (!extension.providesMerger()) {
- // /*
- // * No merger is provided so we'll browse the hidden elements and merge them..
- // */
- // for (final Iterator<DiffElement> iterator = extension.getHideElements().iterator();
- // iterator.hasNext(); ) {
- // final DiffElement hidden = iterator.next();
- // final AbstractMerger merger = MergeFactory.createMerger(hidden);
- // merger.applyInOrigin();
- // }
- // } else {
- // extension.getMerger().applyInOrigin();
- // }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- // TODO code diff extension merger
- // final AbstractDiffExtension extension = (AbstractDiffExtension)this.diff;
- // if (!extension.providesMerger()) {
- // /*
- // * No merger is provided so we'll browse the hidden elements and merge them..
- // */
- // for (final Iterator<DiffElement> iterator = extension.getHideElements().iterator();
- // iterator.hasNext(); ) {
- // final DiffElement hidden = iterator.next();
- // final AbstractMerger merger = MergeFactory.createMerger(hidden);
- // merger.undoInTarget();
- // }
- // } else {
- // extension.getMerger().undoInTarget();
- // }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffGroupMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffGroupMerger.java
deleted file mode 100644
index b04da1a0f90..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/DiffGroupMerger.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.merge.service.MergeService;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-
-/**
- * This merger will handle DiffGroup merging by recursively create mergers on each of its contents.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class DiffGroupMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#applyInOrigin()
- */
- @Override
- public void applyInOrigin() {
- // Creates a temporary list to avoid ConcurentModificationExceptions
- final List<DiffElement> subDiffs = new ArrayList<DiffElement>(diff.getSubDiffElements());
- MergeService.merge(subDiffs, false);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#undoInTarget()
- */
- @Override
- public void undoInTarget() {
- // Creates a temporary list to avoid ConcurentModificationExceptions
- final List<DiffElement> subDiffs = new ArrayList<DiffElement>(diff.getSubDiffElements());
- MergeService.merge(subDiffs, true);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ModelElementChangeRightTargetMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ModelElementChangeRightTargetMerger.java
deleted file mode 100644
index ae884c33194..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ModelElementChangeRightTargetMerger.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceOrderChange;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * Merger for an {@link ModelElementChangeRightTarget} operation.<br/>
- * <p>
- * Are considered for this merger :
- * <ul>
- * <li>RemoveModelElement</li>
- * <li>RemoteAddModelElement</li>
- * </ul>
- * </p>
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class ModelElementChangeRightTargetMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final ModelElementChangeRightTarget theDiff = (ModelElementChangeRightTarget)this.diff;
- final EObject origin = theDiff.getLeftParent();
- final EObject element = theDiff.getRightElement();
- final EObject newOne = copy(element);
- final EReference ref = element.eContainmentFeature();
- if (ref != null) {
- try {
- int expectedIndex = -1;
- if (ref.isMany()) {
- final Object containmentRefVal = element.eContainer().eGet(ref);
- if (containmentRefVal instanceof List<?>) {
- @SuppressWarnings("unchecked")
- final List<EObject> listVal = (List<EObject>)containmentRefVal;
- expectedIndex = listVal.indexOf(element);
- }
- }
- EFactory.eAdd(origin, ref.getName(), newOne, expectedIndex, true);
- setXMIID(newOne, getXMIID(element));
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- } else if (origin == null && getDiffModel().getLeftRoots().size() > 0) {
- getDiffModel().getLeftRoots().get(0).eResource().getContents().add(newOne);
- } else if (origin != null) {
- origin.eResource().getContents().add(newOne);
- } else {
- // FIXME Throw exception : couldn't merge this
- }
- // we should now have a look for AddReferencesLinks needing this object
- final Iterator<EObject> siblings = getDiffModel().eAllContents();
- while (siblings.hasNext()) {
- final DiffElement op = (DiffElement)siblings.next();
- if (op instanceof ReferenceChangeRightTarget) {
- final ReferenceChangeRightTarget link = (ReferenceChangeRightTarget)op;
- // now if I'm in the target References I should put my copy in the origin
- if (link.getLeftTarget() != null && link.getLeftTarget() == element) {
- link.setRightTarget(newOne);
- }
- } else if (op instanceof ReferenceOrderChange) {
- final ReferenceOrderChange link = (ReferenceOrderChange)op;
- if (link.getLeftElement() == origin && link.getReference() == ref) {
- final ListIterator<EObject> targetIterator = link.getLeftTarget().listIterator();
- boolean replaced = false;
- while (!replaced && targetIterator.hasNext()) {
- final EObject target = targetIterator.next();
- if (target.eIsProxy()
- && equalProxyURIs(((InternalEObject)target).eProxyURI(),
- EcoreUtil.getURI(element))) {
- targetIterator.set(newOne);
- replaced = true;
- }
- }
- }
- }
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final ModelElementChangeRightTarget theDiff = (ModelElementChangeRightTarget)this.diff;
- final EObject element = theDiff.getRightElement();
- final EObject parent = theDiff.getRightElement().eContainer();
- EcoreUtil.remove(element);
- // now removes all the dangling references
- removeDanglingReferences(parent);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#canUndoInTarget()
- */
- @Override
- public boolean canUndoInTarget() {
- final ModelElementChangeRightTarget theDiff = (ModelElementChangeRightTarget)this.diff;
- final boolean isRightElementNotNull = theDiff.getRightElement() != null;
- return isRightElementNotNull;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#getDependencies(boolean)
- */
- @Override
- protected List<DiffElement> getDependencies(boolean applyInOrigin) {
- if (applyInOrigin) {
- return diff.getRequires();
- }
- return super.getDependencies(applyInOrigin);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/MoveModelElementMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/MoveModelElementMerger.java
deleted file mode 100644
index e48facd10b0..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/MoveModelElementMerger.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.List;
-
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.metamodel.MoveModelElement;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * Merger for a {@link MoveModelElement} operation.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class MoveModelElementMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @SuppressWarnings("unchecked")
- @Override
- public void doApplyInOrigin() {
- final MoveModelElement theDiff = (MoveModelElement)this.diff;
- final EObject leftTarget = theDiff.getLeftTarget();
- final EObject leftElement = theDiff.getLeftElement();
- final EReference ref = theDiff.getRightElement().eContainmentFeature();
- if (ref != null) {
- // ordering handling:
- int index = -1;
- final EObject rightElementParent = theDiff.getRightElement().eContainer();
- final Object rightRefValue = rightElementParent.eGet(ref);
- if (rightRefValue instanceof List) {
- final List<Object> refRightValueList = (List<Object>)rightRefValue;
- index = refRightValueList.indexOf(theDiff.getRightElement());
- }
-
- try {
- // We'll store the element's ID because moving an element deletes its XMI ID
- final String elementID = getXMIID(leftElement);
- EcoreUtil.remove(leftElement);
- EFactory.eAdd(leftTarget, ref.getName(), leftElement, index, true);
- // Sets anew the element's ID
- setXMIID(leftElement, elementID);
- } catch (FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- } else {
- // shouldn't be here
- assert false;
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @SuppressWarnings("unchecked")
- @Override
- public void doUndoInTarget() {
- final MoveModelElement theDiff = (MoveModelElement)this.diff;
- final EObject rightTarget = theDiff.getRightTarget();
- final EObject rightElement = theDiff.getRightElement();
- final EReference ref = theDiff.getLeftElement().eContainmentFeature();
- if (ref != null) {
- // ordering handling:
- int index = -1;
- final EObject leftElementParent = theDiff.getLeftElement().eContainer();
- final Object leftRefValue = leftElementParent.eGet(ref);
- if (leftRefValue instanceof List) {
- final List<Object> refLeftValueList = (List<Object>)leftRefValue;
- index = refLeftValueList.indexOf(theDiff.getLeftElement());
- }
-
- try {
- final String elementID = getXMIID(rightElement);
- EcoreUtil.remove(rightElement);
- EFactory.eAdd(rightTarget, ref.getName(), rightElement, index, true);
- setXMIID(rightElement, elementID);
- } catch (FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- } else {
- // shouldn't be here
- assert false;
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusModelElementChangeLeftTargetMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusModelElementChangeLeftTargetMerger.java
deleted file mode 100644
index b92e8cbcec3..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusModelElementChangeLeftTargetMerger.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.internal.merge.impl.ModelElementChangeLeftTargetMerger;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceOrderChange;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.infra.emf.compare.Activator;
-import org.eclipse.papyrus.infra.emf.compare.merger.provider.PapyrusMergeCommandProvider;
-import org.eclipse.papyrus.infra.emf.compare.utils.CompareEditorConfiguration;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-/**
- * Merger for an {@link ModelElementChangeLeftTarget} operation.<br/>
- * <p>
- * Are considered for this merger :
- * <ul>
- * <li>AddModelElement</li>
- * <li>RemoteRemoveModelElement</li>
- * </ul>
- * </p>
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class PapyrusModelElementChangeLeftTargetMerger extends ModelElementChangeLeftTargetMerger {
-
-private boolean useEditService(){
- CompareEditorConfiguration config = getConfiguration();
- return config != null && config.isEditServiceUsing();
-}
-
-private CompareEditorConfiguration getConfiguration(){
- IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- return Activator.getDefault().getConfigurationFor(editor);
-}
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @Override
- protected void doApplyInOrigin() {
-
- if(useEditService()) {
- System.out.println("Synchronization avec le diagramme : " + useEditService());
- final ModelElementChangeLeftTarget theDiff = (ModelElementChangeLeftTarget)this.diff;
- final EObject element = theDiff.getLeftElement();
- TransactionalEditingDomain domain = getConfiguration().getEditingDomain();
- Command cmd = PapyrusMergeCommandProvider.INSTANCE.getDestroyCommand(domain, element);
- domain.getCommandStack().execute(cmd);
- } else {
- System.out.println("Synchronization avec le diagramme : " + useEditService());
- super.doApplyInOrigin();
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- protected void doUndoInTarget() {
- final ModelElementChangeLeftTarget theDiff = (ModelElementChangeLeftTarget)this.diff;
- // we should copy the element to the Origin one.
- final EObject origin = theDiff.getRightParent();
- final EObject element = theDiff.getLeftElement();
- final EObject newOne = copy(element);
- final EReference ref = element.eContainmentFeature();
- if(ref != null) {
- try {
- int elementIndex = -1;
- if(ref.isMany()) {
- final Object containmentRefVal = element.eContainer().eGet(ref);
- if(containmentRefVal instanceof List<?>) {
- @SuppressWarnings("unchecked")
- final List<EObject> listVal = (List<EObject>)containmentRefVal;
- elementIndex = listVal.indexOf(element);
- }
- }
- EFactory.eAdd(origin, ref.getName(), newOne, elementIndex, true);
- setXMIID(newOne, getXMIID(element));
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- } else if(origin == null && getDiffModel().getRightRoots().size() > 0) {
- getDiffModel().getRightRoots().get(0).eResource().getContents().add(newOne);
- } else if(origin != null) {
- origin.eResource().getContents().add(newOne);
- } else {
- // FIXME throw exception : couldn't merge this
- }
- // we should now have a look for RemovedReferencesLinks needing elements to apply
- final Iterator<EObject> siblings = getDiffModel().eAllContents();
- while(siblings.hasNext()) {
- final Object op = siblings.next();
- if(op instanceof ReferenceChangeLeftTarget) {
- final ReferenceChangeLeftTarget link = (ReferenceChangeLeftTarget)op;
- // now if I'm in the target References I should put my copy in the origin
- if(link.getRightTarget() != null && link.getRightTarget() == element) {
- link.setLeftTarget(newOne);
- }
- } else if(op instanceof ReferenceOrderChange) {
- final ReferenceOrderChange link = (ReferenceOrderChange)op;
- if(link.getRightElement() == origin && link.getReference() == ref) {
- final ListIterator<EObject> targetIterator = link.getRightTarget().listIterator();
- boolean replaced = false;
- while(!replaced && targetIterator.hasNext()) {
- final EObject target = targetIterator.next();
- if(target.eIsProxy() && equalProxyURIs(((InternalEObject)target).eProxyURI(), EcoreUtil.getURI(element))) {
- targetIterator.set(newOne);
- replaced = true;
- }
- }
- }
- }
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#getDependencies(boolean)
- */
- @Override
- protected List<DiffElement> getDependencies(boolean applyInOrigin) {
- if(!applyInOrigin) {
- return diff.getRequires();
- }
- return super.getDependencies(applyInOrigin);
- }
-
- public Command doApplyInOriginCommand() {
- // TODO Auto-generated method stub
- return null;
- }
-
- public Command doUndoInTargetCommand() {
- // TODO Auto-generated method stub
- return null;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusUpdateAttributeMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusUpdateAttributeMerger.java
deleted file mode 100644
index ce96c500e57..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/PapyrusUpdateAttributeMerger.java
+++ /dev/null
@@ -1,77 +0,0 @@
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.internal.merge.impl.UpdateAttributeMerger;
-import org.eclipse.emf.compare.diff.metamodel.UpdateAttribute;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.infra.emf.compare.merger.provider.PapyrusMergeCommandProvider;
-import org.eclipse.papyrus.infra.emf.compare.utils.Utils;
-
-
-public class PapyrusUpdateAttributeMerger extends UpdateAttributeMerger {
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final UpdateAttribute theDiff = (UpdateAttribute)this.diff;
- final EObject element = theDiff.getRightElement();
- final EObject origin = theDiff.getLeftElement();
- final EAttribute attr = theDiff.getAttribute();
- if(Utils.useEditService()) {
- final TransactionalEditingDomain domain = Utils.getConfiguration().getEditingDomain();
- Command cmd = null;
- try {
- cmd = PapyrusMergeCommandProvider.INSTANCE.getSetCommand(domain, origin, origin.eClass().getEStructuralFeature(attr.getName()), EFactory.eGet(element, attr.getName()));
- } catch (final FactoryException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- domain.getCommandStack().execute(cmd);
- } else {
- try {
- EFactory.eSet(origin, attr.getName(), EFactory.eGet(element, attr.getName()));
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final UpdateAttribute theDiff = (UpdateAttribute)this.diff;
- final EObject element = theDiff.getRightElement();
- final EObject origin = theDiff.getLeftElement();
- final EAttribute attr = theDiff.getAttribute();
- if(Utils.useEditService()) {
- final TransactionalEditingDomain domain = Utils.getConfiguration().getEditingDomain();
- Command cmd = null;
- try {
- cmd = PapyrusMergeCommandProvider.INSTANCE.getSetCommand(domain, element, element.eClass().getEStructuralFeature(attr.getName()), EFactory.eGet(origin, attr.getName()));
- } catch (final FactoryException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- domain.getCommandStack().execute(cmd);
- } else {
- try {
- EFactory.eSet(element, attr.getName(), EFactory.eGet(origin, attr.getName()));
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeLeftTargetMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeLeftTargetMerger.java
deleted file mode 100644
index 108a07395d6..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeLeftTargetMerger.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.merge.service.MergeService;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceOrderChange;
-import org.eclipse.emf.compare.diff.metamodel.ResourceDependencyChange;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * Merger for an {@link ReferenceChangeLeftTarget} operation.<br/>
- * <p>
- * Are considered for this merger :
- * <ul>
- * <li>AddReferenceValue</li>
- * <li>RemoteRemoveReferenceValue</li>
- * </ul>
- * </p>
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class ReferenceChangeLeftTargetMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final ReferenceChangeLeftTarget theDiff = (ReferenceChangeLeftTarget)this.diff;
- final EObject element = theDiff.getLeftElement();
- final EObject leftTarget = theDiff.getLeftTarget();
- try {
- EFactory.eRemove(element, theDiff.getReference().getName(), leftTarget);
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- // we should now have a look for AddReferencesLinks needing this object
- final Iterator<EObject> siblings = getDiffModel().eAllContents();
- while (siblings.hasNext()) {
- final DiffElement op = (DiffElement)siblings.next();
- if (op instanceof ReferenceChangeLeftTarget) {
- final ReferenceChangeLeftTarget link = (ReferenceChangeLeftTarget)op;
- // now if I'm in the target References I should put my copy in the origin
- if (link.getReference().equals(theDiff.getReference().getEOpposite())
- && link.getLeftTarget().equals(element)) {
- removeFromContainer(link);
- }
- } else if (op instanceof ResourceDependencyChange) {
- final ResourceDependencyChange link = (ResourceDependencyChange)op;
- final Resource res = link.getRoots().get(0).eResource();
- if (res == leftTarget.eResource()) {
- EcoreUtil.remove(link);
- res.unload();
- }
- }
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final ReferenceChangeLeftTarget theDiff = (ReferenceChangeLeftTarget)this.diff;
- final EReference reference = theDiff.getReference();
- final EObject element = theDiff.getRightElement();
- final EObject leftTarget = theDiff.getLeftTarget();
- final EObject rightTarget = theDiff.getRightTarget();
-
- int index = -1;
- if (reference.isMany()) {
- final EObject leftElement = theDiff.getLeftElement();
- final Object leftRefValue = leftElement.eGet(reference);
- if (leftRefValue instanceof List) {
- final List refLeftValueList = (List)leftRefValue;
- index = refLeftValueList.indexOf(leftTarget);
- }
- }
- final EObject copiedValue = MergeService.getCopier(diff).copyReferenceValue(reference, element,
- leftTarget, rightTarget, index);
-
- // we should now have a look for AddReferencesLinks needing this object
- final Iterator<EObject> siblings = getDiffModel().eAllContents();
- while (siblings.hasNext()) {
- final DiffElement op = (DiffElement)siblings.next();
- if (op instanceof ReferenceChangeLeftTarget) {
- final ReferenceChangeLeftTarget link = (ReferenceChangeLeftTarget)op;
- // now if I'm in the target References I should put my copy in the origin
- if (link.getReference().equals(reference.getEOpposite())
- && link.getLeftTarget().equals(element)) {
- removeFromContainer(link);
- }
- } else if (op instanceof ReferenceOrderChange) {
- final ReferenceOrderChange link = (ReferenceOrderChange)op;
- if (link.getLeftElement() == element && link.getReference() == reference) {
- final ListIterator<EObject> targetIterator = link.getLeftTarget().listIterator();
- boolean replaced = false;
- while (!replaced && targetIterator.hasNext()) {
- final EObject target = targetIterator.next();
- if (target.eIsProxy()
- && equalProxyURIs(((InternalEObject)target).eProxyURI(),
- EcoreUtil.getURI(leftTarget))) {
- targetIterator.set(copiedValue);
- replaced = true;
- }
- }
- }
- }
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#getDependencies(boolean)
- */
- @Override
- protected List<DiffElement> getDependencies(boolean applyInOrigin) {
- if (!applyInOrigin) {
- return diff.getRequires();
- }
- return super.getDependencies(applyInOrigin);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeRightTargetMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeRightTargetMerger.java
deleted file mode 100644
index e88a5c4928d..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceChangeRightTargetMerger.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.merge.service.MergeService;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceOrderChange;
-import org.eclipse.emf.compare.diff.metamodel.ResourceDependencyChange;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * Merger for an {@link ReferenceChangeRightTarget} operation.<br/>
- * <p>
- * Are considered for this merger :
- * <ul>
- * <li>RemoveReferenceValue</li>
- * <li>RemoteAddReferenceValue</li>
- * </ul>
- * </p>
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class ReferenceChangeRightTargetMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final ReferenceChangeRightTarget theDiff = (ReferenceChangeRightTarget)this.diff;
- final EReference reference = theDiff.getReference();
- final EObject element = theDiff.getLeftElement();
- final EObject rightTarget = theDiff.getRightTarget();
- final EObject leftTarget = theDiff.getLeftTarget();
-
- // ordering handling:
- int index = -1;
- if (reference.isMany()) {
- final EObject rightElement = theDiff.getRightElement();
- final Object rightRefValue = rightElement.eGet(reference);
- if (rightRefValue instanceof List) {
- final List refRightValueList = (List)rightRefValue;
- index = refRightValueList.indexOf(rightTarget);
- }
- }
- final EObject copiedValue = MergeService.getCopier(diff).copyReferenceValue(reference, element,
- rightTarget, leftTarget, index);
-
- // We'll now look through this reference's eOpposite as they are already taken care of
- final Iterator<EObject> related = getDiffModel().eAllContents();
- while (related.hasNext()) {
- final DiffElement op = (DiffElement)related.next();
- if (op instanceof ReferenceChangeRightTarget) {
- final ReferenceChangeRightTarget link = (ReferenceChangeRightTarget)op;
- // If this is my eOpposite, delete it from the DiffModel (merged along with this one)
- if (link.getReference().equals(theDiff.getReference().getEOpposite())
- && link.getRightTarget().equals(element)) {
- removeFromContainer(link);
- }
- } else if (op instanceof ReferenceOrderChange) {
- final ReferenceOrderChange link = (ReferenceOrderChange)op;
- if (link.getLeftElement() == element && link.getReference() == reference) {
- final ListIterator<EObject> targetIterator = link.getLeftTarget().listIterator();
- boolean replaced = false;
- while (!replaced && targetIterator.hasNext()) {
- final EObject target = targetIterator.next();
- if (target.eIsProxy()
- && equalProxyURIs(((InternalEObject)target).eProxyURI(),
- EcoreUtil.getURI(rightTarget))) {
- targetIterator.set(copiedValue);
- replaced = true;
- }
- }
- }
- }
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final ReferenceChangeRightTarget theDiff = (ReferenceChangeRightTarget)this.diff;
- final EObject element = theDiff.getRightElement();
- final EObject rightTarget = theDiff.getRightTarget();
- try {
- EFactory.eRemove(element, theDiff.getReference().getName(), rightTarget);
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- // we should now have a look for AddReferencesLinks needing this object
- final Iterator<EObject> related = getDiffModel().eAllContents();
- while (related.hasNext()) {
- final DiffElement op = (DiffElement)related.next();
- if (op instanceof ReferenceChangeRightTarget) {
- final ReferenceChangeRightTarget link = (ReferenceChangeRightTarget)op;
- // now if I'm in the target References I should put my copy in the origin
- if (link.getReference().equals(theDiff.getReference().getEOpposite())
- && link.getRightTarget().equals(element)) {
- removeFromContainer(link);
- }
- } else if (op instanceof ResourceDependencyChange) {
- final ResourceDependencyChange link = (ResourceDependencyChange)op;
- final Resource res = link.getRoots().get(0).eResource();
- if (res == rightTarget.eResource()) {
- EcoreUtil.remove(link);
- res.unload();
- }
- }
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#getDependencies(boolean)
- */
- @Override
- protected List<DiffElement> getDependencies(boolean applyInOrigin) {
- if (applyInOrigin) {
- return diff.getRequires();
- }
- return super.getDependencies(applyInOrigin);
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceOrderChangeMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceOrderChangeMerger.java
deleted file mode 100644
index 8e614ab6410..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/ReferenceOrderChangeMerger.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import com.google.common.base.Predicate;
-import com.google.common.collect.Collections2;
-
-import java.util.Collection;
-
-import org.eclipse.emf.compare.EMFComparePlugin;
-import org.eclipse.emf.compare.FactoryException;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceOrderChange;
-import org.eclipse.emf.compare.util.EFactory;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-/**
- * Merger for a {@link ReferenceOrderChange} operation.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- *
- * FIXME : remove google dependencies!
- */
-public class ReferenceOrderChangeMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final ReferenceOrderChange theDiff = (ReferenceOrderChange)this.diff;
- final EObject leftElement = theDiff.getLeftElement();
-
- final Collection<EObject> target = Collections2.filter(theDiff.getLeftTarget(),
- new Predicate<EObject>() {
- public boolean apply(EObject input) {
- return !input.eIsProxy()
- || !DefaultMerger.isEMFCompareProxy(((InternalEObject)input).eProxyURI());
- }
- });
-
- try {
- EFactory.eSet(leftElement, theDiff.getReference().getName(), target);
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final ReferenceOrderChange theDiff = (ReferenceOrderChange)this.diff;
- final EObject rightElement = theDiff.getRightElement();
-
- final Collection<EObject> target = Collections2.filter(theDiff.getRightTarget(),
- new Predicate<EObject>() {
- public boolean apply(EObject input) {
- return !input.eIsProxy()
- || !DefaultMerger.isEMFCompareProxy(((InternalEObject)input).eProxyURI());
- }
- });
-
- try {
- EFactory.eSet(rightElement, theDiff.getReference().getName(), target);
- } catch (final FactoryException e) {
- EMFComparePlugin.log(e, true);
- }
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/UpdateReferenceMerger.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/UpdateReferenceMerger.java
deleted file mode 100644
index 1ef32c9823d..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/UpdateReferenceMerger.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2011 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.merge.service.MergeService;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.UpdateReference;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * Merger for an {@link UpdateUniqueReferenceValue} operation.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-public class UpdateReferenceMerger extends DefaultMerger {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doApplyInOrigin()
- */
- @Override
- public void doApplyInOrigin() {
- final UpdateReference theDiff = (UpdateReference)this.diff;
- final EReference reference = theDiff.getReference();
- final EObject element = theDiff.getLeftElement();
- final EObject leftTarget = (EObject)theDiff.getRightElement().eGet(reference);
- final EObject matchedLeftTarget = theDiff.getLeftTarget();
-
- if (leftTarget == null) {
- // We're unsetting the value, no need to copy
- element.eUnset(reference);
- } else {
- MergeService.getCopier(diff).copyReferenceValue(reference, element, leftTarget,
- matchedLeftTarget, -1);
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.api.AbstractMerger#doUndoInTarget()
- */
- @Override
- public void doUndoInTarget() {
- final UpdateReference theDiff = (UpdateReference)this.diff;
- final EReference reference = theDiff.getReference();
- final EObject element = theDiff.getRightElement();
- final EObject rightTarget = (EObject)theDiff.getLeftElement().eGet(reference);
- final EObject matchedRightTarget = theDiff.getRightTarget();
-
- if (rightTarget == null) {
- // We're unsetting the value, no need to copy
- element.eUnset(reference);
- } else {
- MergeService.getCopier(diff).copyReferenceValue(reference, element, rightTarget,
- matchedRightTarget, -1);
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.DefaultMerger#getDependencies(boolean)
- */
- @Override
- protected List<DiffElement> getDependencies(boolean applyInOrigin) {
- final List<DiffElement> diffs = diff.getRequires();
- final List<DiffElement> result = new ArrayList<DiffElement>();
- for (DiffElement diffElement : diffs) {
- if (applyInOrigin && diffElement instanceof ModelElementChangeRightTarget) {
- result.add(diffElement);
- } else if (!applyInOrigin && diffElement instanceof ModelElementChangeLeftTarget) {
- result.add(diffElement);
- }
- }
- return result;
- }
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/MergeCommandProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/MergeCommandProvider.java
deleted file mode 100644
index c33fe4b1923..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/MergeCommandProvider.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger.provider;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.compare.diff.metamodel.AttributeChange;
-import org.eclipse.emf.compare.diff.metamodel.AttributeChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.AttributeChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.AttributeOrderChange;
-import org.eclipse.emf.compare.diff.metamodel.ConflictingDiffElement;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.DiffGroup;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChange;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.MoveModelElement;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChange;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceOrderChange;
-import org.eclipse.emf.compare.diff.metamodel.ResourceDependencyChange;
-import org.eclipse.emf.compare.diff.metamodel.ResourceDependencyChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ResourceDependencyChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.ResourceDiff;
-import org.eclipse.emf.compare.diff.metamodel.UpdateAttribute;
-import org.eclipse.emf.compare.diff.metamodel.UpdateContainmentFeature;
-import org.eclipse.emf.compare.diff.metamodel.UpdateModelElement;
-import org.eclipse.emf.compare.diff.metamodel.UpdateReference;
-import org.eclipse.emf.compare.diff.metamodel.impl.AttributeChangeImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-
-
-public class MergeCommandProvider {//TODO create an interface?
-
- public Command getMergeCommand(final Object container, final boolean confirmationRequired, final DiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain, final EObject elementToDestroy) {
- Command cmd = null;
- if(diffElement instanceof AttributeChangeImpl) {
- cmd = getMergeCommandForAttributeChange(container, confirmationRequired, (AttributeChange)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ConflictingDiffElement) {
- cmd = getMergeCommandForConflictingDiffElement(container, confirmationRequired, (ConflictingDiffElement)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof DiffGroup) {
- cmd = getMergeCommandForDiffGroup(container, confirmationRequired, (DiffGroup)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ModelElementChange) {
- cmd = getMergeCommandForModelElementChange(container, confirmationRequired, (ModelElementChange)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ReferenceChange) {
- cmd = getMergeCommandForReferenceChange(container, confirmationRequired, (ReferenceChange)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ResourceDiff) {
- cmd = getMergeCommandForResourceDiff(container, confirmationRequired, (ResourceDiff)diffElement, leftToRight, editingDomain);
- } else {
- //TODO log an error;
- }
- return cmd;
- }
-
- protected Command getMergeCommandForAttributeChange(final Object container, final boolean confirmationRequired, final AttributeChange diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- Command cmd = null;
- if(diffElement instanceof AttributeChangeLeftTarget) {
- cmd = getMergeCommandForAttributeChangeLeftTarget(container, confirmationRequired, diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof AttributeChangeRightTarget) {
- cmd = getMergeCommandForAttributeChangeRightTarget(container, confirmationRequired, diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof AttributeOrderChange) {
- cmd = getMergeCommandForAttributeOrderChange(container, confirmationRequired, diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof UpdateAttribute) {
- cmd = getMergeCommandForUpdateAttribute(container, confirmationRequired, diffElement, leftToRight, editingDomain);
- } else {
- //TODO
- }
- return cmd;
- }
-
- protected Command getMergeCommandForAttributeChangeLeftTarget(final Object container, final boolean confirmationRequired, final DiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {//TODO
- return null;
- }
-
- protected Command getMergeCommandForAttributeChangeRightTarget(final Object container, final boolean confirmationRequired, final DiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForAttributeOrderChange(final Object container, final boolean confirmationRequired, final DiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {//TODO
- return null;
- }
-
- protected Command getMergeCommandForUpdateAttribute(final Object container, final boolean confirmationRequired, final DiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForConflictingDiffElement(final Object container, final boolean confirmationRequired, final ConflictingDiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForDiffGroup(final Object container, final boolean confirmationRequired, final DiffGroup diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForModelElementChange(final Object container, final boolean confirmationRequired, final ModelElementChange diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- Command cmd = null;
- if(diffElement instanceof ModelElementChangeLeftTarget) {
- cmd = getMergeCommandForModelElementChangeLeftTarget(container, confirmationRequired, (ModelElementChangeLeftTarget)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ModelElementChangeRightTarget) {
- cmd = getMergeCommandForModelElementChangeRightTarget(container, confirmationRequired, (ModelElementChangeRightTarget)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof UpdateModelElement) {
- cmd = getMergeCommandForUpdateModelElement(container, confirmationRequired, diffElement, leftToRight, editingDomain);
- } else {
- //TODO
- }
- return cmd;
- }
-
- protected Command getMergeCommandForModelElementChangeLeftTarget(final Object container, final boolean confirmationRequired, final ModelElementChangeLeftTarget diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
-
- return null;
- }
-
- protected Command getMergeCommandForModelElementChangeRightTarget(final Object container, final boolean confirmationRequired, final ModelElementChangeRightTarget diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForUpdateModelElement(final Object container, final boolean confirmationRequired, final DiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- Command cmd = null;
- if(diffElement instanceof MoveModelElement) {
- cmd = getMergeCommandForMoveModelElement(container, confirmationRequired, (MoveModelElement)diffElement, leftToRight, editingDomain);
- } else {
- //TODO
- }
- return cmd;
- }
-
- protected Command getMergeCommandForMoveModelElement(final Object container, final boolean confirmationRequired, final MoveModelElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- Command cmd = null;
- if(diffElement instanceof UpdateContainmentFeature) {
- cmd = getMergeCommandForUpdateContainmentFeature(container, confirmationRequired, (UpdateContainmentFeature)diffElement, leftToRight, editingDomain);
- } else {
- //TODO
- }
- return cmd;
-
- }
-
- protected Command getMergeCommandForUpdateContainmentFeature(final Object container, final boolean confirmationRequired, final UpdateContainmentFeature diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForReferenceChange(final Object container, final boolean confirmationRequired, final ReferenceChange diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {//TODO
- Command cmd = null;
- if(diffElement instanceof ReferenceChangeLeftTarget) {
- cmd = getMergeCommandForReferenceChangeLeftTarget(container, confirmationRequired, (ReferenceChangeLeftTarget)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ReferenceChangeRightTarget) {
- cmd = getMergeCommandForReferenceChangeRightTarget(container, confirmationRequired, (ReferenceChangeRightTarget)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ReferenceOrderChange) {
- cmd = getMergeCommandForReferenceOrderChange(container, confirmationRequired, (ReferenceOrderChange)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof UpdateReference) {
- cmd = getMergeCommandForUpdateReference(container, confirmationRequired, (UpdateReference)diffElement, leftToRight, editingDomain);
- } else {
- //TODO
- }
- return cmd;
- }
-
- protected Command getMergeCommandForReferenceChangeLeftTarget(final Object container, final boolean confirmationRequired, final ReferenceChangeLeftTarget diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForReferenceChangeRightTarget(final Object container, final boolean confirmationRequired, final ReferenceChangeRightTarget diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForReferenceOrderChange(final Object container, final boolean confirmationRequired, final ReferenceOrderChange diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForUpdateReference(final Object container, final boolean confirmationRequired, final UpdateReference diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForResourceDiff(final Object container, final boolean confirmationRequired, final ResourceDiff diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- Command cmd = null;
- if(diffElement instanceof ResourceDependencyChange) {
- cmd = getMergeCommandForResourceDependencyChange(container, confirmationRequired, diffElement, leftToRight, editingDomain);
- } else {
- //TODO
- }
- return cmd;
- }
-
- protected Command getMergeCommandForResourceDependencyChange(final Object container, final boolean confirmationRequired, final DiffElement diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {//TODO
- Command cmd = null;
- if(diffElement instanceof ResourceDependencyChangeLeftTarget) {
- cmd = getMergeCommandForResourceDependencyChangeLeftTarget(container, confirmationRequired, (ResourceDependencyChangeLeftTarget)diffElement, leftToRight, editingDomain);
- } else if(diffElement instanceof ResourceDependencyChangeRightTarget) {
- cmd = getMergeCommandForResourceDependencyChangeRightTarget(container, confirmationRequired, (ResourceDependencyChangeRightTarget)diffElement, leftToRight, editingDomain);
- } else {
- //TODO
- }
- return cmd;
- }
-
- protected Command getMergeCommandForResourceDependencyChangeLeftTarget(final Object container, final boolean confirmationRequired, final ResourceDependencyChangeLeftTarget diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
- protected Command getMergeCommandForResourceDependencyChangeRightTarget(final Object container, final boolean confirmationRequired, final ResourceDependencyChangeRightTarget diffElement, final boolean leftToRight, final TransactionalEditingDomain editingDomain) {
- //TODO
- return null;
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergeCommandProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergeCommandProvider.java
deleted file mode 100644
index 2b7248bcb67..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergeCommandProvider.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger.provider;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-
-
-public class PapyrusMergeCommandProvider {
-
- public static PapyrusMergeCommandProvider INSTANCE = new PapyrusMergeCommandProvider();
-
- private PapyrusMergeCommandProvider() {
-
- }
-
- public Command getDestroyCommand(final TransactionalEditingDomain domain, final EObject element) {
- final IEditCommandRequest request = new DestroyElementRequest(domain, element, false);
- return getCommand(element, request);
- }
-
- private Command getCommand(final EObject elementToEdit, final IEditCommandRequest request) {
- final IElementEditService provider = ElementEditServiceUtils.getCommandProvider(elementToEdit);
- if(provider != null) {
- return new GMFtoEMFCommandWrapper(provider.getEditCommand(request));
- }
- return null;
- }
-
- public Command getSetCommand(final TransactionalEditingDomain domain, final EObject element, final EStructuralFeature feature, final Object value) {
- final IEditCommandRequest request = new SetRequest(domain, element, feature, value);
- return getCommand(element, request);
- }
-
-
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergerProvider.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergerProvider.java
deleted file mode 100644
index e8cf53aa0fb..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/merger/provider/PapyrusMergerProvider.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.merger.provider;
-
-import java.util.Map;
-
-import org.eclipse.emf.compare.diff.internal.merge.DefaultMergerProvider;
-import org.eclipse.emf.compare.diff.merge.IMerger;
-import org.eclipse.emf.compare.diff.merge.IMergerProvider;
-import org.eclipse.emf.compare.diff.metamodel.AttributeChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.AttributeChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.AttributeOrderChange;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.DiffGroup;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.MoveModelElement;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeLeftTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceChangeRightTarget;
-import org.eclipse.emf.compare.diff.metamodel.ReferenceOrderChange;
-import org.eclipse.emf.compare.diff.metamodel.UpdateAttribute;
-import org.eclipse.emf.compare.diff.metamodel.UpdateReference;
-import org.eclipse.emf.compare.util.EMFCompareMap;
-import org.eclipse.papyrus.infra.emf.compare.merger.AttributeChangeLeftTargetMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.AttributeChangeRightTargetMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.AttributeOrderChangeMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.DiffGroupMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.ModelElementChangeRightTargetMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.MoveModelElementMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.PapyrusModelElementChangeLeftTargetMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.PapyrusUpdateAttributeMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.ReferenceChangeLeftTargetMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.ReferenceChangeRightTargetMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.ReferenceOrderChangeMerger;
-import org.eclipse.papyrus.infra.emf.compare.merger.UpdateReferenceMerger;
-
-
-public class PapyrusMergerProvider implements IMergerProvider {
-
- /**
- * This map keeps a bridge between a given {@link DiffElement}'s class and the most accurate merger's
- * class for that particular {@link DiffElement}.
- */
- private Map<Class<? extends DiffElement>, Class<? extends IMerger>> mergerTypes;
-
- /**
- * The default merge provide
- */
- private final IMergerProvider defaultMergeProvider = new DefaultMergerProvider();
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.compare.diff.merge.IMergerProvider#getMergers()
- */
- public Map<Class<? extends DiffElement>, Class<? extends IMerger>> getMergers() {
- if(this.mergerTypes == null) {
- this.mergerTypes = new EMFCompareMap<Class<? extends DiffElement>, Class<? extends IMerger>>();
- this.mergerTypes.put(DiffGroup.class, DiffGroupMerger.class);
- this.mergerTypes.put(ModelElementChangeRightTarget.class, ModelElementChangeRightTargetMerger.class);
- this.mergerTypes.put(ModelElementChangeLeftTarget.class, PapyrusModelElementChangeLeftTargetMerger.class);
- this.mergerTypes.put(MoveModelElement.class, MoveModelElementMerger.class);
- this.mergerTypes.put(ReferenceChangeRightTarget.class, ReferenceChangeRightTargetMerger.class);
- this.mergerTypes.put(ReferenceChangeLeftTarget.class, ReferenceChangeLeftTargetMerger.class);
- this.mergerTypes.put(UpdateReference.class, UpdateReferenceMerger.class);
- this.mergerTypes.put(AttributeChangeRightTarget.class, AttributeChangeRightTargetMerger.class);
- this.mergerTypes.put(AttributeChangeLeftTarget.class, AttributeChangeLeftTargetMerger.class);
- this.mergerTypes.put(UpdateAttribute.class, PapyrusUpdateAttributeMerger.class);
- this.mergerTypes.put(ReferenceOrderChange.class, ReferenceOrderChangeMerger.class);
- this.mergerTypes.put(AttributeOrderChange.class, AttributeOrderChangeMerger.class);
- }
- return this.mergerTypes;
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/service/SaveEMFCompareListener.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/service/SaveEMFCompareListener.java
deleted file mode 100644
index acded6e0fa9..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/service/SaveEMFCompareListener.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.service;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.IExecutionListener;
-import org.eclipse.core.commands.NotHandledException;
-import org.eclipse.papyrus.infra.emf.compare.Activator;
-import org.eclipse.papyrus.infra.emf.compare.utils.CompareEditorConfiguration;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.PlatformUI;
-
-/**
- *
- * This listener is used to catch the Save and the SaveAll actions to save the diResource linked to the modified uml Resource
- *
- */
-public class SaveEMFCompareListener implements IExecutionListener {
-
- /** the id of the save action */
- public static final String SAVE = "org.eclipse.ui.file.save";
-
- /** the id of the saveAll action */
- public static final String SAVE_ALL = "org.eclipse.ui.file.saveAll";
-
- /**
- *
- * {@inheritDoc}
- *
- * @param commandId
- * @param exception
- */
- public void notHandled(final String commandId, final NotHandledException exception) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param commandId
- * @param exception
- */
- public void postExecuteFailure(final String commandId, final ExecutionException exception) {
- //nothing to do
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param commandId
- * @param returnValue
- */
- public void postExecuteSuccess(final String commandId, final Object returnValue) {
- if(commandId.equals(SaveEMFCompareListener.SAVE)) {
- final IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- save(Collections.singletonList(editor));
- } else if(commandId.equals(SaveEMFCompareListener.SAVE_ALL)) {
- final IEditorPart editors[] = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getDirtyEditors();
- save(Arrays.asList(editors));
- }
- }
-
- /**
- *
- * {@inheritDoc}
- *
- * @param commandId
- * @param event
- */
- public void preExecute(final String commandId, final ExecutionEvent event) {
- //nothing to do!
- }
-
- /**
- * Save resources
- *
- * @param dirtyEditor
- * the list of the Resource to Save
- */
- private void save(final List<IEditorPart> dirtyEditor) {
- for(final IEditorPart current : dirtyEditor) {
- final CompareEditorConfiguration config = Activator.getDefault().getConfigurationFor(current);
- if(config != null) {
- config.save();
- }
- }
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/CompareEditorConfiguration.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/CompareEditorConfiguration.java
deleted file mode 100644
index 931b586caad..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/CompareEditorConfiguration.java
+++ /dev/null
@@ -1,261 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.utils;
-
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.emf.transaction.util.TransactionUtil;
-import org.eclipse.ui.IEditorPart;
-
-/**
- *
- * This class contains all the information and the methods to do UML file comparison with the Eclipse Viewer
- *
- */
-public class CompareEditorConfiguration {
-
- /**
- * the left diResource
- */
- private Resource leftDiResource;
-
- /**
- * the right diResource
- */
- private Resource rightDiResource;
-
- /**
- * the editing domain for the merge
- */
- private TransactionalEditingDomain domain;
-
- /**
- * the right uml resource
- */
- private Resource rightUMLResource;
-
- /**
- * the left uml resource
- */
- private Resource leftUMLResource;
-
- /**
- * a boolean to know if we should use the edit service
- */
- private boolean isEditServiceUsing = false;
-
- /** this boolean is used to know if the editing domain is provided by the editor or has been created by this class */
- private boolean provideTransactionalEditingDomain = false;//TODO pourrait être supprimer en regardant lors du dispose si l'éditeur est un domain provider!
-
- /**
- * the list of the metamodels for the customization manager
- */
- private Set<EPackage> metamodels;
-
- /**
- *
- * Constructor.
- *
- * @param editor
- * the compare editor
- * @param leftUMLResource
- * the left UML Resource
- * @param rightUMLResource
- * the right UMLResource
- */
- public CompareEditorConfiguration(final IEditorPart editor, final Resource leftUMLResource, final Resource rightUMLResource) {
- this.leftUMLResource = leftUMLResource;
- this.rightUMLResource = rightUMLResource;
- if(editor instanceof IEditingDomainProvider) {
- //we assume it will be always the case...
- this.domain = (TransactionalEditingDomain)((IEditingDomainProvider)editor).getEditingDomain();
- }
- if(this.leftUMLResource == null) {
- return;
- }
- Assert.isNotNull(rightUMLResource);
- Assert.isNotNull(rightUMLResource);
- initialize();
- }
-
- /**
- * initialize the field
- */
- private void initialize() {
- initializeEditingDomain();
- initializeDiResource();
- }
-
- /**
- * Returns <code>true</code> if we should use the edit service
- *
- * @return
- * Getter for {@link #isEditServiceUsing}
- */
- public boolean isEditServiceUsing() {
- return this.isEditServiceUsing;
- }
-
- /**
- * Setter for {@link #isEditServiceUsing()}
- *
- * @param use
- * <code>true</code> if we should use the edit service
- */
- public void setUseEditService(final boolean use) {
- this.isEditServiceUsing = use;
- }
-
- /**
- * Initialize the editing domain used for the action
- */
- private void initializeEditingDomain() {
- if(this.domain == null) {
- this.domain = TransactionUtil.getEditingDomain(this.leftUMLResource);
- if(this.domain == null) {
- this.domain = TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(this.leftUMLResource.getResourceSet());
- this.provideTransactionalEditingDomain = true;
- }
- }
-
- }
-
- /**
- * initialize the di resource
- */
- private void initializeDiResource() {
- URI uri;
- URI diURI;
- ResourceSet set;
- //the left :
- uri = this.leftUMLResource.getURI();
- diURI = URI.createPlatformResourceURI(uri.toPlatformString(false).replace("uml", "di"), false);//TODO FIXME avoid to duplicate these string?
- set = this.leftUMLResource.getResourceSet();
- if(set.getURIConverter().exists(diURI, null)) {
- this.leftDiResource = set.getResource(diURI, true);
- try {
- this.leftDiResource.load(null);
- } catch (final IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
-
- //the right
- uri = this.rightUMLResource.getURI();
- diURI = URI.createPlatformResourceURI(uri.toPlatformString(false).replace("uml", "di"), false);//TODO FIXME avoid to duplicate these string?
- set = this.rightUMLResource.getResourceSet();
- if(set.getURIConverter().exists(diURI, null)) {
- this.rightDiResource = set.getResource(diURI, true);
- try {
- this.rightDiResource.load(null);
- } catch (final IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
-
- /**
- * save the di resource
- */
- public void save() {
- final Map<?, ?> options = null;
- if(this.leftDiResource != null) {
- try {
- this.leftDiResource.save(options);
- } catch (final IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
-
- if(this.rightDiResource != null) {
- try {
- this.rightDiResource.save(options);
- } catch (final IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
-
- /**
- * Getter for {@link #domain}
- *
- * @return
- * {@link #domain}
- */
- public TransactionalEditingDomain getEditingDomain() {
- return this.domain;
- }
-
- /**
- *
- * @return
- * <code>true</code> if there is diResource associated to the UML Resource
- */
- public boolean manageDiResource() {
- return this.leftDiResource != null || this.rightDiResource != null;
- }
-
- /**
- *
- * @return
- * the list of the metamodel managed for the CustomizationManager
- */
- public Set<EPackage> getMetamodels() {
- if(this.metamodels == null) {
- this.metamodels = new HashSet<EPackage>();
- if(this.leftUMLResource != null && this.rightUMLResource != null) {
- final List<EObject> contents = new ArrayList<EObject>(this.leftUMLResource.getContents());
- contents.addAll(this.rightUMLResource.getContents());
- for(final EObject current : contents) {
- this.metamodels.add(current.eClass().getEPackage());
- }
- }
- }
- return this.metamodels;
- }
-
- public void dispose() {
- //we detach the editingdomain of the resourceset
- if(this.provideTransactionalEditingDomain) {
- this.domain.dispose();
- //if not the editing domain comes from the editor, we doesn't manage it!
- }
- final Map<?, ?> options = null;
- if(this.leftDiResource != null) {
- this.leftDiResource.unload();
- }
- if(this.rightDiResource != null) {
- this.rightDiResource.unload();
- }
- this.metamodels.clear();
- }
-
-}
diff --git a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/Utils.java b/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/Utils.java
deleted file mode 100644
index 3bf9b3c0e98..00000000000
--- a/sandbox/PapyrusEMFCompareV1/org.eclipse.papyrus.infra.emf.compare/src/org/eclipse/papyrus/infra/emf/compare/utils/Utils.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.compare.utils;
-
-import org.eclipse.papyrus.infra.emf.compare.Activator;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-
-
-public class Utils {
-
- private Utils() {
- //nothing to do
- }
-
- //FIXME refactore this class in an upper plugin->yes!
- public static final IEditorPart getCurrentEditor() {
- final IWorkbench workbench = PlatformUI.getWorkbench();
- if(workbench != null) {
- final IWorkbenchWindow activeWorkbench = workbench.getActiveWorkbenchWindow();
- if(activeWorkbench != null) {
- final IWorkbenchPage activePage = activeWorkbench.getActivePage();
- if(activePage != null) {
- activePage.getActiveEditor();
- }
- }
- }
- return null;
- }
-
-
- public static boolean useEditService() {
- final CompareEditorConfiguration config = Utils.getConfiguration();
- return config != null && config.isEditServiceUsing();
- }
-
- public static CompareEditorConfiguration getConfiguration() {
- final IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- return Activator.getDefault().getConfigurationFor(editor);
- }
-}
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/.project b/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/.project
deleted file mode 100644
index 385311cf5d1..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>AttributeChangeLeftTargetExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.di b/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.di
deleted file mode 100644
index db23d99c35d..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.di
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_RPPowISTEeGnvL0yhCUK7w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder"/>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.notation b/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.notation
deleted file mode 100644
index 134f6d1dbce..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.notation
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_RPPowISTEeGnvL0yhCUK7w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <styles xmi:type="notation:DiagramStyle" xmi:id="_RPPowYSTEeGnvL0yhCUK7w"/>
- <element xmi:type="uml:Model" href="model.uml#_RPKwQISTEeGnvL0yhCUK7w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.uml b/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.uml
deleted file mode 100644
index b823bbeb67b..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model.uml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_RPKwQISTEeGnvL0yhCUK7w" name="model">
- <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_UGimAISTEeGnvL0yhCUK7w" name="OpaqueBehavior1" body="">
- <language>C++</language>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.di b/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.di
deleted file mode 100644
index fa529ad00a7..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.di
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_RPPowISTEeGnvL0yhCUK7w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder"/>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.notation b/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.notation
deleted file mode 100644
index 6bcb4bca708..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.notation
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_RPPowISTEeGnvL0yhCUK7w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <styles xsi:type="notation:DiagramStyle" xmi:id="_RPPowYSTEeGnvL0yhCUK7w"/>
- <element href="model2.uml#_RPKwQISTEeGnvL0yhCUK7w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.uml b/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.uml
deleted file mode 100644
index 7c43ac1ef48..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeLeftTargetExample1/model2.uml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_RPKwQISTEeGnvL0yhCUK7w" name="model">
- <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_UGimAISTEeGnvL0yhCUK7w" name="OpaqueBehavior1" language="" body=""/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/.project b/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/.project
deleted file mode 100644
index f2292932170..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>AttributeChangeRightTargetExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.di b/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.di
deleted file mode 100644
index 34bd395a1e5..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_ETY_4ISfEeGnvL0yhCUK7w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_ETY_4ISfEeGnvL0yhCUK7w"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.notation b/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.notation
deleted file mode 100644
index 6db02ab365b..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.notation
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ETY_4ISfEeGnvL0yhCUK7w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <styles xmi:type="notation:DiagramStyle" xmi:id="_ETY_4YSfEeGnvL0yhCUK7w"/>
- <element xmi:type="uml:Model" href="model.uml#_ETYY0ISfEeGnvL0yhCUK7w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.uml b/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.uml
deleted file mode 100644
index 2e523d37c8a..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model.uml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ETYY0ISfEeGnvL0yhCUK7w" name="model">
- <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_oe2sgISfEeGnvL0yhCUK7w" name="OpaqueBehavior1"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.di b/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.di
deleted file mode 100644
index 698d1089dc7..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_ETY_4ISfEeGnvL0yhCUK7w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_ETY_4ISfEeGnvL0yhCUK7w"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.notation b/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.notation
deleted file mode 100644
index 5486c766218..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.notation
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ETY_4ISfEeGnvL0yhCUK7w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <styles xmi:type="notation:DiagramStyle" xmi:id="_ETY_4YSfEeGnvL0yhCUK7w"/>
- <element xmi:type="uml:Model" href="model2.uml#_ETYY0ISfEeGnvL0yhCUK7w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.uml b/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.uml
deleted file mode 100644
index 925060caa74..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeChangeRightTargetExample1/model2.uml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ETYY0ISfEeGnvL0yhCUK7w" name="model">
- <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_oe2sgISfEeGnvL0yhCUK7w" name="OpaqueBehavior1" body="">
- <language>Java</language>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/.project b/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/.project
deleted file mode 100644
index 6c5c54a1748..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>AttributeOrderChangeExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.di b/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.di
deleted file mode 100644
index 8ea05acc93b..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_inECcISOEeGXXJooXFp6zg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_inECcISOEeGXXJooXFp6zg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.notation b/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.notation
deleted file mode 100644
index 76e05286d62..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.notation
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_inECcISOEeGXXJooXFp6zg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_lsPDoISOEeGXXJooXFp6zg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsPqsYSOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqsoSOEeGXXJooXFp6zg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqs4SOEeGXXJooXFp6zg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqtISOEeGXXJooXFp6zg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqtYSOEeGXXJooXFp6zg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqtoSOEeGXXJooXFp6zg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQRwISOEeGXXJooXFp6zg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQRwYSOEeGXXJooXFp6zg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQRwoSOEeGXXJooXFp6zg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQRw4SOEeGXXJooXFp6zg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQRxISOEeGXXJooXFp6zg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQRxYSOEeGXXJooXFp6zg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_lsQRxoSOEeGXXJooXFp6zg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_lsQRx4SOEeGXXJooXFp6zg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQ41ISOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQ41YSOEeGXXJooXFp6zg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_lsQRyISOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_lsQRyYSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_lsQRyoSOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsQRy4SOEeGXXJooXFp6zg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_lsQRzISOEeGXXJooXFp6zg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQ41oSOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQ414SOEeGXXJooXFp6zg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_lsQRzYSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_lsQRzoSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_lsQRz4SOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsQR0ISOEeGXXJooXFp6zg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_lsQR0YSOEeGXXJooXFp6zg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsRf4ISOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsRf4YSOEeGXXJooXFp6zg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_lsQ40ISOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_lsQ40YSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_lsQ40oSOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsQ404SOEeGXXJooXFp6zg"/>
- </children>
- <element xmi:type="uml:OpaqueBehavior" href="model.uml#_lOD54ISOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsPqsISOEeGXXJooXFp6zg" x="162" y="152"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_inECcYSOEeGXXJooXFp6zg"/>
- <element xmi:type="uml:Model" href="model.uml#_inDbYISOEeGXXJooXFp6zg"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.uml b/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.uml
deleted file mode 100644
index c1340b42dbd..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model.uml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_inDbYISOEeGXXJooXFp6zg" name="model">
- <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_lOD54ISOEeGXXJooXFp6zg" name="OpaqueBehavior1" body="">
- <language>C</language>
- <language>C++</language>
- <language>Java</language>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.di b/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.di
deleted file mode 100644
index c9e6d6dcc24..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_inECcISOEeGXXJooXFp6zg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_inECcISOEeGXXJooXFp6zg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.notation b/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.notation
deleted file mode 100644
index cb18c162c08..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.notation
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_inECcISOEeGXXJooXFp6zg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_lsPDoISOEeGXXJooXFp6zg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsPqsYSOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqsoSOEeGXXJooXFp6zg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqs4SOEeGXXJooXFp6zg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqtISOEeGXXJooXFp6zg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqtYSOEeGXXJooXFp6zg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsPqtoSOEeGXXJooXFp6zg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQRwISOEeGXXJooXFp6zg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQRwYSOEeGXXJooXFp6zg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQRwoSOEeGXXJooXFp6zg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQRw4SOEeGXXJooXFp6zg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQRxISOEeGXXJooXFp6zg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQRxYSOEeGXXJooXFp6zg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_lsQRxoSOEeGXXJooXFp6zg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_lsQRx4SOEeGXXJooXFp6zg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQ41ISOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQ41YSOEeGXXJooXFp6zg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_lsQRyISOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_lsQRyYSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_lsQRyoSOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsQRy4SOEeGXXJooXFp6zg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_lsQRzISOEeGXXJooXFp6zg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsQ41oSOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsQ414SOEeGXXJooXFp6zg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_lsQRzYSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_lsQRzoSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_lsQRz4SOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsQR0ISOEeGXXJooXFp6zg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_lsQR0YSOEeGXXJooXFp6zg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lsRf4ISOEeGXXJooXFp6zg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lsRf4YSOEeGXXJooXFp6zg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_lsQ40ISOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_lsQ40YSOEeGXXJooXFp6zg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_lsQ40oSOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsQ404SOEeGXXJooXFp6zg"/>
- </children>
- <element xmi:type="uml:OpaqueBehavior" href="model2.uml#_lOD54ISOEeGXXJooXFp6zg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lsPqsISOEeGXXJooXFp6zg" x="162" y="152"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_inECcYSOEeGXXJooXFp6zg"/>
- <element xmi:type="uml:Model" href="model2.uml#_inDbYISOEeGXXJooXFp6zg"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.uml b/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.uml
deleted file mode 100644
index 3f3386291ff..00000000000
--- a/sandbox/UMLCompareMergerExample/AttributeOrderChangeExample1/model2.uml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_inDbYISOEeGXXJooXFp6zg" name="model">
- <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_lOD54ISOEeGXXJooXFp6zg" name="OpaqueBehavior1" body="">
- <language>C</language>
- <language>Java</language>
- <language>C++</language>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/.project b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/.project
deleted file mode 100644
index 2409e167af1..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>ModelElementChangeLeftTargetExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.di b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.di
deleted file mode 100644
index 194c96e84db..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_xVVfsIPIEeG_L_irDJEzLg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_xVVfsIPIEeG_L_irDJEzLg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.notation b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.notation
deleted file mode 100644
index 5db29d67bd2..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.notation
+++ /dev/null
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xVVfsIPIEeG_L_irDJEzLg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_znvAIIPIEeG_L_irDJEzLg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvAIoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAI4PIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJIPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJYPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJoPIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJ4PIEeG_L_irDJEzLg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnMIPIEeG_L_irDJEzLg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnMYPIEeG_L_irDJEzLg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnMoPIEeG_L_irDJEzLg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnM4PIEeG_L_irDJEzLg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnNIPIEeG_L_irDJEzLg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnNYPIEeG_L_irDJEzLg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_znvnNoPIEeG_L_irDJEzLg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_znvnN4PIEeG_L_irDJEzLg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnRoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnR4PIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_1FFH4IPIEeG_L_irDJEzLg" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_1FFH4oPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_1FFH44PIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_1FFH5IPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_1FFH5YPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_1FFH5oPIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model.uml#_1E_BQIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_1FFH4YPIEeG_L_irDJEzLg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_znvnOIPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_znvnOYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_znvnOoPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvnO4PIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_znvnPIPIEeG_L_irDJEzLg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znwOQIPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znwOQYPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_znvnPYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_znvnPoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_znvnP4PIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvnQIPIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_znvnQYPIEeG_L_irDJEzLg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znwOQoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znwOQ4PIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_znvnQoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_znvnQ4PIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_znvnRIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvnRYPIEeG_L_irDJEzLg"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_znoScIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvAIYPIEeG_L_irDJEzLg" x="255" y="123" width="216"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_z5A9YIPIEeG_L_irDJEzLg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5A9YoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkcIPIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkcYPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkcoPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5Bkc4PIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkdIPIEeG_L_irDJEzLg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5BkdYPIEeG_L_irDJEzLg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkdoPIEeG_L_irDJEzLg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5Bkd4PIEeG_L_irDJEzLg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkeIPIEeG_L_irDJEzLg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5BkeYPIEeG_L_irDJEzLg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkeoPIEeG_L_irDJEzLg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_z5Bke4PIEeG_L_irDJEzLg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_z5BkfIPIEeG_L_irDJEzLg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5CLhYPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5CLhoPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_45ZuEIPIEeG_L_irDJEzLg" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_45ZuEoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_45ZuE4PIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_45ZuFIPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_45ZuFYPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_45ZuFoPIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model.uml#_1E_BQIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_45ZuEYPIEeG_L_irDJEzLg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_z5BkfYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_z5BkfoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_z5Bkf4PIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5BkgIPIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_z5BkgYPIEeG_L_irDJEzLg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5CLh4PIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5CLiIPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_z5BkgoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_z5Bkg4PIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_z5BkhIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5BkhYPIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_z5CLgIPIEeG_L_irDJEzLg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5CLiYPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5CLioPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_z5CLgYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_z5CLgoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_z5CLg4PIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5CLhIPIEeG_L_irDJEzLg"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_z45ooIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5A9YYPIEeG_L_irDJEzLg" x="255" y="367" width="226"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_xVVfsYPIEeG_L_irDJEzLg"/>
- <element xmi:type="uml:Model" href="model.uml#_xVURkIPIEeG_L_irDJEzLg"/>
- <edges xmi:type="notation:Connector" xmi:id="_2bPCgIPIEeG_L_irDJEzLg" type="4002" source="_z5A9YIPIEeG_L_irDJEzLg" target="_znvAIIPIEeG_L_irDJEzLg" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_2bPCg4PIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpkIPIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpkYPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpkoPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpk4PIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPplIPIEeG_L_irDJEzLg" key="routing" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPplYPIEeG_L_irDJEzLg" key="smoothness" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPploPIEeG_L_irDJEzLg" key="jumpLinksReverse" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpl4PIEeG_L_irDJEzLg" key="avoidObstructions" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bQQoIPIEeG_L_irDJEzLg" key="closestDistance" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_2bQQoYPIEeG_L_irDJEzLg" type="6007">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2bQQooPIEeG_L_irDJEzLg" y="40"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_2bPCgYPIEeG_L_irDJEzLg" fontName="Segoe UI"/>
- <element xmi:type="uml:Generalization" href="model.uml#_2bLYIIPIEeG_L_irDJEzLg"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2bPCgoPIEeG_L_irDJEzLg" points="[-5, -11, 0, 159]$[-24, -155, -19, 15]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2bW-UIPIEeG_L_irDJEzLg" id="(0.47,0.11)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2bW-UYPIEeG_L_irDJEzLg" id="(0.5406976744186046,0.97)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.uml b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.uml
deleted file mode 100644
index 261aa561b4d..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model.uml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xVURkIPIEeG_L_irDJEzLg" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_znoScIPIEeG_L_irDJEzLg" name="Class1">
- <ownedAttribute xmi:id="_1E_BQIPIEeG_L_irDJEzLg" name="Property1" visibility="public">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_1YZFcIPIEeG_L_irDJEzLg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_1YZFcYPIEeG_L_irDJEzLg" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_1YZsgIPIEeG_L_irDJEzLg">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_z45ooIPIEeG_L_irDJEzLg" name="Class2">
- <generalization xmi:id="_2bLYIIPIEeG_L_irDJEzLg" general="_znoScIPIEeG_L_irDJEzLg"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.di b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.di
deleted file mode 100644
index 6c5bfed0bc9..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_xVVfsIPIEeG_L_irDJEzLg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_xVVfsIPIEeG_L_irDJEzLg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.notation b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.notation
deleted file mode 100644
index de9b77defcf..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.notation
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xVVfsIPIEeG_L_irDJEzLg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_znvAIIPIEeG_L_irDJEzLg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvAIoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAI4PIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJIPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJYPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJoPIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvAJ4PIEeG_L_irDJEzLg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnMIPIEeG_L_irDJEzLg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnMYPIEeG_L_irDJEzLg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnMoPIEeG_L_irDJEzLg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnM4PIEeG_L_irDJEzLg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnNIPIEeG_L_irDJEzLg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnNYPIEeG_L_irDJEzLg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_znvnNoPIEeG_L_irDJEzLg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_znvnN4PIEeG_L_irDJEzLg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znvnRoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znvnR4PIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_znvnOIPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_znvnOYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_znvnOoPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvnO4PIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_znvnPIPIEeG_L_irDJEzLg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znwOQIPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znwOQYPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_znvnPYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_znvnPoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_znvnP4PIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvnQIPIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_znvnQYPIEeG_L_irDJEzLg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_znwOQoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_znwOQ4PIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_znvnQoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_znvnQ4PIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_znvnRIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvnRYPIEeG_L_irDJEzLg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_znoScIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_znvAIYPIEeG_L_irDJEzLg" x="255" y="123" width="216"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_z5A9YIPIEeG_L_irDJEzLg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5A9YoPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkcIPIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkcYPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkcoPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5Bkc4PIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkdIPIEeG_L_irDJEzLg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5BkdYPIEeG_L_irDJEzLg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkdoPIEeG_L_irDJEzLg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5Bkd4PIEeG_L_irDJEzLg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkeIPIEeG_L_irDJEzLg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5BkeYPIEeG_L_irDJEzLg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5BkeoPIEeG_L_irDJEzLg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_z5Bke4PIEeG_L_irDJEzLg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_z5BkfIPIEeG_L_irDJEzLg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5CLhYPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5CLhoPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_z5BkfYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_z5BkfoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_z5Bkf4PIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5BkgIPIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_z5BkgYPIEeG_L_irDJEzLg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5CLh4PIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5CLiIPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_z5BkgoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_z5Bkg4PIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_z5BkhIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5BkhYPIEeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_z5CLgIPIEeG_L_irDJEzLg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z5CLiYPIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z5CLioPIEeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_z5CLgYPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_z5CLgoPIEeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_z5CLg4PIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5CLhIPIEeG_L_irDJEzLg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_z45ooIPIEeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_z5A9YYPIEeG_L_irDJEzLg" x="255" y="367" width="226"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_xVVfsYPIEeG_L_irDJEzLg"/>
- <element xmi:type="uml:Model" href="model2.uml#_xVURkIPIEeG_L_irDJEzLg"/>
- <edges xmi:type="notation:Connector" xmi:id="_2bPCgIPIEeG_L_irDJEzLg" type="4002" source="_z5A9YIPIEeG_L_irDJEzLg" target="_znvAIIPIEeG_L_irDJEzLg" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_2bPCg4PIEeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpkIPIEeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpkYPIEeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpkoPIEeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpk4PIEeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPplIPIEeG_L_irDJEzLg" key="routing" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPplYPIEeG_L_irDJEzLg" key="smoothness" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPploPIEeG_L_irDJEzLg" key="jumpLinksReverse" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bPpl4PIEeG_L_irDJEzLg" key="avoidObstructions" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2bQQoIPIEeG_L_irDJEzLg" key="closestDistance" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_2bQQoYPIEeG_L_irDJEzLg" type="6007">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2bQQooPIEeG_L_irDJEzLg" y="40"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_2bPCgYPIEeG_L_irDJEzLg" fontName="Segoe UI"/>
- <element xmi:type="uml:Generalization" href="model2.uml#_2bLYIIPIEeG_L_irDJEzLg"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2bPCgoPIEeG_L_irDJEzLg" points="[-5, -11, 0, 159]$[-24, -155, -19, 15]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2bW-UIPIEeG_L_irDJEzLg" id="(0.47,0.11)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2bW-UYPIEeG_L_irDJEzLg" id="(0.5406976744186046,0.97)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.uml b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.uml
deleted file mode 100644
index a033602cce2..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample1/model2.uml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xVURkIPIEeG_L_irDJEzLg" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_znoScIPIEeG_L_irDJEzLg" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_z45ooIPIEeG_L_irDJEzLg" name="Class2">
- <generalization xmi:id="_2bLYIIPIEeG_L_irDJEzLg" general="_znoScIPIEeG_L_irDJEzLg"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/.project b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/.project
deleted file mode 100644
index f3930c8c05a..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>ModelElementChangeLeftTargetExample2</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.di b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.di
deleted file mode 100644
index 487c030ab9e..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="myModel.notation#_xv1SQIPnEeGwermsETzm6w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="myModel.notation#_xv1SQIPnEeGwermsETzm6w"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.notation b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.notation
deleted file mode 100644
index aa1818fcfa5..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.notation
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xv1SQIPnEeGwermsETzm6w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_yDenAIPnEeGwermsETzm6w" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOEIPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOEYPnEeGwermsETzm6w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOEoPnEeGwermsETzm6w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOE4PnEeGwermsETzm6w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOFIPnEeGwermsETzm6w" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOFYPnEeGwermsETzm6w" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOFoPnEeGwermsETzm6w" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOF4PnEeGwermsETzm6w" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOGIPnEeGwermsETzm6w" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOGYPnEeGwermsETzm6w" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOGoPnEeGwermsETzm6w" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOG4PnEeGwermsETzm6w" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_yDfOHIPnEeGwermsETzm6w" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_yDfOHYPnEeGwermsETzm6w" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDf1KoPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDf1K4PnEeGwermsETzm6w" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_ysMz4IPnEeGwermsETzm6w" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ysMz4oPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz44PnEeGwermsETzm6w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz5IPnEeGwermsETzm6w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz5YPnEeGwermsETzm6w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz5oPnEeGwermsETzm6w" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="myModel.uml#_ysLlwIPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ysMz4YPnEeGwermsETzm6w"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_yDfOHoPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_yDfOH4PnEeGwermsETzm6w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_yDfOIIPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDfOIYPnEeGwermsETzm6w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_yDf1IIPnEeGwermsETzm6w" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDf1LIPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDf1LYPnEeGwermsETzm6w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_yDf1IYPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_yDf1IoPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_yDf1I4PnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDf1JIPnEeGwermsETzm6w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_yDf1JYPnEeGwermsETzm6w" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDf1LoPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDf1L4PnEeGwermsETzm6w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_yDf1JoPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_yDf1J4PnEeGwermsETzm6w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_yDf1KIPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDf1KYPnEeGwermsETzm6w"/>
- </children>
- <element xmi:type="uml:Class" href="myModel.uml#_yDdY4IPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDenAYPnEeGwermsETzm6w" x="445" y="194"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_xv1SQYPnEeGwermsETzm6w"/>
- <element xmi:type="uml:Model" href="myModel.uml#_xv0rMIPnEeGwermsETzm6w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.uml b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.uml
deleted file mode 100644
index b1e060e4a25..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel.uml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xv0rMIPnEeGwermsETzm6w" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_yDdY4IPnEeGwermsETzm6w" name="Class1">
- <ownedAttribute xmi:id="_ysLlwIPnEeGwermsETzm6w" name="Property1">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_L-QuAIPoEeGwermsETzm6w"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_L-QuAYPoEeGwermsETzm6w" value="*"/>
- </ownedAttribute>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.di b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.di
deleted file mode 100644
index 2fc2d68ccc6..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="myModel.notation#_xv1SQIPnEeGwermsETzm6w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="myModel2.notation#_xv1SQIPnEeGwermsETzm6w"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.notation b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.notation
deleted file mode 100644
index 157a43b1f92..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.notation
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xv1SQIPnEeGwermsETzm6w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_yDenAIPnEeGwermsETzm6w" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOEIPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOEYPnEeGwermsETzm6w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOEoPnEeGwermsETzm6w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOE4PnEeGwermsETzm6w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOFIPnEeGwermsETzm6w" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOFYPnEeGwermsETzm6w" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOFoPnEeGwermsETzm6w" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOF4PnEeGwermsETzm6w" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOGIPnEeGwermsETzm6w" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOGYPnEeGwermsETzm6w" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDfOGoPnEeGwermsETzm6w" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDfOG4PnEeGwermsETzm6w" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_yDfOHIPnEeGwermsETzm6w" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_yDfOHYPnEeGwermsETzm6w" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDf1KoPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDf1K4PnEeGwermsETzm6w" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_ysMz4IPnEeGwermsETzm6w" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ysMz4oPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz44PnEeGwermsETzm6w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz5IPnEeGwermsETzm6w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz5YPnEeGwermsETzm6w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ysMz5oPnEeGwermsETzm6w" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="myModel2.uml#_ysLlwIPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ysMz4YPnEeGwermsETzm6w"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_yDfOHoPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_yDfOH4PnEeGwermsETzm6w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_yDfOIIPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDfOIYPnEeGwermsETzm6w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_yDf1IIPnEeGwermsETzm6w" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDf1LIPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDf1LYPnEeGwermsETzm6w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_yDf1IYPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_yDf1IoPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_yDf1I4PnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDf1JIPnEeGwermsETzm6w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_yDf1JYPnEeGwermsETzm6w" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_yDf1LoPnEeGwermsETzm6w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_yDf1L4PnEeGwermsETzm6w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_yDf1JoPnEeGwermsETzm6w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_yDf1J4PnEeGwermsETzm6w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_yDf1KIPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDf1KYPnEeGwermsETzm6w"/>
- </children>
- <element xmi:type="uml:Class" href="myModel2.uml#_yDdY4IPnEeGwermsETzm6w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yDenAYPnEeGwermsETzm6w" x="445" y="194"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_xv1SQYPnEeGwermsETzm6w"/>
- <element xmi:type="uml:Model" href="myModel2.uml#_xv0rMIPnEeGwermsETzm6w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.uml b/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.uml
deleted file mode 100644
index 114dc3d3a4b..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeLeftTargetExample2/myModel2.uml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_xv0rMIPnEeGwermsETzm6w" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_yDdY4IPnEeGwermsETzm6w" name="Class1">
- <ownedAttribute xmi:id="_ysLlwIPnEeGwermsETzm6w" name="Property1"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/.project b/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/.project
deleted file mode 100644
index e8faeca8e10..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>ModelElementChangeRightTargetExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.di b/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.di
deleted file mode 100644
index 0e857ed642e..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_ihJeUISnEeGlVZSwCxbZug"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_ihJeUISnEeGlVZSwCxbZug"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.notation b/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.notation
deleted file mode 100644
index 7e563daa074..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.notation
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_ihJeUISnEeGlVZSwCxbZug" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xsi:type="notation:Shape" xmi:id="_mEtEoISnEeGlVZSwCxbZug" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:id="_mEtrsISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEtrsYSnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_mEtrsoSnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_mEtrs4SnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_mEtrtISnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- <details xmi:id="_mEtrtYSnEeGlVZSwCxbZug" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mEuSwISnEeGlVZSwCxbZug" source="ShadowFigure">
- <details xmi:id="_mEuSwYSnEeGlVZSwCxbZug" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mEu50ISnEeGlVZSwCxbZug" source="displayNameLabelIcon">
- <details xmi:id="_mEu50YSnEeGlVZSwCxbZug" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mEu50oSnEeGlVZSwCxbZug" source="QualifiedName">
- <details xmi:id="_mEu504SnEeGlVZSwCxbZug" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xsi:type="notation:DecorationNode" xmi:id="_mEu51ISnEeGlVZSwCxbZug" type="5029"/>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mEu51YSnEeGlVZSwCxbZug" type="7017">
- <eAnnotations xmi:id="_mEvg5YSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEvg5oSnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mEu51oSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mEu514SnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mEu52ISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEu52YSnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mEu52oSnEeGlVZSwCxbZug" type="7018">
- <eAnnotations xmi:id="_mEwH8ISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEwH8YSnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mEu524SnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mEu53ISnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mEu53YSnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEu53oSnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mEvg4ISnEeGlVZSwCxbZug" type="7019">
- <eAnnotations xmi:id="_mEwH8oSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEwH84SnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mEvg4YSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mEvg4oSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mEvg44SnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEvg5ISnEeGlVZSwCxbZug"/>
- </children>
- <element href="model.uml#_mEj6sISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEtEoYSnEeGlVZSwCxbZug" x="413" y="148"/>
- </children>
- <children xsi:type="notation:Shape" xmi:id="_mwqywISnEeGlVZSwCxbZug" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:id="_mwsA4ISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwsA4YSnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_mwsA4oSnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_mwsA44SnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_mwsA5ISnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- <details xmi:id="_mwsA5YSnEeGlVZSwCxbZug" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mwsn8ISnEeGlVZSwCxbZug" source="ShadowFigure">
- <details xmi:id="_mwsn8YSnEeGlVZSwCxbZug" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mwsn8oSnEeGlVZSwCxbZug" source="displayNameLabelIcon">
- <details xmi:id="_mwsn84SnEeGlVZSwCxbZug" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mwsn9ISnEeGlVZSwCxbZug" source="QualifiedName">
- <details xmi:id="_mwsn9YSnEeGlVZSwCxbZug" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xsi:type="notation:DecorationNode" xmi:id="_mwsn9oSnEeGlVZSwCxbZug" type="5029"/>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mwsn94SnEeGlVZSwCxbZug" type="7017">
- <eAnnotations xmi:id="_mwtPB4SnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwtPCISnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mwsn-ISnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mwsn-YSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mwsn-oSnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwsn-4SnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mwsn_ISnEeGlVZSwCxbZug" type="7018">
- <eAnnotations xmi:id="_mwt2EISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwt2EYSnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mwsn_YSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mwsn_oSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mwtPAISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwtPAYSnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mwtPAoSnEeGlVZSwCxbZug" type="7019">
- <eAnnotations xmi:id="_mwt2EoSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwt2E4SnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mwtPA4SnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mwtPBISnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mwtPBYSnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwtPBoSnEeGlVZSwCxbZug"/>
- </children>
- <element href="model.uml#_mwpkoISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwqywYSnEeGlVZSwCxbZug" x="449" y="378"/>
- </children>
- <styles xsi:type="notation:DiagramStyle" xmi:id="_ihJeUYSnEeGlVZSwCxbZug"/>
- <element href="model.uml#_ifmmMISnEeGlVZSwCxbZug"/>
- <edges xsi:type="notation:Connector" xmi:id="_naUzwISnEeGlVZSwCxbZug" type="4002" source="_mwqywISnEeGlVZSwCxbZug" target="_mEtEoISnEeGlVZSwCxbZug" lineColor="0">
- <eAnnotations xmi:id="_naUzw4SnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_naUzxISnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_naVa0ISnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_naVa0YSnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_naVa0oSnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- <details xmi:id="_naVa04SnEeGlVZSwCxbZug" key="routing" value="true"/>
- <details xmi:id="_naVa1ISnEeGlVZSwCxbZug" key="smoothness" value="true"/>
- <details xmi:id="_naVa1YSnEeGlVZSwCxbZug" key="jumpLinksReverse" value="true"/>
- <details xmi:id="_naVa1oSnEeGlVZSwCxbZug" key="avoidObstructions" value="true"/>
- <details xmi:id="_naWB4ISnEeGlVZSwCxbZug" key="closestDistance" value="true"/>
- </eAnnotations>
- <children xsi:type="notation:DecorationNode" xmi:id="_naWB4YSnEeGlVZSwCxbZug" type="6007">
- <layoutConstraint xsi:type="notation:Location" xmi:id="_naWB4oSnEeGlVZSwCxbZug" y="40"/>
- </children>
- <styles xsi:type="notation:FontStyle" xmi:id="_naUzwYSnEeGlVZSwCxbZug" fontName="Segoe UI"/>
- <element href="model.uml#_nZ8ZQISnEeGlVZSwCxbZug"/>
- <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_naUzwoSnEeGlVZSwCxbZug" points="[-2, -13, 18, 149]$[-17, -143, 3, 19]"/>
- <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_naZsQISnEeGlVZSwCxbZug" id="(0.4,0.13)"/>
- <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_naZsQYSnEeGlVZSwCxbZug" id="(0.56,0.81)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.uml b/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.uml
deleted file mode 100644
index 8efad1b35ac..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model.uml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ifmmMISnEeGlVZSwCxbZug" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_mEj6sISnEeGlVZSwCxbZug" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_mwpkoISnEeGlVZSwCxbZug" name="Class2">
- <generalization xmi:id="_nZ8ZQISnEeGlVZSwCxbZug" general="_mEj6sISnEeGlVZSwCxbZug"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.di b/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.di
deleted file mode 100644
index f816780633f..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_ihJeUISnEeGlVZSwCxbZug"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_ihJeUISnEeGlVZSwCxbZug"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.notation b/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.notation
deleted file mode 100644
index 71ae8370a93..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.notation
+++ /dev/null
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_ihJeUISnEeGlVZSwCxbZug" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xsi:type="notation:Shape" xmi:id="_mEtEoISnEeGlVZSwCxbZug" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:id="_mEtrsISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEtrsYSnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_mEtrsoSnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_mEtrs4SnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_mEtrtISnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- <details xmi:id="_mEtrtYSnEeGlVZSwCxbZug" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mEuSwISnEeGlVZSwCxbZug" source="ShadowFigure">
- <details xmi:id="_mEuSwYSnEeGlVZSwCxbZug" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mEu50ISnEeGlVZSwCxbZug" source="displayNameLabelIcon">
- <details xmi:id="_mEu50YSnEeGlVZSwCxbZug" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mEu50oSnEeGlVZSwCxbZug" source="QualifiedName">
- <details xmi:id="_mEu504SnEeGlVZSwCxbZug" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xsi:type="notation:DecorationNode" xmi:id="_mEu51ISnEeGlVZSwCxbZug" type="5029"/>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mEu51YSnEeGlVZSwCxbZug" type="7017">
- <eAnnotations xmi:id="_mEvg5YSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEvg5oSnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <children xsi:type="notation:Shape" xmi:id="_rbfjIISnEeGlVZSwCxbZug" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:id="_rbfjIoSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_rbfjI4SnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_rbfjJISnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_rbfjJYSnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_rbfjJoSnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- </eAnnotations>
- <element href="model2.uml#_rbdG4ISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Location" xmi:id="_rbfjIYSnEeGlVZSwCxbZug"/>
- </children>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mEu51oSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mEu514SnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mEu52ISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEu52YSnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mEu52oSnEeGlVZSwCxbZug" type="7018">
- <eAnnotations xmi:id="_mEwH8ISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEwH8YSnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mEu524SnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mEu53ISnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mEu53YSnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEu53oSnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mEvg4ISnEeGlVZSwCxbZug" type="7019">
- <eAnnotations xmi:id="_mEwH8oSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mEwH84SnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mEvg4YSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mEvg4oSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mEvg44SnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEvg5ISnEeGlVZSwCxbZug"/>
- </children>
- <element href="model2.uml#_mEj6sISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mEtEoYSnEeGlVZSwCxbZug" x="413" y="148"/>
- </children>
- <children xsi:type="notation:Shape" xmi:id="_mwqywISnEeGlVZSwCxbZug" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:id="_mwsA4ISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwsA4YSnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_mwsA4oSnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_mwsA44SnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_mwsA5ISnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- <details xmi:id="_mwsA5YSnEeGlVZSwCxbZug" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mwsn8ISnEeGlVZSwCxbZug" source="ShadowFigure">
- <details xmi:id="_mwsn8YSnEeGlVZSwCxbZug" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mwsn8oSnEeGlVZSwCxbZug" source="displayNameLabelIcon">
- <details xmi:id="_mwsn84SnEeGlVZSwCxbZug" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:id="_mwsn9ISnEeGlVZSwCxbZug" source="QualifiedName">
- <details xmi:id="_mwsn9YSnEeGlVZSwCxbZug" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xsi:type="notation:DecorationNode" xmi:id="_mwsn9oSnEeGlVZSwCxbZug" type="5029"/>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mwsn94SnEeGlVZSwCxbZug" type="7017">
- <eAnnotations xmi:id="_mwtPB4SnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwtPCISnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <children xsi:type="notation:Shape" xmi:id="_wkRa0ISnEeGlVZSwCxbZug" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:id="_wkRa0oSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_wkSB4ISnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_wkSB4YSnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_wkSB4oSnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_wkSB44SnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- </eAnnotations>
- <element href="model2.uml#_rbdG4ISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Location" xmi:id="_wkRa0YSnEeGlVZSwCxbZug"/>
- </children>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mwsn-ISnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mwsn-YSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mwsn-oSnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwsn-4SnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mwsn_ISnEeGlVZSwCxbZug" type="7018">
- <eAnnotations xmi:id="_mwt2EISnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwt2EYSnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mwsn_YSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mwsn_oSnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mwtPAISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwtPAYSnEeGlVZSwCxbZug"/>
- </children>
- <children xsi:type="notation:BasicCompartment" xmi:id="_mwtPAoSnEeGlVZSwCxbZug" type="7019">
- <eAnnotations xmi:id="_mwt2EoSnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_mwt2E4SnEeGlVZSwCxbZug" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xsi:type="notation:TitleStyle" xmi:id="_mwtPA4SnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:SortingStyle" xmi:id="_mwtPBISnEeGlVZSwCxbZug"/>
- <styles xsi:type="notation:FilteringStyle" xmi:id="_mwtPBYSnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwtPBoSnEeGlVZSwCxbZug"/>
- </children>
- <element href="model2.uml#_mwpkoISnEeGlVZSwCxbZug"/>
- <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mwqywYSnEeGlVZSwCxbZug" x="449" y="378" width="237"/>
- </children>
- <styles xsi:type="notation:DiagramStyle" xmi:id="_ihJeUYSnEeGlVZSwCxbZug"/>
- <element href="model2.uml#_ifmmMISnEeGlVZSwCxbZug"/>
- <edges xsi:type="notation:Connector" xmi:id="_naUzwISnEeGlVZSwCxbZug" type="4002" source="_mwqywISnEeGlVZSwCxbZug" target="_mEtEoISnEeGlVZSwCxbZug" lineColor="0">
- <eAnnotations xmi:id="_naUzw4SnEeGlVZSwCxbZug" source="PapyrusCSSForceValue">
- <details xmi:id="_naUzxISnEeGlVZSwCxbZug" key="fontHeight" value="true"/>
- <details xmi:id="_naVa0ISnEeGlVZSwCxbZug" key="bold" value="true"/>
- <details xmi:id="_naVa0YSnEeGlVZSwCxbZug" key="italic" value="true"/>
- <details xmi:id="_naVa0oSnEeGlVZSwCxbZug" key="fontColor" value="true"/>
- <details xmi:id="_naVa04SnEeGlVZSwCxbZug" key="routing" value="true"/>
- <details xmi:id="_naVa1ISnEeGlVZSwCxbZug" key="smoothness" value="true"/>
- <details xmi:id="_naVa1YSnEeGlVZSwCxbZug" key="jumpLinksReverse" value="true"/>
- <details xmi:id="_naVa1oSnEeGlVZSwCxbZug" key="avoidObstructions" value="true"/>
- <details xmi:id="_naWB4ISnEeGlVZSwCxbZug" key="closestDistance" value="true"/>
- </eAnnotations>
- <children xsi:type="notation:DecorationNode" xmi:id="_naWB4YSnEeGlVZSwCxbZug" type="6007">
- <layoutConstraint xsi:type="notation:Location" xmi:id="_naWB4oSnEeGlVZSwCxbZug" y="40"/>
- </children>
- <styles xsi:type="notation:FontStyle" xmi:id="_naUzwYSnEeGlVZSwCxbZug" fontName="Segoe UI"/>
- <element href="model2.uml#_nZ8ZQISnEeGlVZSwCxbZug"/>
- <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_naUzwoSnEeGlVZSwCxbZug" points="[-2, -13, 18, 149]$[-17, -143, 3, 19]"/>
- <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_naZsQISnEeGlVZSwCxbZug" id="(0.4,0.13)"/>
- <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_naZsQYSnEeGlVZSwCxbZug" id="(0.56,0.81)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.uml b/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.uml
deleted file mode 100644
index e560ef0fb6b..00000000000
--- a/sandbox/UMLCompareMergerExample/ModelElementChangeRightTargetExample1/model2.uml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ifmmMISnEeGlVZSwCxbZug" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_mEj6sISnEeGlVZSwCxbZug" name="Class1">
- <ownedAttribute xmi:id="_rbdG4ISnEeGlVZSwCxbZug" name="Property1" visibility="public">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_rsFj4ISnEeGlVZSwCxbZug" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_rsFj4YSnEeGlVZSwCxbZug" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_rsGK8ISnEeGlVZSwCxbZug">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_mwpkoISnEeGlVZSwCxbZug" name="Class2">
- <generalization xmi:id="_nZ8ZQISnEeGlVZSwCxbZug" general="_mEj6sISnEeGlVZSwCxbZug"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/.project b/sandbox/UMLCompareMergerExample/MoveModelElementExample1/.project
deleted file mode 100644
index 349693cff13..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>MoveModelElementExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.di b/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.di
deleted file mode 100644
index 7e0e8a2f1a1..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_geLncIPrEeGov9zerf2v0g"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_geLncIPrEeGov9zerf2v0g"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.notation b/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.notation
deleted file mode 100644
index 97b3cb5bdc5..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.notation
+++ /dev/null
@@ -1,177 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_geLncIPrEeGov9zerf2v0g" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_hw7owIPrEeGov9zerf2v0g" type="2007" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8P0IPrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P0YPrEeGov9zerf2v0g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P0oPrEeGov9zerf2v0g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P04PrEeGov9zerf2v0g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P1IPrEeGov9zerf2v0g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P1YPrEeGov9zerf2v0g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8P1oPrEeGov9zerf2v0g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P14PrEeGov9zerf2v0g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8P2IPrEeGov9zerf2v0g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw824IPrEeGov9zerf2v0g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw824YPrEeGov9zerf2v0g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw824oPrEeGov9zerf2v0g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_hw8244PrEeGov9zerf2v0g" type="5026"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_hw825IPrEeGov9zerf2v0g" type="7016">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8254PrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw826IPrEeGov9zerf2v0g" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_iv058IPrEeGov9zerf2v0g" type="3010" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iv058oPrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hAIPrEeGov9zerf2v0g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hAYPrEeGov9zerf2v0g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hAoPrEeGov9zerf2v0g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hA4PrEeGov9zerf2v0g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hBIPrEeGov9zerf2v0g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iv1hBYPrEeGov9zerf2v0g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hBoPrEeGov9zerf2v0g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iv1hB4PrEeGov9zerf2v0g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hCIPrEeGov9zerf2v0g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iv1hCYPrEeGov9zerf2v0g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv1hCoPrEeGov9zerf2v0g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_iv2IEIPrEeGov9zerf2v0g" type="5014"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iv2IEYPrEeGov9zerf2v0g" type="7011">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iv2IIIPrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv2IIYPrEeGov9zerf2v0g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_iv2IEoPrEeGov9zerf2v0g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_iv2IE4PrEeGov9zerf2v0g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_iv2IFIPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iv2IFYPrEeGov9zerf2v0g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iv2IFoPrEeGov9zerf2v0g" type="7012">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iv2vIIPrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv2vIYPrEeGov9zerf2v0g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_iv2IF4PrEeGov9zerf2v0g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_iv2IGIPrEeGov9zerf2v0g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_iv2IGYPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iv2IGoPrEeGov9zerf2v0g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iv2IG4PrEeGov9zerf2v0g" type="7013">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iv2vIoPrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iv2vI4PrEeGov9zerf2v0g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_iv2IHIPrEeGov9zerf2v0g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_iv2IHYPrEeGov9zerf2v0g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_iv2IHoPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iv2IH4PrEeGov9zerf2v0g"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_ivydsIPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iv058YPrEeGov9zerf2v0g" x="18" y="26"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_hw825YPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hw825oPrEeGov9zerf2v0g"/>
- </children>
- <element xmi:type="uml:Package" href="model.uml#_hw6aoIPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hw7owYPrEeGov9zerf2v0g" x="262" y="215" width="524" height="351"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_3VK9IIR2EeG8FPi7KF13Tg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VLkMIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQIR2EeG8FPi7KF13Tg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQYR2EeG8FPi7KF13Tg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQoR2EeG8FPi7KF13Tg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQ4R2EeG8FPi7KF13Tg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLRIR2EeG8FPi7KF13Tg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VNZYIR2EeG8FPi7KF13Tg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VNZYYR2EeG8FPi7KF13Tg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VNZYoR2EeG8FPi7KF13Tg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VNZY4R2EeG8FPi7KF13Tg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VNZZIR2EeG8FPi7KF13Tg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VOAcIR2EeG8FPi7KF13Tg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_3VOAcYR2EeG8FPi7KF13Tg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_3VOAcoR2EeG8FPi7KF13Tg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VOngIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VOngYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_3VOAc4R2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_3VOAdIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_3VOAdYR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VOAdoR2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_3VOAd4R2EeG8FPi7KF13Tg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VOngoR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VOng4R2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_3VOAeIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_3VOAeYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_3VOAeoR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VOAe4R2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_3VOAfIR2EeG8FPi7KF13Tg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VPOkIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VPOkYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_3VOAfYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_3VOAfoR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_3VOAf4R2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VOAgIR2EeG8FPi7KF13Tg"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_3U53YIR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VK9IYR2EeG8FPi7KF13Tg" x="942" y="126"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_4AKa4IR2EeG8FPi7KF13Tg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALB8IR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB8YR2EeG8FPi7KF13Tg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB8oR2EeG8FPi7KF13Tg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB84R2EeG8FPi7KF13Tg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB9IR2EeG8FPi7KF13Tg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB9YR2EeG8FPi7KF13Tg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALB9oR2EeG8FPi7KF13Tg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALpAIR2EeG8FPi7KF13Tg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALpAYR2EeG8FPi7KF13Tg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALpAoR2EeG8FPi7KF13Tg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALpA4R2EeG8FPi7KF13Tg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALpBIR2EeG8FPi7KF13Tg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_4ALpBYR2EeG8FPi7KF13Tg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_4ALpBoR2EeG8FPi7KF13Tg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4AMQEIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4AMQEYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_4ALpB4R2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_4ALpCIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_4ALpCYR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ALpCoR2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_4ALpC4R2EeG8FPi7KF13Tg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4AMQEoR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4AMQE4R2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_4ALpDIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_4ALpDYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_4ALpDoR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ALpD4R2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_4ALpEIR2EeG8FPi7KF13Tg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4AM3IIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4AM3IYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_4ALpEYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_4ALpEoR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_4ALpE4R2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ALpFIR2EeG8FPi7KF13Tg"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_4AJz0IR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AKa4YR2EeG8FPi7KF13Tg" x="538" y="48"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_geLncYPrEeGov9zerf2v0g"/>
- <element xmi:type="uml:Model" href="model.uml#_geLAYIPrEeGov9zerf2v0g"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.uml b/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.uml
deleted file mode 100644
index f82fde88c26..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model.uml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_geLAYIPrEeGov9zerf2v0g" name="model">
- <packagedElement xmi:type="uml:Package" xmi:id="_hw6aoIPrEeGov9zerf2v0g" name="Package1">
- <packagedElement xmi:type="uml:Class" xmi:id="_ivydsIPrEeGov9zerf2v0g" name="ClassMoved"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_3U53YIR2EeG8FPi7KF13Tg" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_4AJz0IR2EeG8FPi7KF13Tg" name="Class2"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.di b/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.di
deleted file mode 100644
index 9cb8d820089..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_geLncIPrEeGov9zerf2v0g"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_geLncIPrEeGov9zerf2v0g"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.notation b/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.notation
deleted file mode 100644
index 45864f75528..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.notation
+++ /dev/null
@@ -1,177 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_geLncIPrEeGov9zerf2v0g" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_hw7owIPrEeGov9zerf2v0g" type="2007" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8P0IPrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P0YPrEeGov9zerf2v0g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P0oPrEeGov9zerf2v0g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P04PrEeGov9zerf2v0g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P1IPrEeGov9zerf2v0g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P1YPrEeGov9zerf2v0g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8P1oPrEeGov9zerf2v0g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw8P14PrEeGov9zerf2v0g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8P2IPrEeGov9zerf2v0g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw824IPrEeGov9zerf2v0g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw824YPrEeGov9zerf2v0g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw824oPrEeGov9zerf2v0g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_hw8244PrEeGov9zerf2v0g" type="5026"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_hw825IPrEeGov9zerf2v0g" type="7016">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hw8254PrEeGov9zerf2v0g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hw826IPrEeGov9zerf2v0g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_hw825YPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hw825oPrEeGov9zerf2v0g"/>
- </children>
- <element xmi:type="uml:Package" href="model2.uml#_hw6aoIPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hw7owYPrEeGov9zerf2v0g" x="262" y="215" width="524" height="351"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_3VK9IIR2EeG8FPi7KF13Tg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VLkMIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQIR2EeG8FPi7KF13Tg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQYR2EeG8FPi7KF13Tg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQoR2EeG8FPi7KF13Tg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLQ4R2EeG8FPi7KF13Tg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VMLRIR2EeG8FPi7KF13Tg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VNZYIR2EeG8FPi7KF13Tg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VNZYYR2EeG8FPi7KF13Tg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VNZYoR2EeG8FPi7KF13Tg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VNZY4R2EeG8FPi7KF13Tg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VNZZIR2EeG8FPi7KF13Tg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VOAcIR2EeG8FPi7KF13Tg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_3VOAcYR2EeG8FPi7KF13Tg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_3VOAcoR2EeG8FPi7KF13Tg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VOngIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VOngYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_3VOAc4R2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_3VOAdIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_3VOAdYR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VOAdoR2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_3VOAd4R2EeG8FPi7KF13Tg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VOngoR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VOng4R2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_3VOAeIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_3VOAeYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_3VOAeoR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VOAe4R2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_3VOAfIR2EeG8FPi7KF13Tg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3VPOkIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3VPOkYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_3VOAfYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_3VOAfoR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_3VOAf4R2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VOAgIR2EeG8FPi7KF13Tg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_3U53YIR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3VK9IYR2EeG8FPi7KF13Tg" x="942" y="126"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_4AKa4IR2EeG8FPi7KF13Tg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALB8IR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB8YR2EeG8FPi7KF13Tg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB8oR2EeG8FPi7KF13Tg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB84R2EeG8FPi7KF13Tg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB9IR2EeG8FPi7KF13Tg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALB9YR2EeG8FPi7KF13Tg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALB9oR2EeG8FPi7KF13Tg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALpAIR2EeG8FPi7KF13Tg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALpAYR2EeG8FPi7KF13Tg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALpAoR2EeG8FPi7KF13Tg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ALpA4R2EeG8FPi7KF13Tg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4ALpBIR2EeG8FPi7KF13Tg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_4ALpBYR2EeG8FPi7KF13Tg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_4ALpBoR2EeG8FPi7KF13Tg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4AMQEIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4AMQEYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_4ALpB4R2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_4ALpCIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_4ALpCYR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ALpCoR2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_4ALpC4R2EeG8FPi7KF13Tg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4AMQEoR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4AMQE4R2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_4ALpDIR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_4ALpDYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_4ALpDoR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ALpD4R2EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_4ALpEIR2EeG8FPi7KF13Tg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4AM3IIR2EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4AM3IYR2EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_4ALpEYR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_4ALpEoR2EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_4ALpE4R2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ALpFIR2EeG8FPi7KF13Tg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_4AJz0IR2EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AKa4YR2EeG8FPi7KF13Tg" x="538" y="48"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_PWhdUIR3EeG8FPi7KF13Tg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PWiEYIR3EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWiEYYR3EeG8FPi7KF13Tg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWiEYoR3EeG8FPi7KF13Tg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWiEY4R3EeG8FPi7KF13Tg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWiEZIR3EeG8FPi7KF13Tg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWiEZYR3EeG8FPi7KF13Tg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PWircIR3EeG8FPi7KF13Tg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWircYR3EeG8FPi7KF13Tg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PWircoR3EeG8FPi7KF13Tg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWirc4R3EeG8FPi7KF13Tg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PWirdIR3EeG8FPi7KF13Tg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWirdYR3EeG8FPi7KF13Tg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_PWirdoR3EeG8FPi7KF13Tg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_PWird4R3EeG8FPi7KF13Tg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PWjSioR3EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWjSi4R3EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_PWireIR3EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_PWireYR3EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_PWireoR3EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PWire4R3EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_PWjSgIR3EeG8FPi7KF13Tg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PWj5kIR3EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWj5kYR3EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_PWjSgYR3EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_PWjSgoR3EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_PWjSg4R3EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PWjShIR3EeG8FPi7KF13Tg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_PWjShYR3EeG8FPi7KF13Tg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PWj5koR3EeG8FPi7KF13Tg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PWj5k4R3EeG8FPi7KF13Tg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_PWjShoR3EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_PWjSh4R3EeG8FPi7KF13Tg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_PWjSiIR3EeG8FPi7KF13Tg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PWjSiYR3EeG8FPi7KF13Tg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_ivydsIPrEeGov9zerf2v0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PWhdUYR3EeG8FPi7KF13Tg" x="1003" y="363"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_geLncYPrEeGov9zerf2v0g"/>
- <element xmi:type="uml:Model" href="model2.uml#_geLAYIPrEeGov9zerf2v0g"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.uml b/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.uml
deleted file mode 100644
index 3f5d49eda53..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementExample1/model2.uml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_geLAYIPrEeGov9zerf2v0g" name="model">
- <packagedElement xmi:type="uml:Package" xmi:id="_hw6aoIPrEeGov9zerf2v0g" name="Package1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_3U53YIR2EeG8FPi7KF13Tg" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_ivydsIPrEeGov9zerf2v0g" name="ClassMoved"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_4AJz0IR2EeG8FPi7KF13Tg" name="Class2"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/.project b/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/.project
deleted file mode 100644
index dc7e6183a48..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>MoveModelElementMergerExample2</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.di b/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.di
deleted file mode 100644
index 8dbe654e0de..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_gtqhMJLOEeGMbbTHJTPv-g"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_gtqhMJLOEeGMbbTHJTPv-g"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.notation b/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.notation
deleted file mode 100644
index db072f41dd8..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.notation
+++ /dev/null
@@ -1,273 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_gtqhMJLOEeGMbbTHJTPv-g" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_jNq_0JLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNrm4JLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN8JLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN8ZLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN8pLOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN85LOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNs1AJLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNtcEJLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNtcEZLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNuDIJLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNuDIZLOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNuDIpLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNuDI5LOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_jNuqMJLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_jNuqMZLOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNvRQJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNvRQZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_jNuqMpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_jNuqM5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_jNuqNJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNuqNZLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_jNuqNpLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNvRQpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNv4UJLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_jNuqN5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_jNuqOJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_jNuqOZLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNuqOpLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_jNuqO5LOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNv4UZLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNv4UpLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_jNuqPJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_jNuqPZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_jNuqPpLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNuqP5LOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_jNZTAJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNq_0ZLOEeGMbbTHJTPv-g" x="198" y="72"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qbYjsJLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbZKwJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKwZLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKwpLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKw5LOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKxJLOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZx0JLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbaY4JLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbaY4ZLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbaY4pLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbaY45LOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbaY5JLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbaY5ZLOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qbaY5pLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qbaY55LOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qba_-pLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qba_-5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qbaY6JLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qbaY6ZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qbaY6pLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qbaY65LOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qba_8JLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbbnAJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbbnAZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qba_8ZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qba_8pLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qba_85LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qba_9JLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qba_9ZLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbbnApLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbbnA5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qba_9pLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qba_95LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qba_-JLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qba_-ZLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_qbKhQJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qbYjsZLOEeGMbbTHJTPv-g" x="740" y="120"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qnH5oJLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnIgsJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnIgsZLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnIgspLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnIgs5LOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnJu0JLOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnKV4JLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnK88JLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnK88ZLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnK88pLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnK885LOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnK89JLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnK89ZLOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qnK89pLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qnLkAJLOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnLkD5LOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnMLEJLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qnLkAZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qnLkApLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qnLkA5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnLkBJLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qnLkBZLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnMLEZLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnMLEpLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qnLkBpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qnLkB5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qnLkCJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnLkCZLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qnLkCpLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnMLE5LOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnMLFJLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qnLkC5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qnLkDJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qnLkDZLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnLkDpLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_qm-IoJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnH5oZLOEeGMbbTHJTPv-g" x="606" y="275"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qs-C8JLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs-C8pLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs-C85LOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs-C9JLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs-C9ZLOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_REJLOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_REZLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs_REpLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_RE5LOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs_4IJLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_4IZLOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs_4IpLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_4I5LOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qs_4JJLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qs_4JZLOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qtBtUJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qtBtUZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qs_4JpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qs_4J5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qs_4KJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qs_4KZLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qs_4KpLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qtBtUpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qtBtU5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qs_4K5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qs_4LJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qs_4LZLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qs_4LpLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qtAfMJLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qtCUYJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qtCUYZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qtAfMZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qtAfMpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qtAfM5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qtAfNJLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_qs2HIJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qs-C8ZLOEeGMbbTHJTPv-g" x="736" y="325"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qyFMcJLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyFMcpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzgJLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzgZLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzgpLOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzg5LOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzhJLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyFzhZLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyGakJLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyGakZLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyGakpLOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyHBoJLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyHBoZLOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qyHBopLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyHBo5LOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyHotZLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyHotpLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyHBpJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyHBpZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyHBppLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyHBp5LOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyHBqJLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyIPwJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyIPwZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyHBqZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyHBqpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyHBq5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyHBrJLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyHosJLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyIPwpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyIPw5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyHosZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyHospLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyHos5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyHotJLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_qx8pkJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyFMcZLOEeGMbbTHJTPv-g" x="866" y="375"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_zsCaQJLPEeGSS5FnAzyFEw" type="2005" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsE2gJLPEeGSS5FnAzyFEw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2gZLPEeGSS5FnAzyFEw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2gpLPEeGSS5FnAzyFEw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2g5LPEeGSS5FnAzyFEw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2hJLPEeGSS5FnAzyFEw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsFdkJLPEeGSS5FnAzyFEw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsGEoJLPEeGSS5FnAzyFEw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsGEoZLPEeGSS5FnAzyFEw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsGrsJLPEeGSS5FnAzyFEw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsGrsZLPEeGSS5FnAzyFEw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsGrspLPEeGSS5FnAzyFEw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsGrs5LPEeGSS5FnAzyFEw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_zsGrtJLPEeGSS5FnAzyFEw" type="5020"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_zsHSwJLPEeGSS5FnAzyFEw" type="7009">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zslM0JLPEeGSS5FnAzyFEw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zslM0ZLPEeGSS5FnAzyFEw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_zsHSwZLPEeGSS5FnAzyFEw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zsHSwpLPEeGSS5FnAzyFEw"/>
- </children>
- <element xmi:type="uml:Model" href="model.uml#_zq38oJLPEeGSS5FnAzyFEw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zsCaQZLPEeGSS5FnAzyFEw" x="90" y="282" width="441" height="229"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_gtqhMZLOEeGMbbTHJTPv-g"/>
- <element xmi:type="uml:Model" href="model.uml#_gtjzgJLOEeGMbbTHJTPv-g"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.uml b/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.uml
deleted file mode 100644
index fe2e77b86b3..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model.uml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_gtjzgJLOEeGMbbTHJTPv-g" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_jNZTAJLOEeGMbbTHJTPv-g" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qbKhQJLOEeGMbbTHJTPv-g" name="Class2"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qm-IoJLOEeGMbbTHJTPv-g" name="Class3"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qs2HIJLOEeGMbbTHJTPv-g" name="Class4"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qx8pkJLOEeGMbbTHJTPv-g" name="Class5"/>
- <packagedElement xmi:type="uml:Model" xmi:id="_zq38oJLPEeGSS5FnAzyFEw" name="Model1"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.di b/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.di
deleted file mode 100644
index f43629c4a38..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_gtqhMJLOEeGMbbTHJTPv-g"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_gtqhMJLOEeGMbbTHJTPv-g"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.notation b/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.notation
deleted file mode 100644
index fd23b5dd5f1..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.notation
+++ /dev/null
@@ -1,273 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_gtqhMJLOEeGMbbTHJTPv-g" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_zsCaQJLPEeGSS5FnAzyFEw" type="2005" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsE2gJLPEeGSS5FnAzyFEw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2gZLPEeGSS5FnAzyFEw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2gpLPEeGSS5FnAzyFEw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2g5LPEeGSS5FnAzyFEw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsE2hJLPEeGSS5FnAzyFEw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsFdkJLPEeGSS5FnAzyFEw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsGEoJLPEeGSS5FnAzyFEw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsGEoZLPEeGSS5FnAzyFEw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsGrsJLPEeGSS5FnAzyFEw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsGrsZLPEeGSS5FnAzyFEw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zsGrspLPEeGSS5FnAzyFEw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zsGrs5LPEeGSS5FnAzyFEw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_zsGrtJLPEeGSS5FnAzyFEw" type="5020"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_zsHSwJLPEeGSS5FnAzyFEw" type="7009">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zslM0JLPEeGSS5FnAzyFEw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zslM0ZLPEeGSS5FnAzyFEw" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_jNq_0JLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNrm4JLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN8JLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN8ZLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN8pLOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNsN85LOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNs1AJLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNtcEJLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNtcEZLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNuDIJLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNuDIZLOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNuDIpLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNuDI5LOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_jNuqMJLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_jNuqMZLOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNvRQJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNvRQZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_jNuqMpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_jNuqM5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_jNuqNJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNuqNZLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_jNuqNpLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNvRQpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNv4UJLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_jNuqN5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_jNuqOJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_jNuqOZLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNuqOpLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_jNuqO5LOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jNv4UZLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jNv4UpLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_jNuqPJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_jNuqPZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_jNuqPpLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNuqP5LOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_jNZTAJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jNq_0ZLOEeGMbbTHJTPv-g" x="35" y="10"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qbYjsJLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbZKwJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKwZLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKwpLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKw5LOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZKxJLOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbZx0JLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbaY4JLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbaY4ZLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbaY4pLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbaY45LOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbaY5JLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbaY5ZLOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qbaY5pLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qbaY55LOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qba_-pLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qba_-5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qbaY6JLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qbaY6ZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qbaY6pLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qbaY65LOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qba_8JLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbbnAJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbbnAZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qba_8ZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qba_8pLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qba_85LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qba_9JLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qba_9ZLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qbbnApLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qbbnA5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qba_9pLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qba_95LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qba_-JLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qba_-ZLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_qbKhQJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qbYjsZLOEeGMbbTHJTPv-g" x="577" y="58"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qnH5oJLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnIgsJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnIgsZLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnIgspLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnIgs5LOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnJu0JLOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnKV4JLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnK88JLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnK88ZLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnK88pLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnK885LOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnK89JLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnK89ZLOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qnK89pLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qnLkAJLOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnLkD5LOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnMLEJLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qnLkAZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qnLkApLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qnLkA5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnLkBJLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qnLkBZLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnMLEZLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnMLEpLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qnLkBpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qnLkB5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qnLkCJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnLkCZLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qnLkCpLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qnMLE5LOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qnMLFJLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qnLkC5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qnLkDJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qnLkDZLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnLkDpLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_qm-IoJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qnH5oZLOEeGMbbTHJTPv-g" x="443" y="213"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qs-C8JLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs-C8pLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs-C85LOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs-C9JLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs-C9ZLOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_REJLOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_REZLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs_REpLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_RE5LOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs_4IJLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_4IZLOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qs_4IpLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qs_4I5LOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qs_4JJLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qs_4JZLOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qtBtUJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qtBtUZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qs_4JpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qs_4J5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qs_4KJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qs_4KZLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qs_4KpLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qtBtUpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qtBtU5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qs_4K5LOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qs_4LJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qs_4LZLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qs_4LpLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qtAfMJLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qtCUYJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qtCUYZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qtAfMZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qtAfMpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qtAfM5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qtAfNJLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_qs2HIJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qs-C8ZLOEeGMbbTHJTPv-g" x="573" y="263"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qyFMcJLOEeGMbbTHJTPv-g" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyFMcpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzgJLOEeGMbbTHJTPv-g" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzgZLOEeGMbbTHJTPv-g" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzgpLOEeGMbbTHJTPv-g" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzg5LOEeGMbbTHJTPv-g" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyFzhJLOEeGMbbTHJTPv-g" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyFzhZLOEeGMbbTHJTPv-g" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyGakJLOEeGMbbTHJTPv-g" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyGakZLOEeGMbbTHJTPv-g" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyGakpLOEeGMbbTHJTPv-g" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyHBoJLOEeGMbbTHJTPv-g" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyHBoZLOEeGMbbTHJTPv-g" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_qyHBopLOEeGMbbTHJTPv-g" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyHBo5LOEeGMbbTHJTPv-g" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyHotZLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyHotpLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyHBpJLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyHBpZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyHBppLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyHBp5LOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyHBqJLOEeGMbbTHJTPv-g" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyIPwJLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyIPwZLOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyHBqZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyHBqpLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyHBq5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyHBrJLOEeGMbbTHJTPv-g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyHosJLOEeGMbbTHJTPv-g" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qyIPwpLOEeGMbbTHJTPv-g" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qyIPw5LOEeGMbbTHJTPv-g" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyHosZLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyHospLOEeGMbbTHJTPv-g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyHos5LOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyHotJLOEeGMbbTHJTPv-g"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_qx8pkJLOEeGMbbTHJTPv-g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyFMcZLOEeGMbbTHJTPv-g" x="703" y="313"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_zsHSwZLPEeGSS5FnAzyFEw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zsHSwpLPEeGSS5FnAzyFEw"/>
- </children>
- <element xmi:type="uml:Model" href="model2.uml#_zq38oJLPEeGSS5FnAzyFEw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zsCaQZLPEeGSS5FnAzyFEw" x="90" y="282" width="441" height="229"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_gtqhMZLOEeGMbbTHJTPv-g"/>
- <element xmi:type="uml:Model" href="model2.uml#_gtjzgJLOEeGMbbTHJTPv-g"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.uml b/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.uml
deleted file mode 100644
index b42bcf218c1..00000000000
--- a/sandbox/UMLCompareMergerExample/MoveModelElementMergerExample2/model2.uml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_gtjzgJLOEeGMbbTHJTPv-g" name="model">
- <packagedElement xmi:type="uml:Model" xmi:id="_zq38oJLPEeGSS5FnAzyFEw" name="Model1">
- <packagedElement xmi:type="uml:Class" xmi:id="_jNZTAJLOEeGMbbTHJTPv-g" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qbKhQJLOEeGMbbTHJTPv-g" name="Class2"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qm-IoJLOEeGMbbTHJTPv-g" name="Class3"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qs2HIJLOEeGMbbTHJTPv-g" name="Class4"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qx8pkJLOEeGMbbTHJTPv-g" name="Class5"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/.project b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/.project
deleted file mode 100644
index 1841c59c4f4..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>ReferenceChangeLeftTargetExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.di b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.di
deleted file mode 100644
index 513aa8fd399..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.di
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_EEXXoJRREeG1U9r1NQ9zBg"/>
- </availablePage>
- <availablePage>
- <emfPageIdentifier href="model.notation#_lK3ecJRREeG1U9r1NQ9zBg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_EEXXoJRREeG1U9r1NQ9zBg"/>
- </children>
- <children>
- <emfPageIdentifier href="model.notation#_lK3ecJRREeG1U9r1NQ9zBg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.notation b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.notation
deleted file mode 100644
index d57837ce475..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.notation
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML">
- <notation:Diagram xmi:id="_EEXXoJRREeG1U9r1NQ9zBg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <styles xmi:type="notation:DiagramStyle" xmi:id="_EEXXoZRREeG1U9r1NQ9zBg"/>
- <element xmi:type="uml:Model" href="model.uml#_EEONsJRREeG1U9r1NQ9zBg"/>
- </notation:Diagram>
- <notation:Diagram xmi:id="_lK3ecJRREeG1U9r1NQ9zBg" type="UseCase" name="UseCaseDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_mAyZ0JRREeG1U9r1NQ9zBg" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mAzA4JRREeG1U9r1NQ9zBg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn8JRREeG1U9r1NQ9zBg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn8ZRREeG1U9r1NQ9zBg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn8pRREeG1U9r1NQ9zBg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn85RREeG1U9r1NQ9zBg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn9JRREeG1U9r1NQ9zBg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mA0PAJRREeG1U9r1NQ9zBg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mA02EJRREeG1U9r1NQ9zBg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mA02EZRREeG1U9r1NQ9zBg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mA02EpRREeG1U9r1NQ9zBg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mA3SUJRREeG1U9r1NQ9zBg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mA3SUZRREeG1U9r1NQ9zBg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_mA3SUpRREeG1U9r1NQ9zBg" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_mA3SU5RREeG1U9r1NQ9zBg" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="_mA3SVJRREeG1U9r1NQ9zBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_mA3SVZRREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mA3SVpRREeG1U9r1NQ9zBg"/>
- </children>
- <element xmi:type="uml:UseCase" href="model.uml#_l_6QEJRREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mAyZ0ZRREeG1U9r1NQ9zBg" x="277" y="166"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_naIyYJRREeG1U9r1NQ9zBg" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naJZcJRREeG1U9r1NQ9zBg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZcZRREeG1U9r1NQ9zBg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZcpRREeG1U9r1NQ9zBg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZc5RREeG1U9r1NQ9zBg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZdJRREeG1U9r1NQ9zBg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naKAgJRREeG1U9r1NQ9zBg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naLOoJRREeG1U9r1NQ9zBg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naLOoZRREeG1U9r1NQ9zBg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naLOopRREeG1U9r1NQ9zBg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naLOo5RREeG1U9r1NQ9zBg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naLOpJRREeG1U9r1NQ9zBg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naLOpZRREeG1U9r1NQ9zBg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_naL1sJRREeG1U9r1NQ9zBg" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_naL1sZRREeG1U9r1NQ9zBg" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="_naL1spRREeG1U9r1NQ9zBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_naL1s5RREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_naL1tJRREeG1U9r1NQ9zBg"/>
- </children>
- <element xmi:type="uml:UseCase" href="model.uml#_nZ8lIJRREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_naIyYZRREeG1U9r1NQ9zBg" x="666" y="159"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_lK3ecZRREeG1U9r1NQ9zBg"/>
- <element xmi:type="uml:Model" href="model.uml#_EEONsJRREeG1U9r1NQ9zBg"/>
- </notation:Diagram>
-</xmi:XMI>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.uml b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.uml
deleted file mode 100644
index f3481d67750..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model.uml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_EEONsJRREeG1U9r1NQ9zBg" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_FszVEJRREeG1U9r1NQ9zBg" name="Class1" useCase="_WOeXoJRREeG1U9r1NQ9zBg _l_6QEJRREeG1U9r1NQ9zBg"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_WOeXoJRREeG1U9r1NQ9zBg" name="UseCase1_extern" subject="_FszVEJRREeG1U9r1NQ9zBg"/>
- <packagedElement xmi:type="uml:Activity" xmi:id="_f9gowJRREeG1U9r1NQ9zBg" name="Activity1"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_l_6QEJRREeG1U9r1NQ9zBg" name="UseCase" subject="_FszVEJRREeG1U9r1NQ9zBg"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_nZ8lIJRREeG1U9r1NQ9zBg" name="UseCase1"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.di b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.di
deleted file mode 100644
index 9f8c6b96114..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.di
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_EEXXoJRREeG1U9r1NQ9zBg"/>
- </availablePage>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_lK3ecJRREeG1U9r1NQ9zBg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_EEXXoJRREeG1U9r1NQ9zBg"/>
- </children>
- <children>
- <emfPageIdentifier href="model2.notation#_lK3ecJRREeG1U9r1NQ9zBg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.notation b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.notation
deleted file mode 100644
index 6f29836618b..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.notation
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML">
- <notation:Diagram xmi:id="_EEXXoJRREeG1U9r1NQ9zBg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <styles xmi:type="notation:DiagramStyle" xmi:id="_EEXXoZRREeG1U9r1NQ9zBg"/>
- <element xmi:type="uml:Model" href="model2.uml#_EEONsJRREeG1U9r1NQ9zBg"/>
- </notation:Diagram>
- <notation:Diagram xmi:id="_lK3ecJRREeG1U9r1NQ9zBg" type="UseCase" name="UseCaseDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_mAyZ0JRREeG1U9r1NQ9zBg" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mAzA4JRREeG1U9r1NQ9zBg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn8JRREeG1U9r1NQ9zBg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn8ZRREeG1U9r1NQ9zBg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn8pRREeG1U9r1NQ9zBg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn85RREeG1U9r1NQ9zBg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mAzn9JRREeG1U9r1NQ9zBg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mA0PAJRREeG1U9r1NQ9zBg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mA02EJRREeG1U9r1NQ9zBg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mA02EZRREeG1U9r1NQ9zBg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mA02EpRREeG1U9r1NQ9zBg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mA3SUJRREeG1U9r1NQ9zBg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mA3SUZRREeG1U9r1NQ9zBg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_mA3SUpRREeG1U9r1NQ9zBg" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_mA3SU5RREeG1U9r1NQ9zBg" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="_mA3SVJRREeG1U9r1NQ9zBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_mA3SVZRREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mA3SVpRREeG1U9r1NQ9zBg"/>
- </children>
- <element xmi:type="uml:UseCase" href="model2.uml#_l_6QEJRREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mAyZ0ZRREeG1U9r1NQ9zBg" x="277" y="166"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_naIyYJRREeG1U9r1NQ9zBg" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naJZcJRREeG1U9r1NQ9zBg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZcZRREeG1U9r1NQ9zBg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZcpRREeG1U9r1NQ9zBg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZc5RREeG1U9r1NQ9zBg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naJZdJRREeG1U9r1NQ9zBg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naKAgJRREeG1U9r1NQ9zBg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naLOoJRREeG1U9r1NQ9zBg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naLOoZRREeG1U9r1NQ9zBg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naLOopRREeG1U9r1NQ9zBg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naLOo5RREeG1U9r1NQ9zBg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_naLOpJRREeG1U9r1NQ9zBg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_naLOpZRREeG1U9r1NQ9zBg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_naL1sJRREeG1U9r1NQ9zBg" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_naL1sZRREeG1U9r1NQ9zBg" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="_naL1spRREeG1U9r1NQ9zBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_naL1s5RREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_naL1tJRREeG1U9r1NQ9zBg"/>
- </children>
- <element xmi:type="uml:UseCase" href="model2.uml#_nZ8lIJRREeG1U9r1NQ9zBg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_naIyYZRREeG1U9r1NQ9zBg" x="666" y="159"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_lK3ecZRREeG1U9r1NQ9zBg"/>
- <element xmi:type="uml:Model" href="model2.uml#_EEONsJRREeG1U9r1NQ9zBg"/>
- </notation:Diagram>
-</xmi:XMI>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.uml b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.uml
deleted file mode 100644
index 50047687358..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetExample1/model2.uml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_EEONsJRREeG1U9r1NQ9zBg" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_FszVEJRREeG1U9r1NQ9zBg" name="Class1" useCase="_l_6QEJRREeG1U9r1NQ9zBg"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_WOeXoJRREeG1U9r1NQ9zBg" name="UseCase1_extern"/>
- <packagedElement xmi:type="uml:Activity" xmi:id="_f9gowJRREeG1U9r1NQ9zBg" name="Activity1"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_l_6QEJRREeG1U9r1NQ9zBg" name="UseCase" subject="_FszVEJRREeG1U9r1NQ9zBg"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_nZ8lIJRREeG1U9r1NQ9zBg" name="UseCase1"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/.project b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/.project
deleted file mode 100644
index 3fd233f322f..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>ReferenceChangeLeftTargetMergerExample2</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.di b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.di
deleted file mode 100644
index 4ed3cd05622..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_6u0fYJRiEeGziah99CYh_A"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_6u0fYJRiEeGziah99CYh_A"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.notation b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.notation
deleted file mode 100644
index 44939169d99..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.notation
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6u0fYJRiEeGziah99CYh_A" type="UseCase" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_9zGvwJRiEeGziah99CYh_A" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zJMAJRiEeGziah99CYh_A" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMAZRiEeGziah99CYh_A" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMApRiEeGziah99CYh_A" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMA5RiEeGziah99CYh_A" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMBJRiEeGziah99CYh_A" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJzEJRiEeGziah99CYh_A" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zPSoJRiEeGziah99CYh_A" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zP5sJRiEeGziah99CYh_A" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zTkEJRiEeGziah99CYh_A" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zTkEZRiEeGziah99CYh_A" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zTkEpRiEeGziah99CYh_A" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zTkE5RiEeGziah99CYh_A" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_9zWAUJRiEeGziah99CYh_A" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_9zZqsJRiEeGziah99CYh_A" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="_9zZqsZRiEeGziah99CYh_A"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9zZqspRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9zZqs5RiEeGziah99CYh_A"/>
- </children>
- <element xmi:type="uml:UseCase" href="model.uml#_9xSK0JRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9zGvwZRiEeGziah99CYh_A" x="212" y="234"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_-mKkYJRiEeGziah99CYh_A" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-mLygJRiEeGziah99CYh_A" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mLygZRiEeGziah99CYh_A" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mMZkJRiEeGziah99CYh_A" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mMZkZRiEeGziah99CYh_A" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mMZkpRiEeGziah99CYh_A" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mMZk5RiEeGziah99CYh_A" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-mNAoJRiEeGziah99CYh_A" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mNAoZRiEeGziah99CYh_A" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-mNAopRiEeGziah99CYh_A" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mNAo5RiEeGziah99CYh_A" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-mNnsJRiEeGziah99CYh_A" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-mNnsZRiEeGziah99CYh_A" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_-mNnspRiEeGziah99CYh_A" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_-mNns5RiEeGziah99CYh_A" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="_-mNntJRiEeGziah99CYh_A"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_-mNntZRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-mNntpRiEeGziah99CYh_A"/>
- </children>
- <element xmi:type="uml:UseCase" href="model.uml#_-l6swJRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-mLLcJRiEeGziah99CYh_A" x="217" y="412"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="__IdZIJRiEeGziah99CYh_A" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IeAMZRiEeGziah99CYh_A" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IeAMpRiEeGziah99CYh_A" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IeAM5RiEeGziah99CYh_A" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IeANJRiEeGziah99CYh_A" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenQJRiEeGziah99CYh_A" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenQZRiEeGziah99CYh_A" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IenQpRiEeGziah99CYh_A" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenQ5RiEeGziah99CYh_A" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IenRJRiEeGziah99CYh_A" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenRZRiEeGziah99CYh_A" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IfOUJRiEeGziah99CYh_A" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IfOUZRiEeGziah99CYh_A" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="__IfOUpRiEeGziah99CYh_A" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="__IfOU5RiEeGziah99CYh_A" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="__IfOVJRiEeGziah99CYh_A"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="__IfOVZRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__IfOVpRiEeGziah99CYh_A"/>
- </children>
- <element xmi:type="uml:UseCase" href="model.uml#__IToIJRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__IeAMJRiEeGziah99CYh_A" x="561" y="402"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_6u0fYZRiEeGziah99CYh_A"/>
- <element xmi:type="uml:Model" href="model.uml#_6sfkIJRiEeGziah99CYh_A"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.uml b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.uml
deleted file mode 100644
index 1c3aeba6cc5..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model.uml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6sfkIJRiEeGziah99CYh_A" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_9XsmIJRiEeGziah99CYh_A" name="Class1" useCase="_9xSK0JRiEeGziah99CYh_A _-l6swJRiEeGziah99CYh_A __IToIJRiEeGziah99CYh_A"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_9xSK0JRiEeGziah99CYh_A" name="UseCase" subject="_9XsmIJRiEeGziah99CYh_A"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_-l6swJRiEeGziah99CYh_A" name="UseCase1" subject="_9XsmIJRiEeGziah99CYh_A"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="__IToIJRiEeGziah99CYh_A" name="UseCase2" subject="_9XsmIJRiEeGziah99CYh_A"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.di b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.di
deleted file mode 100644
index b9daa7c898e..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_6u0fYJRiEeGziah99CYh_A"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_6u0fYJRiEeGziah99CYh_A"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.notation b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.notation
deleted file mode 100644
index 33cdbdafb89..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.notation
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6u0fYJRiEeGziah99CYh_A" type="UseCase" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_9zGvwJRiEeGziah99CYh_A" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zJMAJRiEeGziah99CYh_A" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMAZRiEeGziah99CYh_A" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMApRiEeGziah99CYh_A" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMA5RiEeGziah99CYh_A" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJMBJRiEeGziah99CYh_A" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zJzEJRiEeGziah99CYh_A" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zPSoJRiEeGziah99CYh_A" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zP5sJRiEeGziah99CYh_A" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zTkEJRiEeGziah99CYh_A" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zTkEZRiEeGziah99CYh_A" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9zTkEpRiEeGziah99CYh_A" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9zTkE5RiEeGziah99CYh_A" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_9zWAUJRiEeGziah99CYh_A" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_9zZqsJRiEeGziah99CYh_A" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="_9zZqsZRiEeGziah99CYh_A"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9zZqspRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9zZqs5RiEeGziah99CYh_A"/>
- </children>
- <element xmi:type="uml:UseCase" href="model2.uml#_9xSK0JRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9zGvwZRiEeGziah99CYh_A" x="212" y="234"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="__IdZIJRiEeGziah99CYh_A" type="2013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IeAMZRiEeGziah99CYh_A" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IeAMpRiEeGziah99CYh_A" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IeAM5RiEeGziah99CYh_A" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IeANJRiEeGziah99CYh_A" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenQJRiEeGziah99CYh_A" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenQZRiEeGziah99CYh_A" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IenQpRiEeGziah99CYh_A" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenQ5RiEeGziah99CYh_A" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IenRJRiEeGziah99CYh_A" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IenRZRiEeGziah99CYh_A" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__IfOUJRiEeGziah99CYh_A" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__IfOUZRiEeGziah99CYh_A" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="__IfOUpRiEeGziah99CYh_A" type="5016"/>
- <children xmi:type="notation:DecorationNode" xmi:id="__IfOU5RiEeGziah99CYh_A" type="7009">
- <styles xmi:type="notation:SortingStyle" xmi:id="__IfOVJRiEeGziah99CYh_A"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="__IfOVZRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__IfOVpRiEeGziah99CYh_A"/>
- </children>
- <element xmi:type="uml:UseCase" href="model2.uml#__IToIJRiEeGziah99CYh_A"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__IeAMJRiEeGziah99CYh_A" x="561" y="402"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_6u0fYZRiEeGziah99CYh_A"/>
- <element xmi:type="uml:Model" href="model2.uml#_6sfkIJRiEeGziah99CYh_A"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.uml b/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.uml
deleted file mode 100644
index 4692f0dc391..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceChangeLeftTargetMergerExample2/model2.uml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6sfkIJRiEeGziah99CYh_A" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_9XsmIJRiEeGziah99CYh_A" name="Class1" useCase="_9xSK0JRiEeGziah99CYh_A __IToIJRiEeGziah99CYh_A"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="_9xSK0JRiEeGziah99CYh_A" name="UseCase" subject="_9XsmIJRiEeGziah99CYh_A"/>
- <packagedElement xmi:type="uml:UseCase" xmi:id="__IToIJRiEeGziah99CYh_A" name="UseCase2" subject="_9XsmIJRiEeGziah99CYh_A"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/.project b/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/.project
deleted file mode 100644
index 87affaae350..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>ReferenceOrderChangeMergerExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.di b/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.di
deleted file mode 100644
index 385b88ea881..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_nNaD0ISAEeGLQPakUzVr5w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_nNaD0ISAEeGLQPakUzVr5w"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.notation b/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.notation
deleted file mode 100644
index 3f5c8fab76a..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.notation
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_nNaD0ISAEeGLQPakUzVr5w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_pqsloISAEeGLQPakUzVr5w" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqtMsISAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMsYSAEeGLQPakUzVr5w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMsoSAEeGLQPakUzVr5w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMs4SAEeGLQPakUzVr5w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMtISAEeGLQPakUzVr5w" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMtYSAEeGLQPakUzVr5w" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqtzwISAEeGLQPakUzVr5w" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqua0ISAEeGLQPakUzVr5w" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqua0YSAEeGLQPakUzVr5w" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqua0oSAEeGLQPakUzVr5w" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqua04SAEeGLQPakUzVr5w" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqua1ISAEeGLQPakUzVr5w" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_pqvB4ISAEeGLQPakUzVr5w" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_pqvB4YSAEeGLQPakUzVr5w" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqvo8ISAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqvo8YSAEeGLQPakUzVr5w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_pqvB4oSAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_pqvB44SAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_pqvB5ISAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqvB5YSAEeGLQPakUzVr5w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_pqvB5oSAEeGLQPakUzVr5w" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqvo8oSAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqvo84SAEeGLQPakUzVr5w" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_uWHy8ISAEeGLQPakUzVr5w" type="3013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_uWHy8oSAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy84SAEeGLQPakUzVr5w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy9ISAEeGLQPakUzVr5w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy9YSAEeGLQPakUzVr5w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy9oSAEeGLQPakUzVr5w" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Operation" href="model.uml#_uWFWsISAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_uWHy8YSAEeGLQPakUzVr5w"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_pqvB54SAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_pqvB6ISAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_pqvB6YSAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqvB6oSAEeGLQPakUzVr5w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_pqvB64SAEeGLQPakUzVr5w" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqwQAISAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqwQAYSAEeGLQPakUzVr5w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_pqvB7ISAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_pqvB7YSAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_pqvB7oSAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqvB74SAEeGLQPakUzVr5w"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_pqfKQISAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqsloYSAEeGLQPakUzVr5w" x="264" y="137" width="612" height="254"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_nNaq4ISAEeGLQPakUzVr5w"/>
- <element xmi:type="uml:Model" href="model.uml#_nNVLUISAEeGLQPakUzVr5w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.uml b/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.uml
deleted file mode 100644
index e698bcef805..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model.uml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_nNVLUISAEeGLQPakUzVr5w" name="Model">
- <packageImport xmi:id="_nNVLUYSAEeGLQPakUzVr5w">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_pqfKQISAEeGLQPakUzVr5w" name="Class1">
- <ownedOperation xmi:id="_uWFWsISAEeGLQPakUzVr5w" name="Operation1">
- <ownedParameter xmi:id="_8wzT0ISAEeGLQPakUzVr5w" name="param1"/>
- <ownedParameter xmi:id="_9k8GgISAEeGLQPakUzVr5w" name="param2"/>
- </ownedOperation>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.di b/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.di
deleted file mode 100644
index eaeddd6baa0..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_nNaD0ISAEeGLQPakUzVr5w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_nNaD0ISAEeGLQPakUzVr5w"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.notation b/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.notation
deleted file mode 100644
index 7d94b63ac60..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.notation
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_nNaD0ISAEeGLQPakUzVr5w" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_pqsloISAEeGLQPakUzVr5w" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqtMsISAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMsYSAEeGLQPakUzVr5w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMsoSAEeGLQPakUzVr5w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMs4SAEeGLQPakUzVr5w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMtISAEeGLQPakUzVr5w" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqtMtYSAEeGLQPakUzVr5w" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqtzwISAEeGLQPakUzVr5w" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqua0ISAEeGLQPakUzVr5w" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqua0YSAEeGLQPakUzVr5w" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqua0oSAEeGLQPakUzVr5w" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqua04SAEeGLQPakUzVr5w" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqua1ISAEeGLQPakUzVr5w" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_pqvB4ISAEeGLQPakUzVr5w" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_pqvB4YSAEeGLQPakUzVr5w" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqvo8ISAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqvo8YSAEeGLQPakUzVr5w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_pqvB4oSAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_pqvB44SAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_pqvB5ISAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqvB5YSAEeGLQPakUzVr5w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_pqvB5oSAEeGLQPakUzVr5w" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqvo8oSAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqvo84SAEeGLQPakUzVr5w" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_uWHy8ISAEeGLQPakUzVr5w" type="3013" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_uWHy8oSAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy84SAEeGLQPakUzVr5w" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy9ISAEeGLQPakUzVr5w" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy9YSAEeGLQPakUzVr5w" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uWHy9oSAEeGLQPakUzVr5w" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Operation" href="model2.uml#_uWFWsISAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_uWHy8YSAEeGLQPakUzVr5w"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_pqvB54SAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_pqvB6ISAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_pqvB6YSAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqvB6oSAEeGLQPakUzVr5w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_pqvB64SAEeGLQPakUzVr5w" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pqwQAISAEeGLQPakUzVr5w" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pqwQAYSAEeGLQPakUzVr5w" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_pqvB7ISAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_pqvB7YSAEeGLQPakUzVr5w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_pqvB7oSAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqvB74SAEeGLQPakUzVr5w"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_pqfKQISAEeGLQPakUzVr5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pqsloYSAEeGLQPakUzVr5w" x="264" y="137" width="612" height="254"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_nNaq4ISAEeGLQPakUzVr5w"/>
- <element xmi:type="uml:Model" href="model2.uml#_nNVLUISAEeGLQPakUzVr5w"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.uml b/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.uml
deleted file mode 100644
index 80a87d7702d..00000000000
--- a/sandbox/UMLCompareMergerExample/ReferenceOrderChangeMergerExample1/model2.uml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_nNVLUISAEeGLQPakUzVr5w" name="Model">
- <packageImport xmi:id="_nNVLUYSAEeGLQPakUzVr5w">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_pqfKQISAEeGLQPakUzVr5w" name="Class1">
- <ownedOperation xmi:id="_uWFWsISAEeGLQPakUzVr5w" name="Operation1">
- <ownedParameter xmi:id="_9k8GgISAEeGLQPakUzVr5w" name="param2"/>
- <ownedParameter xmi:id="_8wzT0ISAEeGLQPakUzVr5w" name="param1"/>
- </ownedOperation>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/.project b/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/.project
deleted file mode 100644
index e3b4839db70..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>UpdateAttributeExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.di b/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.di
deleted file mode 100644
index 1821ac10c48..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_MuA-gIO9EeG_L_irDJEzLg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_MuA-gIO9EeG_L_irDJEzLg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.notation b/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.notation
deleted file mode 100644
index 2649e8faa11..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.notation
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_MuA-gIO9EeG_L_irDJEzLg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_NvFZ8IO9EeG_L_irDJEzLg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvHPIIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvHPIYO9EeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvHPIoO9EeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvHPI4O9EeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvH2MIO9EeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvH2MYO9EeG_L_irDJEzLg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvLgkIO9EeG_L_irDJEzLg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvLgkYO9EeG_L_irDJEzLg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvMHoIO9EeG_L_irDJEzLg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvMHoYO9EeG_L_irDJEzLg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvMHooO9EeG_L_irDJEzLg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvMHo4O9EeG_L_irDJEzLg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_NvN80IO9EeG_L_irDJEzLg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NvRAIIO9EeG_L_irDJEzLg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvdNYIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvdNYYO9EeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_NvRAIYO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NvRnMIO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NvRnMYO9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvRnMoO9EeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NvRnM4O9EeG_L_irDJEzLg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Nvd0cIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Nvd0cYO9EeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_NvRnNIO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NvRnNYO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NvRnNoO9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvRnN4O9EeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NvRnOIO9EeG_L_irDJEzLg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvebgIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvebgYO9EeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_NvRnOYO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NvRnOoO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NvRnO4O9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvRnPIO9EeG_L_irDJEzLg"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_Nu0UMIO9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvFZ8YO9EeG_L_irDJEzLg" x="302" y="105"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_MuA-gYO9EeG_L_irDJEzLg"/>
- <element xmi:type="uml:Model" href="model.uml#_MtGYgIO9EeG_L_irDJEzLg"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.uml b/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.uml
deleted file mode 100644
index 66752631b0a..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model.uml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_MtGYgIO9EeG_L_irDJEzLg" name="Model">
- <packageImport xmi:id="_MtGYgYO9EeG_L_irDJEzLg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_Nu0UMIO9EeG_L_irDJEzLg" name="Class1"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.di b/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.di
deleted file mode 100644
index 26fd9360ec6..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_MuA-gIO9EeG_L_irDJEzLg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_MuA-gIO9EeG_L_irDJEzLg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.notation b/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.notation
deleted file mode 100644
index 1aa2136486f..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.notation
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_MuA-gIO9EeG_L_irDJEzLg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_NvFZ8IO9EeG_L_irDJEzLg" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvHPIIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvHPIYO9EeG_L_irDJEzLg" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvHPIoO9EeG_L_irDJEzLg" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvHPI4O9EeG_L_irDJEzLg" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvH2MIO9EeG_L_irDJEzLg" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvH2MYO9EeG_L_irDJEzLg" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvLgkIO9EeG_L_irDJEzLg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvLgkYO9EeG_L_irDJEzLg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvMHoIO9EeG_L_irDJEzLg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvMHoYO9EeG_L_irDJEzLg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvMHooO9EeG_L_irDJEzLg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvMHo4O9EeG_L_irDJEzLg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_NvN80IO9EeG_L_irDJEzLg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NvRAIIO9EeG_L_irDJEzLg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvdNYIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvdNYYO9EeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_NvRAIYO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NvRnMIO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NvRnMYO9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvRnMoO9EeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NvRnM4O9EeG_L_irDJEzLg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Nvd0cIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Nvd0cYO9EeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_NvRnNIO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NvRnNYO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NvRnNoO9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvRnN4O9EeG_L_irDJEzLg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NvRnOIO9EeG_L_irDJEzLg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NvebgIO9EeG_L_irDJEzLg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NvebgYO9EeG_L_irDJEzLg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_NvRnOYO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NvRnOoO9EeG_L_irDJEzLg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NvRnO4O9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvRnPIO9EeG_L_irDJEzLg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_Nu0UMIO9EeG_L_irDJEzLg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NvFZ8YO9EeG_L_irDJEzLg" x="302" y="105"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_MuA-gYO9EeG_L_irDJEzLg"/>
- <element xmi:type="uml:Model" href="model2.uml#_MtGYgIO9EeG_L_irDJEzLg"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.uml b/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.uml
deleted file mode 100644
index 583c8f4594f..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateAttributeExample1/model2.uml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_MtGYgIO9EeG_L_irDJEzLg" name="Model">
- <packageImport xmi:id="_MtGYgYO9EeG_L_irDJEzLg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_Nu0UMIO9EeG_L_irDJEzLg" name="Class2"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/.project b/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/.project
deleted file mode 100644
index cdddfd3d0ef..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>UpdateReferenceExample1</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.di b/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.di
deleted file mode 100644
index 02309394393..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_dEQI0IVMEeGqx-YhcHoOWQ"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_dEQI0IVMEeGqx-YhcHoOWQ"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.notation b/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.notation
deleted file mode 100644
index 4319a6559f5..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.notation
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_dEQI0IVMEeGqx-YhcHoOWQ" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_drBN4IVMEeGqx-YhcHoOWQ" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drDDEIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDEYVMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDEoVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDE4VMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDFIVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDFYVMEeGqx-YhcHoOWQ" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drGGYIVMEeGqx-YhcHoOWQ" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drGGYYVMEeGqx-YhcHoOWQ" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drGtcIVMEeGqx-YhcHoOWQ" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drGtcYVMEeGqx-YhcHoOWQ" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drGtcoVMEeGqx-YhcHoOWQ" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drGtc4VMEeGqx-YhcHoOWQ" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_drGtdIVMEeGqx-YhcHoOWQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_drHUgIVMEeGqx-YhcHoOWQ" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drThwIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drThwYVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_ej6kwIVMEeGqx-YhcHoOWQ" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ej7L0IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L0YVMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L0oVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L04VMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L1IVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model.uml#_ejsiUIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ej6kwYVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_3exN4IVOEeGnVq_yEqupLA" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3ex08IVOEeGnVq_yEqupLA" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex08YVOEeGnVq_yEqupLA" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex08oVOEeGnVq_yEqupLA" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex084VOEeGnVq_yEqupLA" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex09IVOEeGnVq_yEqupLA" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model.uml#_3dPj4IVOEeGnVq_yEqupLA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_3exN4YVOEeGnVq_yEqupLA"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_drHUgYVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_drHUgoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_drHUg4VMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drHUhIVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_drHUhYVMEeGqx-YhcHoOWQ" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drUI0IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drUI0YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_drHUhoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_drHUh4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_drHUiIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drHUiYVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_drHUioVMEeGqx-YhcHoOWQ" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drUv4IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drUv4YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_drHUi4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_drHUjIVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_drHUjYVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drHUjoVMEeGqx-YhcHoOWQ"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_dqxWQIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drBN4YVMEeGqx-YhcHoOWQ" x="549" y="216"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_fwCZoIVMEeGqx-YhcHoOWQ" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDAsIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDAsYVMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDAsoVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDAs4VMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnwIVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnwYVMEeGqx-YhcHoOWQ" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDnwoVMEeGqx-YhcHoOWQ" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnw4VMEeGqx-YhcHoOWQ" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDnxIVMEeGqx-YhcHoOWQ" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnxYVMEeGqx-YhcHoOWQ" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDnxoVMEeGqx-YhcHoOWQ" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwEO0IVMEeGqx-YhcHoOWQ" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_fwEO0YVMEeGqx-YhcHoOWQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fwEO0oVMEeGqx-YhcHoOWQ" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwE14IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwE14YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_fwEO04VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fwEO1IVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fwEO1YVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwEO1oVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fwEO14VMEeGqx-YhcHoOWQ" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwE14oVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwE144VMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_fwEO2IVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fwEO2YVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fwEO2oVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwEO24VMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fwEO3IVMEeGqx-YhcHoOWQ" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwE15IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwE15YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_fwEO3YVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fwEO3oVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fwEO34VMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwEO4IVMEeGqx-YhcHoOWQ"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_fwBLgIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwCZoYVMEeGqx-YhcHoOWQ" x="1007" y="150"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_gWt_IIVMEeGqx-YhcHoOWQ" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWt_IoVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWt_I4VMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumMIVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumMYVMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumMoVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumM4VMEeGqx-YhcHoOWQ" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWumNIVMEeGqx-YhcHoOWQ" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumNYVMEeGqx-YhcHoOWQ" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWumNoVMEeGqx-YhcHoOWQ" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWvNQIVMEeGqx-YhcHoOWQ" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWvNQYVMEeGqx-YhcHoOWQ" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWvNQoVMEeGqx-YhcHoOWQ" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_gWvNQ4VMEeGqx-YhcHoOWQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gWvNRIVMEeGqx-YhcHoOWQ" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWv0UIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWv0UYVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_gWvNRYVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gWvNRoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gWvNR4VMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWvNSIVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gWvNSYVMEeGqx-YhcHoOWQ" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWv0UoVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWv0U4VMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_gWvNSoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gWvNS4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gWvNTIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWvNTYVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gWvNToVMEeGqx-YhcHoOWQ" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWwbYIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWwbYYVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_gWvNT4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gWvNUIVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gWvNUYVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWvNUoVMEeGqx-YhcHoOWQ"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_gWsxAIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWt_IYVMEeGqx-YhcHoOWQ" x="1012" y="328"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_dEQI0YVMEeGqx-YhcHoOWQ"/>
- <element xmi:type="uml:Model" href="model.uml#_dD1SEIVMEeGqx-YhcHoOWQ"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.uml b/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.uml
deleted file mode 100644
index be66b60651a..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model.uml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_dD1SEIVMEeGqx-YhcHoOWQ" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_dqxWQIVMEeGqx-YhcHoOWQ" name="Class1">
- <ownedAttribute xmi:id="_ejsiUIVMEeGqx-YhcHoOWQ" name="Property1" visibility="public" type="_fwBLgIVMEeGqx-YhcHoOWQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_fAmgwIVMEeGqx-YhcHoOWQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_fAnH0IVMEeGqx-YhcHoOWQ" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_fAnu4IVMEeGqx-YhcHoOWQ">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- <ownedAttribute xmi:id="_3dPj4IVOEeGnVq_yEqupLA" name="Property2" visibility="public" type="_fwBLgIVMEeGqx-YhcHoOWQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_42ufUIVOEeGnVq_yEqupLA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_42vGYIVOEeGnVq_yEqupLA" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_42vtcIVOEeGnVq_yEqupLA">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_fwBLgIVMEeGqx-YhcHoOWQ" name="type1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_gWsxAIVMEeGqx-YhcHoOWQ" name="type2"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.di b/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.di
deleted file mode 100644
index 72ed51bb0ee..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_dEQI0IVMEeGqx-YhcHoOWQ"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_dEQI0IVMEeGqx-YhcHoOWQ"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.notation b/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.notation
deleted file mode 100644
index b8b934ff8fd..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.notation
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_dEQI0IVMEeGqx-YhcHoOWQ" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_drBN4IVMEeGqx-YhcHoOWQ" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drDDEIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDEYVMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDEoVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDE4VMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDFIVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drDDFYVMEeGqx-YhcHoOWQ" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drGGYIVMEeGqx-YhcHoOWQ" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drGGYYVMEeGqx-YhcHoOWQ" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drGtcIVMEeGqx-YhcHoOWQ" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drGtcYVMEeGqx-YhcHoOWQ" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drGtcoVMEeGqx-YhcHoOWQ" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drGtc4VMEeGqx-YhcHoOWQ" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_drGtdIVMEeGqx-YhcHoOWQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_drHUgIVMEeGqx-YhcHoOWQ" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drThwIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drThwYVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_ej6kwIVMEeGqx-YhcHoOWQ" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ej7L0IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L0YVMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L0oVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L04VMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ej7L1IVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model2.uml#_ejsiUIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ej6kwYVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_3exN4IVOEeGnVq_yEqupLA" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3ex08IVOEeGnVq_yEqupLA" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex08YVOEeGnVq_yEqupLA" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex08oVOEeGnVq_yEqupLA" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex084VOEeGnVq_yEqupLA" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3ex09IVOEeGnVq_yEqupLA" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model2.uml#_3dPj4IVOEeGnVq_yEqupLA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_3exN4YVOEeGnVq_yEqupLA"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_drHUgYVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_drHUgoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_drHUg4VMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drHUhIVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_drHUhYVMEeGqx-YhcHoOWQ" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drUI0IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drUI0YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_drHUhoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_drHUh4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_drHUiIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drHUiYVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_drHUioVMEeGqx-YhcHoOWQ" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_drUv4IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_drUv4YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_drHUi4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_drHUjIVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_drHUjYVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drHUjoVMEeGqx-YhcHoOWQ"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_dqxWQIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_drBN4YVMEeGqx-YhcHoOWQ" x="549" y="216"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_fwCZoIVMEeGqx-YhcHoOWQ" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDAsIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDAsYVMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDAsoVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDAs4VMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnwIVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnwYVMEeGqx-YhcHoOWQ" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDnwoVMEeGqx-YhcHoOWQ" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnw4VMEeGqx-YhcHoOWQ" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDnxIVMEeGqx-YhcHoOWQ" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwDnxYVMEeGqx-YhcHoOWQ" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwDnxoVMEeGqx-YhcHoOWQ" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwEO0IVMEeGqx-YhcHoOWQ" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_fwEO0YVMEeGqx-YhcHoOWQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fwEO0oVMEeGqx-YhcHoOWQ" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwE14IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwE14YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_fwEO04VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fwEO1IVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fwEO1YVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwEO1oVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fwEO14VMEeGqx-YhcHoOWQ" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwE14oVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwE144VMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_fwEO2IVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fwEO2YVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fwEO2oVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwEO24VMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fwEO3IVMEeGqx-YhcHoOWQ" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fwE15IVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fwE15YVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_fwEO3YVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fwEO3oVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fwEO34VMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwEO4IVMEeGqx-YhcHoOWQ"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_fwBLgIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fwCZoYVMEeGqx-YhcHoOWQ" x="1007" y="150"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_gWt_IIVMEeGqx-YhcHoOWQ" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWt_IoVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWt_I4VMEeGqx-YhcHoOWQ" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumMIVMEeGqx-YhcHoOWQ" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumMYVMEeGqx-YhcHoOWQ" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumMoVMEeGqx-YhcHoOWQ" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumM4VMEeGqx-YhcHoOWQ" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWumNIVMEeGqx-YhcHoOWQ" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWumNYVMEeGqx-YhcHoOWQ" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWumNoVMEeGqx-YhcHoOWQ" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWvNQIVMEeGqx-YhcHoOWQ" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWvNQYVMEeGqx-YhcHoOWQ" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWvNQoVMEeGqx-YhcHoOWQ" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_gWvNQ4VMEeGqx-YhcHoOWQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gWvNRIVMEeGqx-YhcHoOWQ" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWv0UIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWv0UYVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_gWvNRYVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gWvNRoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gWvNR4VMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWvNSIVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gWvNSYVMEeGqx-YhcHoOWQ" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWv0UoVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWv0U4VMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_gWvNSoVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gWvNS4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gWvNTIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWvNTYVMEeGqx-YhcHoOWQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gWvNToVMEeGqx-YhcHoOWQ" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gWwbYIVMEeGqx-YhcHoOWQ" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gWwbYYVMEeGqx-YhcHoOWQ" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_gWvNT4VMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gWvNUIVMEeGqx-YhcHoOWQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gWvNUYVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWvNUoVMEeGqx-YhcHoOWQ"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_gWsxAIVMEeGqx-YhcHoOWQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gWt_IYVMEeGqx-YhcHoOWQ" x="1012" y="328"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_dEQI0YVMEeGqx-YhcHoOWQ"/>
- <element xmi:type="uml:Model" href="model2.uml#_dD1SEIVMEeGqx-YhcHoOWQ"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.uml b/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.uml
deleted file mode 100644
index d05d221850e..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample1/model2.uml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_dD1SEIVMEeGqx-YhcHoOWQ" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_dqxWQIVMEeGqx-YhcHoOWQ" name="Class1">
- <ownedAttribute xmi:id="_ejsiUIVMEeGqx-YhcHoOWQ" name="Property1" visibility="public" type="_fwBLgIVMEeGqx-YhcHoOWQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_fAmgwIVMEeGqx-YhcHoOWQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_fAnH0IVMEeGqx-YhcHoOWQ" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_fAnu4IVMEeGqx-YhcHoOWQ">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- <ownedAttribute xmi:id="_3dPj4IVOEeGnVq_yEqupLA" name="Property2" visibility="public">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_42ufUIVOEeGnVq_yEqupLA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_42vGYIVOEeGnVq_yEqupLA" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_42vtcIVOEeGnVq_yEqupLA">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_fwBLgIVMEeGqx-YhcHoOWQ" name="type1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_gWsxAIVMEeGqx-YhcHoOWQ" name="type2"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/.project b/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/.project
deleted file mode 100644
index 3cd91eaeb45..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>UpdateReferenceExample2</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.di b/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.di
deleted file mode 100644
index e24d7512d57..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_6QfEwZQ6EeG7PMZb4X52yw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_6QfEwZQ6EeG7PMZb4X52yw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.notation b/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.notation
deleted file mode 100644
index 21270adefe1..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.notation
+++ /dev/null
@@ -1,159 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6QfEwZQ6EeG7PMZb4X52yw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_66wJwJQ6EeG7PMZb4X52yw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJwpQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJw5Q6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJxJQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJxZQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJxpQ6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJx5Q6EeG7PMZb4X52yw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJyJQ6EeG7PMZb4X52yw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJyZQ6EeG7PMZb4X52yw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJypQ6EeG7PMZb4X52yw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJy5Q6EeG7PMZb4X52yw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJzJQ6EeG7PMZb4X52yw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJzZQ6EeG7PMZb4X52yw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_66wJzpQ6EeG7PMZb4X52yw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_66wJz5Q6EeG7PMZb4X52yw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJ3pQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJ35Q6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_-Gyn8JQ6EeG7PMZb4X52yw" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-Gyn8pQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn85Q6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn9JQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn9ZQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn9pQ6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model.uml#_-Go28JQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_-Gyn8ZQ6EeG7PMZb4X52yw"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_66wJ0JQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_66wJ0ZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_66wJ0pQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJ05Q6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_66wJ1JQ6EeG7PMZb4X52yw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJ4JQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJ4ZQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_66wJ1ZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_66wJ1pQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_66wJ15Q6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJ2JQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_66wJ2ZQ6EeG7PMZb4X52yw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJ4pQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJ45Q6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_66wJ2pQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_66wJ25Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_66wJ3JQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJ3ZQ6EeG7PMZb4X52yw"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_652x4JQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJwZQ6EeG7PMZb4X52yw" x="203" y="82"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_7nGSYZQ6EeG7PMZb4X52yw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSY5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZJQ6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZZQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZpQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZ5Q6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSaJQ6EeG7PMZb4X52yw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSaZQ6EeG7PMZb4X52yw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSapQ6EeG7PMZb4X52yw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSa5Q6EeG7PMZb4X52yw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSbJQ6EeG7PMZb4X52yw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSbZQ6EeG7PMZb4X52yw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSbpQ6EeG7PMZb4X52yw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_7nGSb5Q6EeG7PMZb4X52yw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7nGScJQ6EeG7PMZb4X52yw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSf5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSgJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_7nGScZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7nGScpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7nGSc5Q6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSdJQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7nGSdZQ6EeG7PMZb4X52yw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSgZQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSgpQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_7nGSdpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7nGSd5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7nGSeJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSeZQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7nGSepQ6EeG7PMZb4X52yw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSg5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGShJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_7nGSe5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7nGSfJQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7nGSfZQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSfpQ6EeG7PMZb4X52yw"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_7nGSYJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSYpQ6EeG7PMZb4X52yw" x="674" y="109"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_70ywIZQ6EeG7PMZb4X52yw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywI5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJJQ6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJZQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJpQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJ5Q6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywKJQ6EeG7PMZb4X52yw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywKZQ6EeG7PMZb4X52yw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywKpQ6EeG7PMZb4X52yw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywK5Q6EeG7PMZb4X52yw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywLJQ6EeG7PMZb4X52yw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywLZQ6EeG7PMZb4X52yw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywLpQ6EeG7PMZb4X52yw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_70ywL5Q6EeG7PMZb4X52yw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_70ywMJQ6EeG7PMZb4X52yw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywP5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywQJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_70ywMZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_70ywMpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_70ywM5Q6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywNJQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_70ywNZQ6EeG7PMZb4X52yw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywQZQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywQpQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_70ywNpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_70ywN5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_70ywOJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywOZQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_70ywOpQ6EeG7PMZb4X52yw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywQ5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywRJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_70ywO5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_70ywPJQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_70ywPZQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywPpQ6EeG7PMZb4X52yw"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_70ywIJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywIpQ6EeG7PMZb4X52yw" x="914" y="318"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_6QfEwpQ6EeG7PMZb4X52yw"/>
- <element xmi:type="uml:Model" href="model.uml#_6QfEwJQ6EeG7PMZb4X52yw"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.uml b/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.uml
deleted file mode 100644
index b4f635cab64..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model.uml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6QfEwJQ6EeG7PMZb4X52yw" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_652x4JQ6EeG7PMZb4X52yw" name="Class1">
- <ownedAttribute xmi:id="_-Go28JQ6EeG7PMZb4X52yw" name="Property1" visibility="public" type="_7nGSYJQ6EeG7PMZb4X52yw">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__tccsJQ6EeG7PMZb4X52yw" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__tccsZQ6EeG7PMZb4X52yw" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="__tccspQ6EeG7PMZb4X52yw">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_7nGSYJQ6EeG7PMZb4X52yw" name="type1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_70ywIJQ6EeG7PMZb4X52yw" name="type2"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.di b/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.di
deleted file mode 100644
index 58f7e82184a..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_6QfEwZQ6EeG7PMZb4X52yw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_6QfEwZQ6EeG7PMZb4X52yw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.notation b/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.notation
deleted file mode 100644
index 0c0307ee5f8..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.notation
+++ /dev/null
@@ -1,159 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6QfEwZQ6EeG7PMZb4X52yw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_66wJwJQ6EeG7PMZb4X52yw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJwpQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJw5Q6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJxJQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJxZQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJxpQ6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJx5Q6EeG7PMZb4X52yw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJyJQ6EeG7PMZb4X52yw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJyZQ6EeG7PMZb4X52yw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJypQ6EeG7PMZb4X52yw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJy5Q6EeG7PMZb4X52yw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJzJQ6EeG7PMZb4X52yw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJzZQ6EeG7PMZb4X52yw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_66wJzpQ6EeG7PMZb4X52yw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_66wJz5Q6EeG7PMZb4X52yw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJ3pQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJ35Q6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_-Gyn8JQ6EeG7PMZb4X52yw" type="3012" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-Gyn8pQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn85Q6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn9JQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn9ZQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-Gyn9pQ6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- </eAnnotations>
- <element xmi:type="uml:Property" href="model2.uml#_-Go28JQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_-Gyn8ZQ6EeG7PMZb4X52yw"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_66wJ0JQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_66wJ0ZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_66wJ0pQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJ05Q6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_66wJ1JQ6EeG7PMZb4X52yw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJ4JQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJ4ZQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_66wJ1ZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_66wJ1pQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_66wJ15Q6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJ2JQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_66wJ2ZQ6EeG7PMZb4X52yw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_66wJ4pQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_66wJ45Q6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_66wJ2pQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_66wJ25Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_66wJ3JQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJ3ZQ6EeG7PMZb4X52yw"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_652x4JQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_66wJwZQ6EeG7PMZb4X52yw" x="203" y="82"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_7nGSYZQ6EeG7PMZb4X52yw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSY5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZJQ6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZZQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZpQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSZ5Q6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSaJQ6EeG7PMZb4X52yw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSaZQ6EeG7PMZb4X52yw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSapQ6EeG7PMZb4X52yw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSa5Q6EeG7PMZb4X52yw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSbJQ6EeG7PMZb4X52yw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSbZQ6EeG7PMZb4X52yw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSbpQ6EeG7PMZb4X52yw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_7nGSb5Q6EeG7PMZb4X52yw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7nGScJQ6EeG7PMZb4X52yw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSf5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSgJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_7nGScZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7nGScpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7nGSc5Q6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSdJQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7nGSdZQ6EeG7PMZb4X52yw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSgZQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGSgpQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_7nGSdpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7nGSd5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7nGSeJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSeZQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7nGSepQ6EeG7PMZb4X52yw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7nGSg5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7nGShJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_7nGSe5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7nGSfJQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7nGSfZQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSfpQ6EeG7PMZb4X52yw"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_7nGSYJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7nGSYpQ6EeG7PMZb4X52yw" x="674" y="109"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_70ywIZQ6EeG7PMZb4X52yw" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywI5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJJQ6EeG7PMZb4X52yw" key="fontHeight" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJZQ6EeG7PMZb4X52yw" key="bold" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJpQ6EeG7PMZb4X52yw" key="italic" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywJ5Q6EeG7PMZb4X52yw" key="fontColor" value="true"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywKJQ6EeG7PMZb4X52yw" key="fillColor" value="true"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywKZQ6EeG7PMZb4X52yw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywKpQ6EeG7PMZb4X52yw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywK5Q6EeG7PMZb4X52yw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywLJQ6EeG7PMZb4X52yw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywLZQ6EeG7PMZb4X52yw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywLpQ6EeG7PMZb4X52yw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_70ywL5Q6EeG7PMZb4X52yw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_70ywMJQ6EeG7PMZb4X52yw" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywP5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywQJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_70ywMZQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_70ywMpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_70ywM5Q6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywNJQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_70ywNZQ6EeG7PMZb4X52yw" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywQZQ6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywQpQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_70ywNpQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_70ywN5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_70ywOJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywOZQ6EeG7PMZb4X52yw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_70ywOpQ6EeG7PMZb4X52yw" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_70ywQ5Q6EeG7PMZb4X52yw" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_70ywRJQ6EeG7PMZb4X52yw" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_70ywO5Q6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_70ywPJQ6EeG7PMZb4X52yw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_70ywPZQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywPpQ6EeG7PMZb4X52yw"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_70ywIJQ6EeG7PMZb4X52yw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_70ywIpQ6EeG7PMZb4X52yw" x="914" y="318"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_6QfEwpQ6EeG7PMZb4X52yw"/>
- <element xmi:type="uml:Model" href="model2.uml#_6QfEwJQ6EeG7PMZb4X52yw"/>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.uml b/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.uml
deleted file mode 100644
index 468a1b87fa1..00000000000
--- a/sandbox/UMLCompareMergerExample/UpdateReferenceExample2/model2.uml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_6QfEwJQ6EeG7PMZb4X52yw" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_652x4JQ6EeG7PMZb4X52yw" name="Class1">
- <ownedAttribute xmi:id="_-Go28JQ6EeG7PMZb4X52yw" name="Property1" visibility="public" type="_70ywIJQ6EeG7PMZb4X52yw">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__tccsJQ6EeG7PMZb4X52yw" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__tccsZQ6EeG7PMZb4X52yw" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="__tccspQ6EeG7PMZb4X52yw">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_7nGSYJQ6EeG7PMZb4X52yw" name="type1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_70ywIJQ6EeG7PMZb4X52yw" name="type2"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/generalization/.project b/sandbox/UMLCompareMergerExample/generalization/.project
deleted file mode 100644
index 4d52da4a114..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>generalization</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/generalization/left.di b/sandbox/UMLCompareMergerExample/generalization/left.di
deleted file mode 100644
index eb15833ff77..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization/left.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="left.notation#_FQXksL9nEeGcX795R_wLEg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="left.notation#_FQXksL9nEeGcX795R_wLEg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/generalization/left.notation b/sandbox/UMLCompareMergerExample/generalization/left.notation
deleted file mode 100644
index 0fa130e8aab..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization/left.notation
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_FQXksL9nEeGcX795R_wLEg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_JUI8IL9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_JUI8Ir9nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_JUI8I79nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JUloEL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JUloEb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_Mr3s8b9nEeGcX795R_wLEg" type="3012">
- <element xmi:type="uml:Property" href="left.uml#_Mr3s8L9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Mr3s8r9nEeGcX795R_wLEg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_JUI8JL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_JUI8Jb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_JUI8Jr9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8J79nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_JUI8KL9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JUloEr9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JUloE79nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_JUI8Kb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_JUI8Kr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_JUI8K79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8LL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_JUI8Lb9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JUloFL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JUloFb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_JUI8Lr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_JUI8L79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_JUI8ML9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8Mb9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="left.uml#_JTZVQL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8Ib9nEeGcX795R_wLEg" x="319" y="120"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_KYR5sL9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_KYuloL9nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KYulob9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KYulsL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KYulsb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KYulor9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KYulo79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KYulpL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYulpb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KYulpr9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KYulsr9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KYuls79nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KYulp79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KYulqL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KYulqb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYulqr9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KYulq79nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KYultL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KYultb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KYulrL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KYulrb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KYulrr9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYulr79nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="left.uml#_KX--wL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYR5sb9nEeGcX795R_wLEg" x="73" y="420"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_KoWWAb9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_KoWWA79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KoWWBL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KoWWE79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KogHAL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_PgeikL9nEeGcX795R_wLEg" type="3012">
- <element xmi:type="uml:Property" href="left.uml#_Mr3s8L9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Pgeikb9nEeGcX795R_wLEg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KoWWBb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KoWWBr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KoWWB79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWCL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KoWWCb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KogHAb9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KogHAr9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KoWWCr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KoWWC79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KoWWDL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWDb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KoWWDr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KogHA79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KogHBL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KoWWD79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KoWWEL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KoWWEb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWEr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="left.uml#_KoWWAL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWAr9nEeGcX795R_wLEg" x="593" y="455"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_FQXksb9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Model" href="left.uml#_FO4W8L9nEeGcX795R_wLEg"/>
- <edges xmi:type="notation:Connector" xmi:id="_LUPLoL9nEeGcX795R_wLEg" type="4002" source="_KoWWAb9nEeGcX795R_wLEg" target="_JUI8IL9nEeGcX795R_wLEg">
- <children xmi:type="notation:DecorationNode" xmi:id="_LUPLo79nEeGcX795R_wLEg" type="6007">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_LUPLpL9nEeGcX795R_wLEg" y="40"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_LUPLob9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Generalization" href="left.uml#_LTC40L9nEeGcX795R_wLEg"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LUPLor9nEeGcX795R_wLEg" points="[-10, -11, 224, 256]$[-221, -246, 13, 21]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LVRtcL9nEeGcX795R_wLEg" id="(0.29,0.11)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LVRtcb9nEeGcX795R_wLEg" id="(0.69,0.79)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/generalization/left.uml b/sandbox/UMLCompareMergerExample/generalization/left.uml
deleted file mode 100644
index 330a163470c..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization/left.uml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_FO4W8L9nEeGcX795R_wLEg" name="Model">
- <packageImport xmi:id="_FO4W8b9nEeGcX795R_wLEg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_JTZVQL9nEeGcX795R_wLEg" name="Class1">
- <ownedAttribute xmi:id="_Mr3s8L9nEeGcX795R_wLEg" name="Property1" visibility="public">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_NZ_XML9nEeGcX795R_wLEg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_NZ_XMb9nEeGcX795R_wLEg" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_NZ_XMr9nEeGcX795R_wLEg">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_KX--wL9nEeGcX795R_wLEg" name="Class2"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_KoWWAL9nEeGcX795R_wLEg" name="Class3">
- <generalization xmi:id="_LTC40L9nEeGcX795R_wLEg" general="_JTZVQL9nEeGcX795R_wLEg"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/generalization/right.di b/sandbox/UMLCompareMergerExample/generalization/right.di
deleted file mode 100644
index 01856ba4999..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization/right.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="right.notation#_FQXksL9nEeGcX795R_wLEg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="right.notation#_FQXksL9nEeGcX795R_wLEg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/generalization/right.notation b/sandbox/UMLCompareMergerExample/generalization/right.notation
deleted file mode 100644
index f4eb1f328c2..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization/right.notation
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_FQXksL9nEeGcX795R_wLEg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_JUI8IL9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_JUI8Ir9nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_JUI8I79nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JUloEL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JUloEb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_Mr3s8b9nEeGcX795R_wLEg" type="3012">
- <element xmi:type="uml:Property" href="right.uml#_Mr3s8L9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Mr3s8r9nEeGcX795R_wLEg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_JUI8JL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_JUI8Jb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_JUI8Jr9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8J79nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_JUI8KL9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JUloEr9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JUloE79nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_JUI8Kb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_JUI8Kr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_JUI8K79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8LL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_JUI8Lb9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JUloFL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JUloFb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_JUI8Lr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_JUI8L79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_JUI8ML9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8Mb9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="right.uml#_JTZVQL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JUI8Ib9nEeGcX795R_wLEg" x="319" y="120"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_KYR5sL9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_KYuloL9nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KYulob9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KYulsL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KYulsb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KYulor9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KYulo79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KYulpL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYulpb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KYulpr9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KYulsr9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KYuls79nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KYulp79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KYulqL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KYulqb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYulqr9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KYulq79nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KYultL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KYultb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KYulrL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KYulrb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KYulrr9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYulr79nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="right.uml#_KX--wL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KYR5sb9nEeGcX795R_wLEg" x="73" y="420"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_KoWWAb9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_KoWWA79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KoWWBL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KoWWE79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KogHAL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KoWWBb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KoWWBr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KoWWB79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWCL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KoWWCb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KogHAb9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KogHAr9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KoWWCr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KoWWC79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KoWWDL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWDb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KoWWDr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KogHA79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_KogHBL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KoWWD79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KoWWEL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KoWWEb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWEr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="right.uml#_KoWWAL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KoWWAr9nEeGcX795R_wLEg" x="593" y="455"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_FQXksb9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Model" href="right.uml#_FO4W8L9nEeGcX795R_wLEg"/>
- <edges xmi:type="notation:Connector" xmi:id="_LUPLoL9nEeGcX795R_wLEg" type="4002" source="_KYR5sL9nEeGcX795R_wLEg" target="_JUI8IL9nEeGcX795R_wLEg">
- <children xmi:type="notation:DecorationNode" xmi:id="_LUPLo79nEeGcX795R_wLEg" type="6007">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_LUPLpL9nEeGcX795R_wLEg" y="40"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_LUPLob9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Generalization" href="right.uml#_LTC40L9nEeGcX795R_wLEg"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LUPLor9nEeGcX795R_wLEg" points="[-10, -11, 224, 256]$[-221, -246, 13, 21]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LVRtcL9nEeGcX795R_wLEg" id="(0.46,0.09)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LVRtcb9nEeGcX795R_wLEg" id="(0.69,0.79)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/generalization/right.uml b/sandbox/UMLCompareMergerExample/generalization/right.uml
deleted file mode 100644
index c03324aca85..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization/right.uml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_FO4W8L9nEeGcX795R_wLEg" name="Model">
- <packageImport xmi:id="_FO4W8b9nEeGcX795R_wLEg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_JTZVQL9nEeGcX795R_wLEg" name="Class1">
- <ownedAttribute xmi:id="_Mr3s8L9nEeGcX795R_wLEg" name="Property1" visibility="public">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_NZ_XML9nEeGcX795R_wLEg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_NZ_XMb9nEeGcX795R_wLEg" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_NZ_XMr9nEeGcX795R_wLEg">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_KX--wL9nEeGcX795R_wLEg" name="Class2">
- <generalization xmi:id="_LTC40L9nEeGcX795R_wLEg" general="_JTZVQL9nEeGcX795R_wLEg"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_KoWWAL9nEeGcX795R_wLEg" name="Class3"/>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/generalization_target/.project b/sandbox/UMLCompareMergerExample/generalization_target/.project
deleted file mode 100644
index 55370c62597..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization_target/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>generalization_target</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/UMLCompareMergerExample/generalization_target/left.di b/sandbox/UMLCompareMergerExample/generalization_target/left.di
deleted file mode 100644
index b651dd8821a..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization_target/left.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="left.notation#_7soIIL9nEeGcX795R_wLEg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="left.notation#_7soIIL9nEeGcX795R_wLEg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/generalization_target/left.notation b/sandbox/UMLCompareMergerExample/generalization_target/left.notation
deleted file mode 100644
index ca25e9c976e..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization_target/left.notation
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_7soIIL9nEeGcX795R_wLEg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_9m7Rob9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_9m7Ro79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_9m7RpL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9m7Rs79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9m7RtL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_ATzuob9oEeGcX795R_wLEg" type="3012">
- <element xmi:type="uml:Property" href="left.uml#_ATzuoL9oEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ATzuor9oEeGcX795R_wLEg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_9m7Rpb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_9m7Rpr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9m7Rp79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7RqL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_9m7Rqb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9m7Rtb9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9m7Rtr9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_9m7Rqr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_9m7Rq79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9m7RrL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7Rrb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_9m7Rrr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9m7Rt79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9m7RuL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_9m7Rr79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_9m7RsL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9m7Rsb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7Rsr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="left.uml#_9m7RoL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7Ror9nEeGcX795R_wLEg" x="202" y="150"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_98zbAb9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_98zbA79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_98zbBL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_98zbE79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_988k8L9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_98zbBb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_98zbBr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_98zbB79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbCL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_98zbCb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_988k8b9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_988k8r9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_98zbCr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_98zbC79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_98zbDL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbDb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_98zbDr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_988k879nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_988k9L9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_98zbD79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_98zbEL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_98zbEb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbEr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="left.uml#_98zbAL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbAr9nEeGcX795R_wLEg" x="579" y="164"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_-Q40ob9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_-Q40o79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_-Q40pL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-RB-kL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-RB-kb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_BzxFgL9oEeGcX795R_wLEg" type="3012">
- <element xmi:type="uml:Property" href="left.uml#_ATzuoL9oEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_BzxFgb9oEeGcX795R_wLEg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_-Q40pb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_-Q40pr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_-Q40p79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40qL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_-Q40qb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-RB-kr9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-RB-k79nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_-Q40qr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_-Q40q79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_-Q40rL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40rb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_-Q40rr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-RB-lL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-RB-lb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_-Q40r79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_-Q40sL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_-Q40sb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40sr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="left.uml#_-Q40oL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40or9nEeGcX795R_wLEg" x="370" y="457"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_7soIIb9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Model" href="left.uml#_7se-dL9nEeGcX795R_wLEg"/>
- <edges xmi:type="notation:Connector" xmi:id="__R5lsb9nEeGcX795R_wLEg" type="4002" source="_-Q40ob9nEeGcX795R_wLEg" target="_9m7Rob9nEeGcX795R_wLEg">
- <children xmi:type="notation:DecorationNode" xmi:id="__R5ltL9nEeGcX795R_wLEg" type="6007">
- <layoutConstraint xmi:type="notation:Location" xmi:id="__R5ltb9nEeGcX795R_wLEg" y="40"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="__R5lsr9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Generalization" href="left.uml#__R5lsL9nEeGcX795R_wLEg"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__R5ls79nEeGcX795R_wLEg" points="[-10, -16, 164, 257]$[-129, -223, 45, 50]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__SDWsL9nEeGcX795R_wLEg" id="(0.56,0.16)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/generalization_target/left.uml b/sandbox/UMLCompareMergerExample/generalization_target/left.uml
deleted file mode 100644
index f7708f879d0..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization_target/left.uml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_7se-dL9nEeGcX795R_wLEg" name="Model">
- <packageImport xmi:id="_7se-db9nEeGcX795R_wLEg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_9m7RoL9nEeGcX795R_wLEg" name="Class1">
- <ownedAttribute xmi:id="_ATzuoL9oEeGcX795R_wLEg" name="Property1" visibility="public">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_AzDPYL9oEeGcX795R_wLEg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_AzDPYb9oEeGcX795R_wLEg" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_AzDPYr9oEeGcX795R_wLEg">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_98zbAL9nEeGcX795R_wLEg" name="Class2"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_-Q40oL9nEeGcX795R_wLEg" name="Class3">
- <generalization xmi:id="__R5lsL9nEeGcX795R_wLEg" general="_9m7RoL9nEeGcX795R_wLEg"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/UMLCompareMergerExample/generalization_target/right.di b/sandbox/UMLCompareMergerExample/generalization_target/right.di
deleted file mode 100644
index ce7bee31c9a..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization_target/right.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="right.notation#_7soIIL9nEeGcX795R_wLEg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="right.notation#_7soIIL9nEeGcX795R_wLEg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/UMLCompareMergerExample/generalization_target/right.notation b/sandbox/UMLCompareMergerExample/generalization_target/right.notation
deleted file mode 100644
index 3684934383a..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization_target/right.notation
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_7soIIL9nEeGcX795R_wLEg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_9m7Rob9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_9m7Ro79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_9m7RpL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9m7Rs79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9m7RtL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <children xmi:type="notation:Shape" xmi:id="_ATzuob9oEeGcX795R_wLEg" type="3012">
- <element xmi:type="uml:Property" href="right.uml#_ATzuoL9oEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ATzuor9oEeGcX795R_wLEg"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_9m7Rpb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_9m7Rpr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9m7Rp79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7RqL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_9m7Rqb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9m7Rtb9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9m7Rtr9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_9m7Rqr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_9m7Rq79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9m7RrL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7Rrb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_9m7Rrr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_9m7Rt79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9m7RuL9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_9m7Rr79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_9m7RsL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_9m7Rsb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7Rsr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="right.uml#_9m7RoL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9m7Ror9nEeGcX795R_wLEg" x="202" y="150"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_98zbAb9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_98zbA79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_98zbBL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_98zbE79nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_988k8L9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_98zbBb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_98zbBr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_98zbB79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbCL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_98zbCb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_988k8b9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_988k8r9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_98zbCr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_98zbC79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_98zbDL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbDb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_98zbDr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_988k879nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_988k9L9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_98zbD79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_98zbEL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_98zbEb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbEr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="right.uml#_98zbAL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_98zbAr9nEeGcX795R_wLEg" x="579" y="164"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_-Q40ob9nEeGcX795R_wLEg" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_-Q40o79nEeGcX795R_wLEg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_-Q40pL9nEeGcX795R_wLEg" type="7017">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-RB-kL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-RB-kb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_-Q40pb9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_-Q40pr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_-Q40p79nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40qL9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_-Q40qb9nEeGcX795R_wLEg" type="7018">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-RB-kr9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-RB-k79nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_-Q40qr9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_-Q40q79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_-Q40rL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40rb9nEeGcX795R_wLEg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_-Q40rr9nEeGcX795R_wLEg" type="7019">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-RB-lL9nEeGcX795R_wLEg" source="PapyrusCSSForceValue">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-RB-lb9nEeGcX795R_wLEg" key="showTitle" value="true"/>
- </eAnnotations>
- <styles xmi:type="notation:TitleStyle" xmi:id="_-Q40r79nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_-Q40sL9nEeGcX795R_wLEg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_-Q40sb9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40sr9nEeGcX795R_wLEg"/>
- </children>
- <element xmi:type="uml:Class" href="right.uml#_-Q40oL9nEeGcX795R_wLEg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Q40or9nEeGcX795R_wLEg" x="370" y="457"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_7soIIb9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Model" href="right.uml#_7se-dL9nEeGcX795R_wLEg"/>
- <edges xmi:type="notation:Connector" xmi:id="__R5lsb9nEeGcX795R_wLEg" type="4002" source="_-Q40ob9nEeGcX795R_wLEg" target="_98zbAb9nEeGcX795R_wLEg">
- <children xmi:type="notation:DecorationNode" xmi:id="__R5ltL9nEeGcX795R_wLEg" type="6007">
- <layoutConstraint xmi:type="notation:Location" xmi:id="__R5ltb9nEeGcX795R_wLEg" y="40"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="__R5lsr9nEeGcX795R_wLEg"/>
- <element xmi:type="uml:Generalization" href="right.uml#__R5lsL9nEeGcX795R_wLEg"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__R5ls79nEeGcX795R_wLEg" points="[-10, -16, 164, 257]$[-129, -223, 45, 50]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__SDWsL9nEeGcX795R_wLEg" id="(0.56,0.16)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HBw0YL9oEeGcX795R_wLEg" id="(0.48,0.89)"/>
- </edges>
-</notation:Diagram>
diff --git a/sandbox/UMLCompareMergerExample/generalization_target/right.uml b/sandbox/UMLCompareMergerExample/generalization_target/right.uml
deleted file mode 100644
index bed63164d4f..00000000000
--- a/sandbox/UMLCompareMergerExample/generalization_target/right.uml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_7se-dL9nEeGcX795R_wLEg" name="Model">
- <packageImport xmi:id="_7se-db9nEeGcX795R_wLEg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_9m7RoL9nEeGcX795R_wLEg" name="Class1">
- <ownedAttribute xmi:id="_ATzuoL9oEeGcX795R_wLEg" name="Property1" visibility="public">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_AzDPYL9oEeGcX795R_wLEg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_AzDPYb9oEeGcX795R_wLEg" value="1"/>
- <defaultValue xmi:type="uml:LiteralString" xmi:id="_AzDPYr9oEeGcX795R_wLEg">
- <value xsi:nil="true"/>
- </defaultValue>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_98zbAL9nEeGcX795R_wLEg" name="Class2"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_-Q40oL9nEeGcX795R_wLEg" name="Class3">
- <generalization xmi:id="__R5lsL9nEeGcX795R_wLEg" general="_98zbAL9nEeGcX795R_wLEg"/>
- </packagedElement>
-</uml:Model>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/.project
deleted file mode 100644
index c5177aadf26..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompare - AddStereotypeApplication</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/AddStereotypeApplication.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/AddStereotypeApplication.JPG
deleted file mode 100644
index ce1f2de6171..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/AddStereotypeApplication.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/EMFCompare13UML2Integration.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/EMFCompare13UML2Integration.JPG
deleted file mode 100644
index 64a68242e6f..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/EMFCompare13UML2Integration.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.di
deleted file mode 100644
index 4833ceb6016..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_IIRZ8Bd2EeG5fMdkwNwYjw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_IIRZ8Bd2EeG5fMdkwNwYjw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.notation
deleted file mode 100644
index 4814416e780..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.notation
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_IIRZ8Bd2EeG5fMdkwNwYjw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_I9B3sBd2EeG5fMdkwNwYjw" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_I9B3shd2EeG5fMdkwNwYjw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_I9B3sxd2EeG5fMdkwNwYjw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_I9B3tBd2EeG5fMdkwNwYjw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_I9B3tRd2EeG5fMdkwNwYjw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_I9B3thd2EeG5fMdkwNwYjw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_I9B3txd2EeG5fMdkwNwYjw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_I9B3uBd2EeG5fMdkwNwYjw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_I9B3uRd2EeG5fMdkwNwYjw" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_I9B3uhd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_I9B3uxd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_I9B3vBd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3vRd2EeG5fMdkwNwYjw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_I9B3vhd2EeG5fMdkwNwYjw" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_I9B3vxd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_I9B3wBd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_I9B3wRd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3whd2EeG5fMdkwNwYjw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_I9B3wxd2EeG5fMdkwNwYjw" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_I9B3xBd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_I9B3xRd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_I9B3xhd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3xxd2EeG5fMdkwNwYjw"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_I7FW8Bd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3sRd2EeG5fMdkwNwYjw" x="290" y="95" width="236" height="231"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_IIRZ8Rd2EeG5fMdkwNwYjw"/>
- <element xmi:type="uml:Model" href="model.uml#_IH0uABd2EeG5fMdkwNwYjw"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.uml
deleted file mode 100644
index 35b1b53a2cd..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model.uml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_IH0uABd2EeG5fMdkwNwYjw" name="Model">
- <packageImport xmi:id="_IH0uARd2EeG5fMdkwNwYjw">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_I7FW8Bd2EeG5fMdkwNwYjw" name="Class0"/>
- <profileApplication xmi:id="_LZfTEBd2EeG5fMdkwNwYjw">
- <eAnnotations xmi:id="_LaFI8Bd2EeG5fMdkwNwYjw" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
-</uml:Model>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.di
deleted file mode 100644
index 887fbf9a4df..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_IIRZ8Bd2EeG5fMdkwNwYjw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_IIRZ8Bd2EeG5fMdkwNwYjw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.notation
deleted file mode 100644
index 2b382c311e6..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_IIRZ8Bd2EeG5fMdkwNwYjw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_I9B3sBd2EeG5fMdkwNwYjw" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_I9B3shd2EeG5fMdkwNwYjw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_I9B3sxd2EeG5fMdkwNwYjw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_I9B3tBd2EeG5fMdkwNwYjw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_I9B3tRd2EeG5fMdkwNwYjw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_I9B3thd2EeG5fMdkwNwYjw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_I9B3txd2EeG5fMdkwNwYjw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_OWIqYBd2EeG5fMdkwNwYjw" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_OWIqYRd2EeG5fMdkwNwYjw" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_OWIqYhd2EeG5fMdkwNwYjw" key="StereotypeList" value="SysML::Requirements::Requirement"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_OWIqYxd2EeG5fMdkwNwYjw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_OWIqZBd2EeG5fMdkwNwYjw" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_OWIqZRd2EeG5fMdkwNwYjw" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_I9B3uBd2EeG5fMdkwNwYjw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_I9B3uRd2EeG5fMdkwNwYjw" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_I9B3uhd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_I9B3uxd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_I9B3vBd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3vRd2EeG5fMdkwNwYjw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_I9B3vhd2EeG5fMdkwNwYjw" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_I9B3vxd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_I9B3wBd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_I9B3wRd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3whd2EeG5fMdkwNwYjw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_I9B3wxd2EeG5fMdkwNwYjw" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_I9B3xBd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_I9B3xRd2EeG5fMdkwNwYjw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_I9B3xhd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3xxd2EeG5fMdkwNwYjw"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_I7FW8Bd2EeG5fMdkwNwYjw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I9B3sRd2EeG5fMdkwNwYjw" x="290" y="95" width="236" height="231"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_IIRZ8Rd2EeG5fMdkwNwYjw"/>
- <element xmi:type="uml:Model" href="model2.uml#_IH0uABd2EeG5fMdkwNwYjw"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.uml
deleted file mode 100644
index 7b7a4620c2b..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-AddStereotypeApplication/model2.uml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements">
- <uml:Model xmi:id="_IH0uABd2EeG5fMdkwNwYjw" name="Model">
- <packageImport xmi:id="_IH0uARd2EeG5fMdkwNwYjw">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_I7FW8Bd2EeG5fMdkwNwYjw" name="Class0"/>
- <profileApplication xmi:id="_LZfTEBd2EeG5fMdkwNwYjw">
- <eAnnotations xmi:id="_LaFI8Bd2EeG5fMdkwNwYjw" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <Requirements:Requirement xmi:id="_OV-5YBd2EeG5fMdkwNwYjw" base_Class="_I7FW8Bd2EeG5fMdkwNwYjw"/>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/.project
deleted file mode 100644
index 74e087ad2cc..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompare - CompareTwoElementDiffModel</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/CompareTwoElementDiffModel.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/CompareTwoElementDiffModel.JPG
deleted file mode 100644
index 175cb7ba538..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/CompareTwoElementDiffModel.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.di
deleted file mode 100644
index 5af7fe40c0a..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_y1pI0heAEeGdoqx8trNIOA"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_y1pI0heAEeGdoqx8trNIOA"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.notation
deleted file mode 100644
index fba0a2138a3..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.notation
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_y1pI0heAEeGdoqx8trNIOA" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_zuHo8ReAEeGdoqx8trNIOA" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zuHo8xeAEeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zuHo9BeAEeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zuHo9ReAEeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zuHo9heAEeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zuHo9xeAEeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zuHo-BeAEeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_zuHo-ReAEeGdoqx8trNIOA" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_zuHo-heAEeGdoqx8trNIOA" type="7017">
- <children xmi:type="notation:Shape" xmi:id="_2PWPkReAEeGdoqx8trNIOA" type="3012" fontHeight="8" lineColor="0">
- <element xmi:type="uml:Property" href="model.uml#_2PWPkBeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2PWPkheAEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_3BkWsBeAEeGdoqx8trNIOA" type="3012" fontHeight="8" lineColor="0">
- <element xmi:type="uml:Property" href="model.uml#_3BalsBeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_3BkWsReAEeGdoqx8trNIOA"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_zuHo-xeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_zuHo_BeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_zuHo_ReAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zuHo_heAEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_zuHo_xeAEeGdoqx8trNIOA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_zuHpABeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_zuHpAReAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_zuHpAheAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zuHpAxeAEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_zuHpBBeAEeGdoqx8trNIOA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_zuHpBReAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_zuHpBheAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_zuHpBxeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zuHpCBeAEeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_zuHo8BeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zuHo8heAEeGdoqx8trNIOA" x="135" y="85" width="391" height="281"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_7mhIkBeAEeGdoqx8trNIOA" type="2010" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7mhIkheAEeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7mhIkxeAEeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7mhIlBeAEeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7mhIlReAEeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7mhIlheAEeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7mhIlxeAEeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_7mhImBeAEeGdoqx8trNIOA" type="5035"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7mhImReAEeGdoqx8trNIOA" type="7020">
- <styles xmi:type="notation:TitleStyle" xmi:id="_7mhImheAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7mhImxeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7mhInBeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7mhInReAEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_7mhInheAEeGdoqx8trNIOA" type="7021">
- <styles xmi:type="notation:TitleStyle" xmi:id="_7mhInxeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_7mhIoBeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_7mhIoReAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7mhIoheAEeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:DataType" href="model.uml#_7mXXkBeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7mhIkReAEeGdoqx8trNIOA" x="825" y="85"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="__enbgBeAEeGdoqx8trNIOA" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__enbgReAEeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__enbgheAEeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__enbgxeAEeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__enbhBeAEeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__enbhReAEeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__enbhheAEeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="__enbhxeAEeGdoqx8trNIOA" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="__enbiBeAEeGdoqx8trNIOA" type="7017">
- <children xmi:type="notation:Shape" xmi:id="__enbiReAEeGdoqx8trNIOA" type="3012" fontHeight="8" lineColor="0">
- <element xmi:type="uml:Property" href="model.uml#__eBloReAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="__enbiheAEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="__enbixeAEeGdoqx8trNIOA" type="3012" fontHeight="8" lineColor="0">
- <element xmi:type="uml:Property" href="model.uml#__eBloheAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="__enbjBeAEeGdoqx8trNIOA"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="__enbjReAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="__enbjheAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="__enbjxeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__enbkBeAEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="__enbkReAEeGdoqx8trNIOA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="__enbkheAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="__enbkxeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="__enblBeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__enblReAEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="__enblheAEeGdoqx8trNIOA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="__enblxeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="__enbmBeAEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="__enbmReAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__enbmheAEeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#__eBloBeAEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="__enbmxeAEeGdoqx8trNIOA" x="575" y="290" width="391" height="281"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_ArW7cReBEeGdoqx8trNIOA" type="2010" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ArW7cxeBEeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ArW7dBeBEeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ArW7dReBEeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ArW7dheBEeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ArW7dxeBEeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ArW7eBeBEeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_ArW7eReBEeGdoqx8trNIOA" type="5035"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_ArW7eheBEeGdoqx8trNIOA" type="7020">
- <styles xmi:type="notation:TitleStyle" xmi:id="_ArW7exeBEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_ArW7fBeBEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_ArW7fReBEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ArW7fheBEeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_ArW7fxeBEeGdoqx8trNIOA" type="7021">
- <styles xmi:type="notation:TitleStyle" xmi:id="_ArW7gBeBEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_ArW7gReBEeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_ArW7gheBEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ArW7gxeBEeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:DataType" href="model.uml#_ArW7cBeBEeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ArW7cheBEeGdoqx8trNIOA" x="998" y="154"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_y1pI0xeAEeGdoqx8trNIOA"/>
- <element xmi:type="uml:Model" href="model.uml#_y1pI0BeAEeGdoqx8trNIOA"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.uml
deleted file mode 100644
index 87aed3a335f..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-CompareTwoElementDiffModel/model.uml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_y1pI0BeAEeGdoqx8trNIOA" name="Model">
- <packageImport xmi:id="_y1pI0ReAEeGdoqx8trNIOA">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_zuHo8BeAEeGdoqx8trNIOA" name="Class1">
- <ownedAttribute xmi:id="_2PWPkBeAEeGdoqx8trNIOA" name="Property0"/>
- <ownedAttribute xmi:id="_3BalsBeAEeGdoqx8trNIOA" name="Property1" type="_7mXXkBeAEeGdoqx8trNIOA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:DataType" xmi:id="_7mXXkBeAEeGdoqx8trNIOA" name="DataType0"/>
- <packagedElement xmi:type="uml:Class" xmi:id="__eBloBeAEeGdoqx8trNIOA" name="Copy_Of_Class1">
- <ownedAttribute xmi:id="__eBloReAEeGdoqx8trNIOA" name="Copy_Of_Property0"/>
- <ownedAttribute xmi:id="__eBloheAEeGdoqx8trNIOA" name="Copy_Of_Property1" type="_ArW7cBeBEeGdoqx8trNIOA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:DataType" xmi:id="_ArW7cBeBEeGdoqx8trNIOA" name="DataType1"/>
-</uml:Model>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/.project
deleted file mode 100644
index 07550dca5ba..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompare - RemoveStereotypeApplication</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/EMFCompare13UML2Integration.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/EMFCompare13UML2Integration.JPG
deleted file mode 100644
index b828707b9d9..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/EMFCompare13UML2Integration.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/RemoveStereotypeApplication.jpeg b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/RemoveStereotypeApplication.jpeg
deleted file mode 100644
index 623343a8457..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/RemoveStereotypeApplication.jpeg
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.di
deleted file mode 100644
index 0793e411e9d..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_HI5Z4BdxEeGxucMLIZ9VGg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_HI5Z4BdxEeGxucMLIZ9VGg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.notation
deleted file mode 100644
index 8c18235100e..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_HI5Z4BdxEeGxucMLIZ9VGg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_SRnawBdxEeGxucMLIZ9VGg" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SR6VsBdxEeGxucMLIZ9VGg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SR6VsRdxEeGxucMLIZ9VGg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SR6VshdxEeGxucMLIZ9VGg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SR6VsxdxEeGxucMLIZ9VGg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SR6VtBdxEeGxucMLIZ9VGg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SR6VtRdxEeGxucMLIZ9VGg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_c1heYBdxEeGxucMLIZ9VGg" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c1heYRdxEeGxucMLIZ9VGg" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c1heYhdxEeGxucMLIZ9VGg" key="StereotypeList" value="SysML::Requirements::Requirement"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c1heYxdxEeGxucMLIZ9VGg" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c1heZBdxEeGxucMLIZ9VGg" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c1heZRdxEeGxucMLIZ9VGg" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_SR6VthdxEeGxucMLIZ9VGg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_SR6VtxdxEeGxucMLIZ9VGg" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_SR6VuBdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_SR6VuRdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_SR6VuhdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SR6VuxdxEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_SSDfoBdxEeGxucMLIZ9VGg" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_SSDfoRdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_SSDfohdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_SSDfoxdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SSDfpBdxEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_SSDfpRdxEeGxucMLIZ9VGg" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_SSDfphdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_SSDfpxdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_SSDfqBdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SSDfqRdxEeGxucMLIZ9VGg"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_SRA90BdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SRnawRdxEeGxucMLIZ9VGg" x="125" y="75" width="386" height="326"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_HI5Z4RdxEeGxucMLIZ9VGg"/>
- <element xmi:type="uml:Model" href="model.uml#_HGzvMRdxEeGxucMLIZ9VGg"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.uml
deleted file mode 100644
index ba62298487f..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model.uml
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements">
- <uml:Model xmi:id="_HGzvMRdxEeGxucMLIZ9VGg" name="Model">
- <packageImport xmi:id="_HGzvMhdxEeGxucMLIZ9VGg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_SRA90BdxEeGxucMLIZ9VGg" name="Class0"/>
- <profileApplication xmi:id="_aI9xgBdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJHigBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJHigRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJRTgBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJRTgRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJadcBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJadcRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJkOcBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJkOcRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJt_cBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJt_cRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJt_chdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJt_cxdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJ3JYBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJ3JYRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKA6YBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aKA6YRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKA6YhdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aKA6YxdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKKEUBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aKKEURdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKKEUhdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <Requirements:Requirement xmi:id="_c1XtYBdxEeGxucMLIZ9VGg" base_Class="_SRA90BdxEeGxucMLIZ9VGg"/>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.di
deleted file mode 100644
index 26b71d87488..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_HI5Z4BdxEeGxucMLIZ9VGg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_HI5Z4BdxEeGxucMLIZ9VGg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.notation
deleted file mode 100644
index 04566a64d89..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_HI5Z4BdxEeGxucMLIZ9VGg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_SRnawBdxEeGxucMLIZ9VGg" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SR6VsBdxEeGxucMLIZ9VGg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SR6VsRdxEeGxucMLIZ9VGg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SR6VshdxEeGxucMLIZ9VGg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SR6VsxdxEeGxucMLIZ9VGg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SR6VtBdxEeGxucMLIZ9VGg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SR6VtRdxEeGxucMLIZ9VGg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_c1heYBdxEeGxucMLIZ9VGg" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hNqjUBdxEeGxucMLIZ9VGg" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hNqjURdxEeGxucMLIZ9VGg" key="StereotypeList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hNqjUhdxEeGxucMLIZ9VGg" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hNqjUxdxEeGxucMLIZ9VGg" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hNqjVBdxEeGxucMLIZ9VGg" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_SR6VthdxEeGxucMLIZ9VGg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_SR6VtxdxEeGxucMLIZ9VGg" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_SR6VuBdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_SR6VuRdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_SR6VuhdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SR6VuxdxEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_SSDfoBdxEeGxucMLIZ9VGg" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_SSDfoRdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_SSDfohdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_SSDfoxdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SSDfpBdxEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_SSDfpRdxEeGxucMLIZ9VGg" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_SSDfphdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_SSDfpxdxEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_SSDfqBdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SSDfqRdxEeGxucMLIZ9VGg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_SRA90BdxEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SRnawRdxEeGxucMLIZ9VGg" x="125" y="75" width="386" height="326"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_HI5Z4RdxEeGxucMLIZ9VGg"/>
- <element xmi:type="uml:Model" href="model2.uml#_HGzvMRdxEeGxucMLIZ9VGg"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.uml
deleted file mode 100644
index c716a7bbe92..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-RemoveStereotypeApplication/model2.uml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_HGzvMRdxEeGxucMLIZ9VGg" name="Model">
- <packageImport xmi:id="_HGzvMhdxEeGxucMLIZ9VGg">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_SRA90BdxEeGxucMLIZ9VGg" name="Class0"/>
- <profileApplication xmi:id="_aI9xgBdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJHigBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJHigRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJRTgBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJRTgRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJadcBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJadcRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJkOcBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJkOcRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJt_cBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJt_cRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJt_chdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJt_cxdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aJ3JYBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aJ3JYRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKA6YBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aKA6YRdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKA6YhdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aKA6YxdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKKEUBdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_aKKEURdxEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_aKKEUhdxEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
-</uml:Model>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/.project
deleted file mode 100644
index b839a280ccd..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompare - TaggedValueChangeLeftTarget</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/EMFCompare13UML2Integration.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/EMFCompare13UML2Integration.JPG
deleted file mode 100644
index 41a8ac56bb0..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/EMFCompare13UML2Integration.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/TaggedValueChangeLeftTarget.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/TaggedValueChangeLeftTarget.JPG
deleted file mode 100644
index 322b941bd97..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/TaggedValueChangeLeftTarget.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.di
deleted file mode 100644
index 1924e4ae5bd..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_uiQPwBd6EeGdoqx8trNIOA"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_uiQPwBd6EeGdoqx8trNIOA"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.notation
deleted file mode 100644
index 2ba3831812e..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_uiQPwBd6EeGdoqx8trNIOA" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_vEO7cRd6EeGdoqx8trNIOA" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_vEO7cxd6EeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_vEO7dBd6EeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_vEO7dRd6EeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_vEO7dhd6EeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_vEO7dxd6EeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_vEO7eBd6EeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_x3yBIBd6EeGdoqx8trNIOA" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBIRd6EeGdoqx8trNIOA" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBIhd6EeGdoqx8trNIOA" key="StereotypeList" value="SysML::ModelElements::ViewPoint"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBIxd6EeGdoqx8trNIOA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBJBd6EeGdoqx8trNIOA" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBJRd6EeGdoqx8trNIOA" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_vEO7eRd6EeGdoqx8trNIOA" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_vEO7ehd6EeGdoqx8trNIOA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_vEO7exd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_vEO7fBd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_vEO7fRd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7fhd6EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_vEO7fxd6EeGdoqx8trNIOA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_vEO7gBd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_vEO7gRd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_vEO7ghd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7gxd6EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_vEO7hBd6EeGdoqx8trNIOA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_vEO7hRd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_vEO7hhd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_vEO7hxd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7iBd6EeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_vEO7cBd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7chd6EeGdoqx8trNIOA" x="165" y="65" width="326" height="306"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_uiQPwRd6EeGdoqx8trNIOA"/>
- <element xmi:type="uml:Model" href="model.uml#_uh9U0Bd6EeGdoqx8trNIOA"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.uml
deleted file mode 100644
index 62f05d63ffb..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model.uml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ModelElements="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements">
- <uml:Model xmi:id="_uh9U0Bd6EeGdoqx8trNIOA" name="Model">
- <packageImport xmi:id="_uh9U0Rd6EeGdoqx8trNIOA">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_vEO7cBd6EeGdoqx8trNIOA" name="Class0"/>
- <profileApplication xmi:id="_xEYOQBd6EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_xFawEBd6EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <ModelElements:ViewPoint xmi:id="_x3o3MBd6EeGdoqx8trNIOA" base_Class="_vEO7cBd6EeGdoqx8trNIOA">
- <concerns>a1</concerns>
- <concerns>a2</concerns>
- <concerns>a3</concerns>
- <concerns>a4</concerns>
- </ModelElements:ViewPoint>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.di
deleted file mode 100644
index 2f61953f00e..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_uiQPwBd6EeGdoqx8trNIOA"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_uiQPwBd6EeGdoqx8trNIOA"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.notation
deleted file mode 100644
index 4d95570d116..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_uiQPwBd6EeGdoqx8trNIOA" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_vEO7cRd6EeGdoqx8trNIOA" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_vEO7cxd6EeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_vEO7dBd6EeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_vEO7dRd6EeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_vEO7dhd6EeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_vEO7dxd6EeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_vEO7eBd6EeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_x3yBIBd6EeGdoqx8trNIOA" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBIRd6EeGdoqx8trNIOA" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBIhd6EeGdoqx8trNIOA" key="StereotypeList" value="SysML::ModelElements::ViewPoint"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBIxd6EeGdoqx8trNIOA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBJBd6EeGdoqx8trNIOA" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_x3yBJRd6EeGdoqx8trNIOA" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_vEO7eRd6EeGdoqx8trNIOA" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_vEO7ehd6EeGdoqx8trNIOA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_vEO7exd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_vEO7fBd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_vEO7fRd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7fhd6EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_vEO7fxd6EeGdoqx8trNIOA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_vEO7gBd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_vEO7gRd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_vEO7ghd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7gxd6EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_vEO7hBd6EeGdoqx8trNIOA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_vEO7hRd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_vEO7hhd6EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_vEO7hxd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7iBd6EeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_vEO7cBd6EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vEO7chd6EeGdoqx8trNIOA" x="165" y="65" width="326" height="306"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_uiQPwRd6EeGdoqx8trNIOA"/>
- <element xmi:type="uml:Model" href="model2.uml#_uh9U0Bd6EeGdoqx8trNIOA"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.uml
deleted file mode 100644
index 0b6a9ee6450..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangeLeftTarget/model2.uml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ModelElements="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements">
- <uml:Model xmi:id="_uh9U0Bd6EeGdoqx8trNIOA" name="Model">
- <packageImport xmi:id="_uh9U0Rd6EeGdoqx8trNIOA">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_vEO7cBd6EeGdoqx8trNIOA" name="Class0"/>
- <profileApplication xmi:id="_xEYOQBd6EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_xFawEBd6EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <ModelElements:ViewPoint xmi:id="_x3o3MBd6EeGdoqx8trNIOA" base_Class="_vEO7cBd6EeGdoqx8trNIOA">
- <concerns>a1</concerns>
- <concerns>a2</concerns>
- </ModelElements:ViewPoint>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/.project
deleted file mode 100644
index cb0f2ab8e79..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompare - TaggedValueChangerRightTarget</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/EMFCompare13UML2Integration.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/EMFCompare13UML2Integration.JPG
deleted file mode 100644
index b5280f277f9..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/EMFCompare13UML2Integration.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/TaggedValueChangeRightTarget.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/TaggedValueChangeRightTarget.JPG
deleted file mode 100644
index 3735fc54387..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/TaggedValueChangeRightTarget.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.di
deleted file mode 100644
index 8b7ca06be27..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_0XjEoBd5EeGdoqx8trNIOA"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_0XjEoBd5EeGdoqx8trNIOA"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.notation
deleted file mode 100644
index 0c0971b05b9..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_0XjEoBd5EeGdoqx8trNIOA" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_0t5IERd5EeGdoqx8trNIOA" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0t5IExd5EeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0t5IFBd5EeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0t5IFRd5EeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0t5IFhd5EeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0t5IFxd5EeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0t5IGBd5EeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_2FEWYBd5EeGdoqx8trNIOA" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWYRd5EeGdoqx8trNIOA" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWYhd5EeGdoqx8trNIOA" key="StereotypeList" value="SysML::ModelElements::ViewPoint"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWYxd5EeGdoqx8trNIOA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWZBd5EeGdoqx8trNIOA" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWZRd5EeGdoqx8trNIOA" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_0t5IGRd5EeGdoqx8trNIOA" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_0t5IGhd5EeGdoqx8trNIOA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_0t5IGxd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_0t5IHBd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_0t5IHRd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IHhd5EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_0t5IHxd5EeGdoqx8trNIOA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_0t5IIBd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_0t5IIRd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_0t5IIhd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IIxd5EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_0t5IJBd5EeGdoqx8trNIOA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_0t5IJRd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_0t5IJhd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_0t5IJxd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IKBd5EeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_0t5IEBd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IEhd5EeGdoqx8trNIOA" x="120" y="120" width="401" height="316"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_0XjEoRd5EeGdoqx8trNIOA"/>
- <element xmi:type="uml:Model" href="model.uml#_UkZRgBd4EeG5fMdkwNwYjw"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.uml
deleted file mode 100644
index 03c182b74a3..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model.uml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ModelElements="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements">
- <uml:Model xmi:id="_UkZRgBd4EeG5fMdkwNwYjw" name="SysMLmodel">
- <packagedElement xmi:type="uml:Class" xmi:id="_0t5IEBd5EeGdoqx8trNIOA" name="Class0"/>
- <profileApplication xmi:id="_UnheABd4EeG5fMdkwNwYjw">
- <eAnnotations xmi:id="_UnheARd4EeG5fMdkwNwYjw" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <ModelElements:ViewPoint xmi:id="_2ExbcBd5EeGdoqx8trNIOA" base_Class="_0t5IEBd5EeGdoqx8trNIOA">
- <concerns>aa</concerns>
- <concerns>aaa</concerns>
- </ModelElements:ViewPoint>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.di
deleted file mode 100644
index 084f1787f10..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_0XjEoBd5EeGdoqx8trNIOA"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_0XjEoBd5EeGdoqx8trNIOA"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.notation
deleted file mode 100644
index 0c49095d778..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_0XjEoBd5EeGdoqx8trNIOA" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_0t5IERd5EeGdoqx8trNIOA" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0t5IExd5EeGdoqx8trNIOA" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0t5IFBd5EeGdoqx8trNIOA" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0t5IFRd5EeGdoqx8trNIOA" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0t5IFhd5EeGdoqx8trNIOA" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0t5IFxd5EeGdoqx8trNIOA" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0t5IGBd5EeGdoqx8trNIOA" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_2FEWYBd5EeGdoqx8trNIOA" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWYRd5EeGdoqx8trNIOA" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWYhd5EeGdoqx8trNIOA" key="StereotypeList" value="SysML::ModelElements::ViewPoint"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWYxd5EeGdoqx8trNIOA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWZBd5EeGdoqx8trNIOA" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2FEWZRd5EeGdoqx8trNIOA" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_0t5IGRd5EeGdoqx8trNIOA" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_0t5IGhd5EeGdoqx8trNIOA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_0t5IGxd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_0t5IHBd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_0t5IHRd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IHhd5EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_0t5IHxd5EeGdoqx8trNIOA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_0t5IIBd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_0t5IIRd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_0t5IIhd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IIxd5EeGdoqx8trNIOA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_0t5IJBd5EeGdoqx8trNIOA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_0t5IJRd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_0t5IJhd5EeGdoqx8trNIOA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_0t5IJxd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IKBd5EeGdoqx8trNIOA"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_0t5IEBd5EeGdoqx8trNIOA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0t5IEhd5EeGdoqx8trNIOA" x="120" y="120" width="401" height="316"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_0XjEoRd5EeGdoqx8trNIOA"/>
- <element xmi:type="uml:Model" href="model2.uml#_UkZRgBd4EeG5fMdkwNwYjw"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.uml
deleted file mode 100644
index 0528464e29b..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueChangerRightTarget/model2.uml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ModelElements="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/ModelElements http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements">
- <uml:Model xmi:id="_UkZRgBd4EeG5fMdkwNwYjw" name="SysMLmodel">
- <packagedElement xmi:type="uml:Class" xmi:id="_0t5IEBd5EeGdoqx8trNIOA" name="Class0"/>
- <profileApplication xmi:id="_UnheABd4EeG5fMdkwNwYjw">
- <eAnnotations xmi:id="_UnheARd4EeG5fMdkwNwYjw" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <ModelElements:ViewPoint xmi:id="_2ExbcBd5EeGdoqx8trNIOA" base_Class="_0t5IEBd5EeGdoqx8trNIOA">
- <concerns>aa</concerns>
- <concerns>aaa</concerns>
- <concerns>QSQSDQSD</concerns>
- <concerns>aqwxsz</concerns>
- </ModelElements:ViewPoint>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/.project
deleted file mode 100644
index 70601867f91..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompare - TaggedValueReferenceChange</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/EMFCompare13UML2Integration.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/EMFCompare13UML2Integration.JPG
deleted file mode 100644
index 0eeae95bea6..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/EMFCompare13UML2Integration.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/TaggedValueReferenceChange.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/TaggedValueReferenceChange.JPG
deleted file mode 100644
index d18138fcc44..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/TaggedValueReferenceChange.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.di
deleted file mode 100644
index 67cd21c0e77..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.di
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList/>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder"/>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.notation
deleted file mode 100644
index 8634d4c00e0..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.notation
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.uml
deleted file mode 100644
index 94a386a3ec9..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model.uml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks">
- <uml:Model xmi:id="_VRag0Bd-EeGdoqx8trNIOA" name="SysMLmodel">
- <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_XnUoQBd-EeGdoqx8trNIOA" name="Unit0"/>
- <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_Yr3OcBd-EeGdoqx8trNIOA" name="Dimension0"/>
- <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_ZzryIBd-EeGdoqx8trNIOA" name="Dimension1"/>
- <profileApplication xmi:id="_VR3MwBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VR3MwRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitUBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitURd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitUhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitUxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitVBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitVRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitVhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitVxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitWBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitWRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitWhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitWxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitXBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitXRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitXhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitXxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitYBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitYRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitYhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitYxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <Blocks:Unit xmi:id="_XndyMBd-EeGdoqx8trNIOA" base_InstanceSpecification="_XnUoQBd-EeGdoqx8trNIOA" dimension="_Yr3OcRd-EeGdoqx8trNIOA"/>
- <Blocks:Dimension xmi:id="_Yr3OcRd-EeGdoqx8trNIOA" base_InstanceSpecification="_Yr3OcBd-EeGdoqx8trNIOA"/>
- <Blocks:Dimension xmi:id="_ZzryIRd-EeGdoqx8trNIOA" base_InstanceSpecification="_ZzryIBd-EeGdoqx8trNIOA"/>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.di
deleted file mode 100644
index 67cd21c0e77..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.di
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList/>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder"/>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.notation
deleted file mode 100644
index 8634d4c00e0..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.notation
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.uml
deleted file mode 100644
index f671af60e66..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-TaggedValueReferenceChange/model2.uml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks">
- <uml:Model xmi:id="_VRag0Bd-EeGdoqx8trNIOA" name="SysMLmodel">
- <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_XnUoQBd-EeGdoqx8trNIOA" name="Unit0"/>
- <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_Yr3OcBd-EeGdoqx8trNIOA" name="Dimension0"/>
- <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_ZzryIBd-EeGdoqx8trNIOA" name="Dimension1"/>
- <profileApplication xmi:id="_VR3MwBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VR3MwRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitUBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitURd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitUhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitUxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitVBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitVRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitVhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitVxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitWBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitWRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitWhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitWxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitXBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitXRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitXhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitXxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitYBd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitYRd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- <profileApplication xmi:id="_VUitYhd-EeGdoqx8trNIOA">
- <eAnnotations xmi:id="_VUitYxd-EeGdoqx8trNIOA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <Blocks:Unit xmi:id="_XndyMBd-EeGdoqx8trNIOA" base_InstanceSpecification="_XnUoQBd-EeGdoqx8trNIOA" dimension="_ZzryIRd-EeGdoqx8trNIOA"/>
- <Blocks:Dimension xmi:id="_Yr3OcRd-EeGdoqx8trNIOA" base_InstanceSpecification="_Yr3OcBd-EeGdoqx8trNIOA"/>
- <Blocks:Dimension xmi:id="_ZzryIRd-EeGdoqx8trNIOA" base_InstanceSpecification="_ZzryIBd-EeGdoqx8trNIOA"/>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/.project
deleted file mode 100644
index 70493244721..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompare - UpdateTaggedValue</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/EMFCompare13UML2Integration.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/EMFCompare13UML2Integration.JPG
deleted file mode 100644
index 6ec1cc76098..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/EMFCompare13UML2Integration.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/UpdateTaggedValue.JPG b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/UpdateTaggedValue.JPG
deleted file mode 100644
index 522378aef95..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/UpdateTaggedValue.JPG
+++ /dev/null
Binary files differ
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.di
deleted file mode 100644
index d0dffa5fadb..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_Gt6RkRdyEeGxucMLIZ9VGg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_Gt6RkRdyEeGxucMLIZ9VGg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.notation
deleted file mode 100644
index cddefe0738e..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_Gt6RkRdyEeGxucMLIZ9VGg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_NTmzMRdyEeGxucMLIZ9VGg" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NTmzMxdyEeGxucMLIZ9VGg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NTmzNBdyEeGxucMLIZ9VGg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NTmzNRdyEeGxucMLIZ9VGg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NTmzNhdyEeGxucMLIZ9VGg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NTmzNxdyEeGxucMLIZ9VGg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NTmzOBdyEeGxucMLIZ9VGg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PnbP8BdyEeGxucMLIZ9VGg" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP8RdyEeGxucMLIZ9VGg" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP8hdyEeGxucMLIZ9VGg" key="StereotypeList" value="SysML::Requirements::Requirement"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP8xdyEeGxucMLIZ9VGg" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP9BdyEeGxucMLIZ9VGg" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP9RdyEeGxucMLIZ9VGg" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_NTwkMBdyEeGxucMLIZ9VGg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NTwkMRdyEeGxucMLIZ9VGg" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_NTwkMhdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NTwkMxdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NTwkNBdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTwkNRdyEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NTwkNhdyEeGxucMLIZ9VGg" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_NTwkNxdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NTwkOBdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NTwkORdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTwkOhdyEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NTwkOxdyEeGxucMLIZ9VGg" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_NTwkPBdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NTwkPRdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NTwkPhdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTwkPxdyEeGxucMLIZ9VGg"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_NTmzMBdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTmzMhdyEeGxucMLIZ9VGg" x="260" y="130" width="431" height="216"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_Gt6RkhdyEeGxucMLIZ9VGg"/>
- <element xmi:type="uml:Model" href="model.uml#_Gt6RkBdyEeGxucMLIZ9VGg"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.uml
deleted file mode 100644
index 2cedd4a1218..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model.uml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements">
- <uml:Model xmi:id="_Gt6RkBdyEeGxucMLIZ9VGg" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_NTmzMBdyEeGxucMLIZ9VGg" name="Class0"/>
- <profileApplication xmi:id="_O4CaYBdyEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_O4V8YBdyEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <Requirements:Requirement xmi:id="_PnRe8BdyEeGxucMLIZ9VGg" text="titi" base_Class="_NTmzMBdyEeGxucMLIZ9VGg"/>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.di
deleted file mode 100644
index 8430dec9801..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_Gt6RkRdyEeGxucMLIZ9VGg"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_Gt6RkRdyEeGxucMLIZ9VGg"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.notation
deleted file mode 100644
index 47e53ff0683..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_Gt6RkRdyEeGxucMLIZ9VGg" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_NTmzMRdyEeGxucMLIZ9VGg" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NTmzMxdyEeGxucMLIZ9VGg" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NTmzNBdyEeGxucMLIZ9VGg" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NTmzNRdyEeGxucMLIZ9VGg" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NTmzNhdyEeGxucMLIZ9VGg" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NTmzNxdyEeGxucMLIZ9VGg" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NTmzOBdyEeGxucMLIZ9VGg" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PnbP8BdyEeGxucMLIZ9VGg" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP8RdyEeGxucMLIZ9VGg" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP8hdyEeGxucMLIZ9VGg" key="StereotypeList" value="SysML::Requirements::Requirement"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP8xdyEeGxucMLIZ9VGg" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP9BdyEeGxucMLIZ9VGg" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PnbP9RdyEeGxucMLIZ9VGg" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_NTwkMBdyEeGxucMLIZ9VGg" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NTwkMRdyEeGxucMLIZ9VGg" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_NTwkMhdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NTwkMxdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NTwkNBdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTwkNRdyEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NTwkNhdyEeGxucMLIZ9VGg" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_NTwkNxdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NTwkOBdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NTwkORdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTwkOhdyEeGxucMLIZ9VGg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_NTwkOxdyEeGxucMLIZ9VGg" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_NTwkPBdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_NTwkPRdyEeGxucMLIZ9VGg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_NTwkPhdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTwkPxdyEeGxucMLIZ9VGg"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_NTmzMBdyEeGxucMLIZ9VGg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NTmzMhdyEeGxucMLIZ9VGg" x="260" y="130" width="431" height="216"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_Gt6RkhdyEeGxucMLIZ9VGg"/>
- <element xmi:type="uml:Model" href="model2.uml#_Gt6RkBdyEeGxucMLIZ9VGg"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.uml
deleted file mode 100644
index b43aa6ee79b..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompare-UpdateTaggedValue/model2.uml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements">
- <uml:Model xmi:id="_Gt6RkBdyEeGxucMLIZ9VGg" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_NTmzMBdyEeGxucMLIZ9VGg" name="Class0"/>
- <profileApplication xmi:id="_O4CaYBdyEeGxucMLIZ9VGg">
- <eAnnotations xmi:id="_O4V8YBdyEeGxucMLIZ9VGg" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <Requirements:Requirement xmi:id="_PnRe8BdyEeGxucMLIZ9VGg" text="tititi" base_Class="_NTmzMBdyEeGxucMLIZ9VGg"/>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/.project b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/.project
deleted file mode 100644
index 7d1d8291481..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EMFCompareTest - MergeStereotypeWithProfile-Remove</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.di
deleted file mode 100644
index 97796300a2c..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_VqzXEBs1EeGb1uImNdUykw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_VqzXEBs1EeGb1uImNdUykw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.notation
deleted file mode 100644
index dd772107aad..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.notation
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_VqzXEBs1EeGb1uImNdUykw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_W4Is4Bs1EeGb1uImNdUykw" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_W4Sd4Bs1EeGb1uImNdUykw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W4Sd4Rs1EeGb1uImNdUykw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_W4Sd4hs1EeGb1uImNdUykw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W4Sd4xs1EeGb1uImNdUykw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_W4Sd5Bs1EeGb1uImNdUykw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W4Sd5Rs1EeGb1uImNdUykw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_W4cO4Bs1EeGb1uImNdUykw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_W4cO4Rs1EeGb1uImNdUykw" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_W4cO4hs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_W4cO4xs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_W4cO5Bs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4cO5Rs1EeGb1uImNdUykw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_W4cO5hs1EeGb1uImNdUykw" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_W4cO5xs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_W4cO6Bs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_W4cO6Rs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4cO6hs1EeGb1uImNdUykw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_W4cO6xs1EeGb1uImNdUykw" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_W4cO7Bs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_W4cO7Rs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_W4cO7hs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4cO7xs1EeGb1uImNdUykw"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_W3i3ABs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4Is4Rs1EeGb1uImNdUykw" x="205" y="70" width="261" height="176"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_VqzXERs1EeGb1uImNdUykw"/>
- <element xmi:type="uml:Model" href="model.uml#_VqDwMRs1EeGb1uImNdUykw"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.uml
deleted file mode 100644
index ff51c6bf37b..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model.uml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_VqDwMRs1EeGb1uImNdUykw" name="Model">
- <packageImport xmi:id="_VqDwMhs1EeGb1uImNdUykw">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_W3i3ABs1EeGb1uImNdUykw" name="Class0"/>
-</uml:Model>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.di b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.di
deleted file mode 100644
index f04fc8c554d..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model2.notation#_VqzXEBs1EeGb1uImNdUykw"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model2.notation#_VqzXEBs1EeGb1uImNdUykw"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.notation b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.notation
deleted file mode 100644
index 59244023b12..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.notation
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_VqzXEBs1EeGb1uImNdUykw" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_W4Is4Bs1EeGb1uImNdUykw" type="2008" fontHeight="8" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_W4Sd4Bs1EeGb1uImNdUykw" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W4Sd4Rs1EeGb1uImNdUykw" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_W4Sd4hs1EeGb1uImNdUykw" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W4Sd4xs1EeGb1uImNdUykw" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_W4Sd5Bs1EeGb1uImNdUykw" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W4Sd5Rs1EeGb1uImNdUykw" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fBO68Bs1EeGb1uImNdUykw" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fBO68Rs1EeGb1uImNdUykw" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fBO68hs1EeGb1uImNdUykw" key="StereotypeList" value="SysML::Blocks::Block"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fBO68xs1EeGb1uImNdUykw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fBO69Bs1EeGb1uImNdUykw" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fBO69Rs1EeGb1uImNdUykw" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_W4cO4Bs1EeGb1uImNdUykw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_W4cO4Rs1EeGb1uImNdUykw" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_W4cO4hs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_W4cO4xs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_W4cO5Bs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4cO5Rs1EeGb1uImNdUykw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_W4cO5hs1EeGb1uImNdUykw" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_W4cO5xs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_W4cO6Bs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_W4cO6Rs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4cO6hs1EeGb1uImNdUykw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_W4cO6xs1EeGb1uImNdUykw" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_W4cO7Bs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_W4cO7Rs1EeGb1uImNdUykw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_W4cO7hs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4cO7xs1EeGb1uImNdUykw"/>
- </children>
- <element xmi:type="uml:Class" href="model2.uml#_W3i3ABs1EeGb1uImNdUykw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W4Is4Rs1EeGb1uImNdUykw" x="205" y="70" width="261" height="176"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_VqzXERs1EeGb1uImNdUykw"/>
- <element xmi:type="uml:Model" href="model2.uml#_VqDwMRs1EeGb1uImNdUykw"/>
-</notation:Diagram>
diff --git a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.uml b/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.uml
deleted file mode 100644
index 98d0ab6b752..00000000000
--- a/sandbox/org.eclipse.papyrus.infra.emf.compare.ui.examples/EMFCompareTest-EMFCompareTest-MergeStereotypeWithProfile-Remove/model2.uml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks">
- <uml:Model xmi:id="_VqDwMRs1EeGb1uImNdUykw" name="Model">
- <packageImport xmi:id="_VqDwMhs1EeGb1uImNdUykw">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_W3i3ABs1EeGb1uImNdUykw" name="Class0"/>
- <profileApplication xmi:id="_d5jhMBs1EeGb1uImNdUykw">
- <eAnnotations xmi:id="_d52cIBs1EeGb1uImNdUykw" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/>
- </eAnnotations>
- <appliedProfile href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
- </profileApplication>
- </uml:Model>
- <Blocks:Block xmi:id="_fA7Y8Bs1EeGb1uImNdUykw" base_Class="_W3i3ABs1EeGb1uImNdUykw"/>
-</xmi:XMI>
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/.classpath b/sandbox/org.eclipse.papyrus.uml.compare.merge/.classpath
deleted file mode 100644
index 2d1a4302f04..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/.project b/sandbox/org.eclipse.papyrus.uml.compare.merge/.project
deleted file mode 100644
index 1ce7f4a780f..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.compare.merge</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/.settings/org.eclipse.jdt.core.prefs b/sandbox/org.eclipse.papyrus.uml.compare.merge/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 44217f8c068..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/META-INF/MANIFEST.MF b/sandbox/org.eclipse.papyrus.uml.compare.merge/META-INF/MANIFEST.MF
deleted file mode 100644
index fcb3b8c8617..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,21 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Merge
-Bundle-SymbolicName: org.eclipse.papyrus.uml.compare.merge
-Bundle-Version: 0.9.0.qualifier
-Bundle-Activator: org.eclipse.papyrus.uml.compare.merge.Activator
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.papyrus.infra.tools,
- org.eclipse.emf.common,
- org.eclipse.emf.compare.diff,
- org.eclipse.emf.transaction,
- org.eclipse.emf.ecore.xmi,
- org.eclipse.papyrus.infra.emf,
- org.eclipse.papyrus.infra.core.log
-Bundle-ActivationPolicy: lazy
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.eclipse.papyrus.uml.compare.merge,
- org.eclipse.papyrus.uml.compare.merge.commands,
- org.eclipse.papyrus.uml.compare.merge.nested,
- org.eclipse.papyrus.uml.compare.merge.standalone
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/build.properties b/sandbox/org.eclipse.papyrus.uml.compare.merge/build.properties
deleted file mode 100644
index 41eb6ade2b4..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/Activator.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/Activator.java
deleted file mode 100644
index fcf02bf9538..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/Activator.java
+++ /dev/null
@@ -1,55 +0,0 @@
-package org.eclipse.papyrus.uml.compare.merge;
-
-import org.eclipse.papyrus.infra.core.log.LogHelper;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.compare.merge"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- /**the Papyrus log helper*/
- public static LogHelper log;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- log = new LogHelper(this);
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return plugin;
- }
-
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/ITransactionalMerger.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/ITransactionalMerger.java
deleted file mode 100644
index 78e46baf985..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/ITransactionalMerger.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge; import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.compare.diff.merge.DefaultMerger;
-import org.eclipse.emf.compare.diff.merge.IMerger;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-;
-
-/**
- *
- * The mergers which implement this interface are able to provide commands for the merge actions
- * TODO : rename into ITransactionalMerger
- */
-public interface ITransactionalMerger extends IMerger {
-
- /**
- * This command should have the same behavior as {@link DefaultMerger#applyInOrigin()}
- *
- * @return
- * the command to do the action
- */
- public Command getApplyInOriginCommand(final TransactionalEditingDomain domain);
-
- /**
- * This command should have the same behavior as {@link DefaultMerger#undoInTarget()}
- *
- * @param domain
- * @return
- * the command to do the action
- */
- public Command getUndoInTargetCommand(final TransactionalEditingDomain domain);
-
- /**
- * This command should have the same behavior as {@link DefaultMerger#doApplyInOrigin}
- *
- * @param domain
- * @return
- * the command to do the action
- */
- public Command getDoApplyInOriginCommand(final TransactionalEditingDomain domain);
-
- /**
- * This command should have the same behavior as {@link DefaultMerger#doUndoInTarget}
- *
- * @param domain
- * @return
- * the command to do the action
- */
- public Command getDoUndoInTargetCommand(final TransactionalEditingDomain domain);
-
- /**
- * This command should have the same behavior as {@link DefaultMerger#mergeRequiredDifferences}
- *
- * @param domain
- * @param applyInOrigin
- * @return
- * the command to do the action
- */
- public Command getMergeRequiredDifferencesCommand(final TransactionalEditingDomain domain, final boolean applyInOrigin);
-
- /**
- * This command should have the same behavior as {@link DefaultMerger#postProcess}
- *
- * @param domain
- * @return
- * the command to do the action
- */
- public Command getPostProcessCommand(final TransactionalEditingDomain domain);
-
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/TransactionalMergeService.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/TransactionalMergeService.java
deleted file mode 100644
index 4ffcc4dc8d7..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/TransactionalMergeService.java
+++ /dev/null
@@ -1,317 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge;
-
-import java.lang.reflect.Field;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.compare.diff.merge.IMergeListener;
-import org.eclipse.emf.compare.diff.merge.IMerger;
-import org.eclipse.emf.compare.diff.merge.service.MergeFactory;
-import org.eclipse.emf.compare.diff.merge.service.MergeService;
-import org.eclipse.emf.compare.diff.metamodel.ConflictingDiffElement;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-import org.eclipse.emf.compare.diff.metamodel.DiffGroup;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.papyrus.infra.tools.util.ReflectHelper;
-import org.eclipse.papyrus.uml.compare.merge.commands.FireMergeDiffEndCommand;
-import org.eclipse.papyrus.uml.compare.merge.commands.FireMergeDiffStartCommand;
-import org.eclipse.papyrus.uml.compare.merge.commands.FireMergeOperationEndCommand;
-import org.eclipse.papyrus.uml.compare.merge.commands.FireMergeOperationStartCommand;
-
-
-/**
- *
- * This service should replace the EMF-Compare MergeService
- *
- */
-//TODO not used
-public class TransactionalMergeService {
-
- private static Method addMergeListenerMethod = null;
-
- private static Method removeMergeListenerMethod = null;
-
- // /** This copier will be used when merging references. */
- // private static EMFCompareEObjectCopier copier;
-
- /**
- * Default constructor.
- */
- private TransactionalMergeService() {
- // hides default constructor
- }
-
- /**
- * TODO this method should be covered with a JUnit test
- * Registers a new merge listener for notifications about merge operations. Has no effect if the listener
- * is already registered.
- *
- * @param listener
- * New Listener to register for notifications.
- */
- public static void addMergeListener(final IMergeListener listener) {
- if(addMergeListenerMethod == null) {
- Class<?>[] parameterTypes = new Class[1];
- parameterTypes[0] = IMergeListener.class;
- try {
- addMergeListenerMethod = ReflectHelper.getMethod(MergeService.class, "addMergeListener", parameterTypes); //$NON-NLS-1$
- } catch (SecurityException e) {
- Activator.log.error(e);
- } catch (NoSuchMethodException e) {
- Activator.log.error(e);
- }
- }
- final Object[] parameters = new Object[1];
- parameters[0] = listener;
- try {
- addMergeListenerMethod.invoke(null, parameters);
- } catch (IllegalArgumentException e) {
- Activator.log.error(e);
- } catch (IllegalAccessException e) {
- Activator.log.error(e);
- } catch (InvocationTargetException e) {
- Activator.log.error(e);
- }
- }
-
-
- // /**
- // * Returns the copier given the diff it should merge.
- // *
- // * @param diff
- // * The DiffElement for which a copier is needed.
- // * @return The copier for a given diff.
- // */
- // public static EMFCompareEObjectCopier getCopier(final DiffElement diff) {
- // final DiffModel diffModel = getContainerDiffModel(diff);
- // if (diffModel == null)
- // throw new IllegalArgumentException("The diff element should be contained in a DiffModel instance"); //$NON-NLS-1$
- // if (diffModel.eContainer() instanceof DiffResourceSet) {
- // if (copier == null) {
- // copier = new EMFCompareEObjectCopier((DiffResourceSet)diffModel.eContainer());
- // } else if (copier.getDiffResourceSet() != diffModel.eContainer()) {
- // copier.clear();
- // copier = new EMFCompareEObjectCopier((DiffResourceSet)diffModel.eContainer());
- // }
- // } else {
- // if (copier == null) {
- // copier = new EMFCompareEObjectCopier(diffModel);
- // } else if (copier.getDiffModel() != diffModel) {
- // copier.clear();
- // copier = new EMFCompareEObjectCopier(diffModel);
- // }
- // }
- // return copier;
- // }
-
- // /**
- // * Browse the diff model from the leaf to the top to find the containing {@link DiffModel} instance.
- // *
- // * @param diff
- // * any {@link DiffElement}.
- // * @return the containing {@link DiffModel} instance, null if not found.
- // */
- // private static DiffModel getContainerDiffModel(final DiffElement diff) {
- // EObject container = diff.eContainer();
- // while (container != null) {
- // if (container instanceof DiffModel)
- // return (DiffModel)container;
- // container = container.eContainer();
- // }
- // return null;
- // }
-
- /**
- * Merges a single DiffElement in the direction specified by <code>leftToRight</code>.
- * <p>
- * Will notify the list of its merge listeners before, and after the operation.
- * </p>
- *
- * @param element
- * {@link DiffElement} containing the information to merge.
- * @param leftToRight
- * <code>True</code> if the changes must be applied from the left to the right model, <code>False</code> when they have to be applied the
- * other way around.
- */
- // public static void merge(final DiffElement element, final boolean leftToRight) {
- // fireMergeOperationStart(element);
- // doMerge(element, leftToRight);
- // fireMergeOperationEnd(element);
- // }
-
- public static Command getMergeCommand(final TransactionalEditingDomain domain, final DiffElement element, final boolean leftToRight) {
- CompoundCommand cmd = new CompoundCommand("MergeCommand"); //$NON-NLS-1$
- cmd.append(new FireMergeOperationStartCommand(element, getMergeListeners()));
- cmd.append(getDoMergeCommand(domain, element, leftToRight));
- cmd.append(new FireMergeOperationEndCommand(element, getMergeListeners()));
- return cmd;
- }
-
- /**
- * Applies the changes implied by a given {@link DiffElement} in the direction specified by <code>leftToRight</code>.
- * <p>
- * Will notify the list of its merge listeners before, and after the merge.
- * </p>
- *
- * @param element
- * {@link DiffElement} containing the information to merge.
- * @param leftToRight
- * <code>True</code> if the changes must be applied from the left to the right model, <code>False</code> when they have to be applied the
- * other way around.
- */
- // protected static void doMerge(final DiffElement element, final boolean leftToRight) {
- // fireMergeDiffStart(element);
- // final IMerger merger;
- // if(element instanceof ConflictingDiffElement)
- // merger = MergeFactory.createMerger(element.getSubDiffElements().get(0));
- // else
- // merger = MergeFactory.createMerger(element);
- // if(leftToRight && merger.canUndoInTarget()) {
- // merger.undoInTarget();
- // } else if(!leftToRight && merger.canApplyInOrigin()) {
- // merger.applyInOrigin();
- // }
- // fireMergeDiffEnd(element);
- // }
-
- private static Command getDoMergeCommand(final TransactionalEditingDomain domain, final DiffElement element, final boolean leftToRight) {
- final CompoundCommand cmd = new CompoundCommand("DoMergeCommand"); //$NON-NLS-1$
- cmd.append(new FireMergeDiffStartCommand(element, getMergeListeners()));
- final IMerger merger;
-// if(element instanceof DiffGroup){
-// merger = new DiffGroupTransactionalMerger();
-// merger.setDiffElement(element);
-// }
-// else
- if(element instanceof ConflictingDiffElement) {
- merger = MergeFactory.createMerger(element.getSubDiffElements().get(0));
- } else {
-
- merger = MergeFactory.createMerger(element);
- }
- if(merger instanceof ITransactionalMerger) {
- if(leftToRight && merger.canUndoInTarget()) {
- cmd.append(((ITransactionalMerger)merger).getUndoInTargetCommand(domain));
- } else if(!leftToRight && merger.canApplyInOrigin()) {
- cmd.append(((ITransactionalMerger)merger).getApplyInOriginCommand(domain));
- }
- } else {
- throw new UnsupportedOperationException(NLS.bind("I can't found the Papyrus Merger for {0}.", element)); //$NON-NLS-1$
- }
-
- cmd.append(new FireMergeDiffEndCommand(element, getMergeListeners()));
- return cmd;
- }
-
-
- // /**
- // * Merges a list of DiffElements in the direction specified by <code>leftToRight</code>.
- // * <p>
- // * Will notify the list of its merge listeners before, and after the operation.
- // * </p>
- // *
- // * @param elements
- // * {@link DiffElement}s containing the information to merge.
- // * @param leftToRight
- // * <code>True</code> if the changes must be applied from the left to the right model, <code>False</code> when they have to be applied the
- // * other way around.
- // */
- // public static void merge(final List<DiffElement> elements, final boolean leftToRight) {
- // fireMergeOperationStart(elements);
- // for(DiffElement element : new ArrayList<DiffElement>(elements))
- // // we might remove the diff from the list before merging it
- // // (eOpposite reference)
- // if(element.eContainer() != null)
- // doMerge(element, leftToRight);
- // fireMergeOperationEnd(elements);
- // }
-
- public static Command getMergeCommand(final TransactionalEditingDomain domain, final List<DiffElement> elements, final boolean leftToRight) {
- final CompoundCommand cmd = new CompoundCommand("MergeCommand"); //$NON-NLS-1$
- cmd.append(new FireMergeOperationStartCommand(elements, getMergeListeners()));
- for(DiffElement element : new ArrayList<DiffElement>(elements)) {
- // we might remove the diff from the list before merging it
- // (eOpposite reference)
- if(element.eContainer() != null) {
- cmd.append(getDoMergeCommand(domain, element, leftToRight));
- }
- }
- cmd.append(new FireMergeOperationEndCommand(elements, getMergeListeners()));
- return cmd;
- }
-
- /**
- * removes a merge listener from the list of registered listeners. This will have no effect if the given
- * listener is not registered for notifications on this service.
- *
- * @param listener
- * New Listener to register for notifications.
- */
- public static void removeMergeListener(final IMergeListener listener) {
- if(removeMergeListenerMethod == null) {
- Class<?>[] parameterTypes = new Class[1];
- parameterTypes[0] = IMergeListener.class;
- try {
- removeMergeListenerMethod = ReflectHelper.getMethod(MergeService.class, "removeMergeListener", parameterTypes); //$NON-NLS-1$
- } catch (SecurityException e) {
- Activator.log.error(e);
- } catch (NoSuchMethodException e) {
- Activator.log.error(e);
- }
- }
- final Object[] parameters = new Object[1];
- parameters[0] = listener;
- try {
- removeMergeListenerMethod.invoke(null, parameters);
- } catch (IllegalArgumentException e) {
- Activator.log.error(e);
- } catch (IllegalAccessException e) {
- Activator.log.error(e);
- } catch (InvocationTargetException e) {
- Activator.log.error(e);
- }
- }
-
-
- @SuppressWarnings("unchecked")
- //we suppress this warning because the field is always a List of IMergeListener
- private static List<IMergeListener> getMergeListeners() {
- List<IMergeListener> listeners = null;
- Field myField = null;
- try {
- myField = MergeService.class.getDeclaredField("MERGE_LISTENERS"); //$NON-NLS-1$
- } catch (SecurityException e) {
- Activator.log.error(e);
- } catch (NoSuchFieldException e) {
- Activator.log.error(e);
- }
- myField.setAccessible(true);
- try {
- listeners = (List<IMergeListener>)myField.get(null);
- } catch (IllegalArgumentException e) {
- Activator.log.error(e);
- } catch (IllegalAccessException e) {
- Activator.log.error(e);
- }
- return listeners;
- }
-
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/AbstractFireMergeCommand.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/AbstractFireMergeCommand.java
deleted file mode 100644
index 4813d954a7c..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/AbstractFireMergeCommand.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge.commands;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.emf.compare.diff.merge.IMergeListener;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-
-
-public abstract class AbstractFireMergeCommand extends AbstractCommand {
-
- /**
- * the list of the listeners
- */
- private final List<IMergeListener> listeners;
-
- /**
- * a list of the diff element
- */
- private final List<DiffElement> diffs;
-
- private final DiffElement diffElement;
-
- public AbstractFireMergeCommand(final DiffElement diffElement, final List<IMergeListener> listeners) {
- this.diffElement = diffElement;
- this.diffs = Collections.emptyList();
- this.listeners = new ArrayList<IMergeListener>(listeners);
- }
-
- public AbstractFireMergeCommand(final List<DiffElement> diffs, final List<IMergeListener> listeners) {
- this.diffElement = null;
- this.diffs = new ArrayList<DiffElement>(diffs);
- this.listeners = new ArrayList<IMergeListener>(listeners);
- }
-
- public boolean canRedo() {
- return canExecute();
- }
-
- public List<IMergeListener> getMergeListeners() {
- return Collections.unmodifiableList(listeners);
- }
-
- public List<DiffElement> getDiffElementsList() {
- return Collections.unmodifiableList(this.diffs);
- }
-
- public DiffElement getDiffElement() {
- return this.diffElement;
- }
-
- @Override
- protected boolean prepare() {
- return true;
- }
-
- public void redo() {
- execute();
-
- }
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/CopyXMIIDCommand.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/CopyXMIIDCommand.java
deleted file mode 100644
index 46ea50ebc3d..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/CopyXMIIDCommand.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge.commands;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.XMIResource;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-
-/**
- *
- * This command allows to copy the XMI_ID from one EObject to another one, only if they are not owned by the same resource
- *
- */
-//TODO should be moved in infra.emf plugin when the problem of the saùme resource will be corrected in Papyrus
-public class CopyXMIIDCommand extends AbstractCommand {
-
- /**
- * the EObject which provides the XMI_ID
- */
- private final EObject source;
-
- /**
- * the EObject which receive the XMI_ID
- */
- private final EObject target;
-
- /**
- * the initial XMI_ID of the target
- */
- private String initialID;
-
- /**
- *
- * Constructor.
- *
- * @param source
- * the EObject which provides the XMI_ID
- * @param target
- * the EObject which receive the XMI_ID
- */
- public CopyXMIIDCommand(final EObject source, final EObject target) {
- this.source = source;
- this.target = target;
- this.initialID = null;
- setLabel("Copy XMI_ID command"); //$NON-NLS-1$
- }
-
- /**
- *
- * @see org.eclipse.emf.common.command.Command#execute()
- *
- */
- public void execute() {
- final Resource sourceResource = source.eResource();
- final Resource targetResource = target.eResource();
- if(sourceResource instanceof XMIResource && targetResource instanceof XMIResource) {
- //TODO : this test is commented because the result of this command is worse with the test than without...
- // if(sourceResource != targetResource) {
- final String xmi_id = EMFHelper.getXMIID(this.source);
- this.initialID = EMFHelper.getXMIID(target);
- ((XMIResource)this.target.eResource()).setID(this.target, xmi_id);
- // }
- }
- }
-
- /**
- *
- * @see org.eclipse.emf.common.command.Command#redo()
- *
- */
- public void redo() {
- execute();
- }
-
- /**
- *
- * @see org.eclipse.emf.common.command.AbstractCommand#prepare()
- *
- * @return
- */
- @Override
- protected boolean prepare() {
- return true;
- }
-
- /**
- *
- * @see org.eclipse.emf.common.command.AbstractCommand#undo()
- *
- */
- @Override
- public void undo() {
- final Resource targetResource = target.eResource();
- if(targetResource instanceof XMIResource) {
- ((XMIResource)this.target.eResource()).setID(this.target, this.initialID);
- }
- }
-
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffEndCommand.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffEndCommand.java
deleted file mode 100644
index 660ab98bbf4..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffEndCommand.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge.commands;
-
-import java.util.List;
-
-import org.eclipse.emf.compare.diff.merge.IMergeListener;
-import org.eclipse.emf.compare.diff.merge.MergeEvent;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-
-
-public class FireMergeDiffEndCommand extends AbstractFireMergeCommand {
-
- public FireMergeDiffEndCommand(final DiffElement diffElement, final List<IMergeListener> listeners) {
- super(diffElement, listeners);
- }
-
- public void execute() {
- List<IMergeListener> listeners = getMergeListeners();
- if(getDiffElement() != null) {
- for(IMergeListener current : listeners) {
- current.mergeDiffStart(new MergeEvent(getDiffElement()));
- }
-
- }
- }
-
- @Override
- public void undo() {
- //TODO?
- }
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffStartCommand.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffStartCommand.java
deleted file mode 100644
index e0d274e5e12..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeDiffStartCommand.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge.commands;
-
-import java.util.List;
-
-import org.eclipse.emf.compare.diff.merge.IMergeListener;
-import org.eclipse.emf.compare.diff.merge.MergeEvent;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-
-
-public class FireMergeDiffStartCommand extends AbstractFireMergeCommand {
-
- public FireMergeDiffStartCommand(final DiffElement diffElement, final List<IMergeListener> listeners) {
- super(diffElement, listeners);
- }
-
- public void execute() {
- List<IMergeListener> listeners = getMergeListeners();
- if(getDiffElement() != null) {
- for(IMergeListener current : listeners) {
- current.mergeDiffEnd(new MergeEvent(getDiffElement()));
- }
-
- }
- }
-
- @Override
- public void undo() {
- //TODO?
- }
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationEndCommand.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationEndCommand.java
deleted file mode 100644
index 2043fdbc9c0..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationEndCommand.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge.commands;
-
-import java.util.List;
-
-import org.eclipse.emf.compare.diff.merge.IMergeListener;
-import org.eclipse.emf.compare.diff.merge.MergeEvent;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-
-
-public class FireMergeOperationEndCommand extends AbstractFireMergeCommand {
-
- public FireMergeOperationEndCommand(final DiffElement diffElement, final List<IMergeListener> listeners) {
- super(diffElement, listeners);
- }
-
- public FireMergeOperationEndCommand(final List<DiffElement> diffs, final List<IMergeListener> listeners) {
- super(diffs, listeners);
- }
-
- public void execute() {
- List<IMergeListener> listeners = getMergeListeners();
- if(!getDiffElementsList().isEmpty()) {
- for(IMergeListener current : listeners) {
- current.mergeOperationEnd(new MergeEvent(getDiffElementsList()));
- }
- }
- if(getDiffElement() != null) {
- for(IMergeListener current : listeners) {
- current.mergeOperationEnd(new MergeEvent(getDiffElement()));
- }
-
- }
- }
-
- @Override
- public void undo() {
- //TODO?
- }
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationStartCommand.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationStartCommand.java
deleted file mode 100644
index e9273d43149..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/commands/FireMergeOperationStartCommand.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.merge.commands;
-
-import java.util.List;
-
-import org.eclipse.emf.compare.diff.merge.IMergeListener;
-import org.eclipse.emf.compare.diff.merge.MergeEvent;
-import org.eclipse.emf.compare.diff.metamodel.DiffElement;
-
-
-public class FireMergeOperationStartCommand extends AbstractFireMergeCommand {
-
- public FireMergeOperationStartCommand(final DiffElement diffElement, final List<IMergeListener> listeners) {
- super(diffElement, listeners);
- }
-
- public FireMergeOperationStartCommand(final List<DiffElement> diffs, final List<IMergeListener> listeners) {
- super(diffs, listeners);
- }
-
- public void execute() {
- List<IMergeListener> listeners = getMergeListeners();
- if(!getDiffElementsList().isEmpty()) {
- for(IMergeListener current : listeners) {
- current.mergeOperationStart(new MergeEvent(getDiffElementsList()));
- }
- }
- if(getDiffElement() != null) {
- for(IMergeListener current : listeners) {
- current.mergeOperationStart(new MergeEvent(getDiffElement()));
- }
-
- }
- }
-
- @Override
- public void undo() {
- //TODO?
- }
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/nested/NestedMergeUtils.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/nested/NestedMergeUtils.java
deleted file mode 100644
index af7487acfdc..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/nested/NestedMergeUtils.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.eclipse.papyrus.uml.compare.merge.nested;
-
-import java.util.HashMap;
-import java.util.Map;
-
-
-public class NestedMergeUtils {
-
- public static final Map<String, Object> getMergeOptions(){
- final Map<String, Object> options = new HashMap<String, Object>();
- return options;
- }
-}
diff --git a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/standalone/StandaloneMergeUtils.java b/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/standalone/StandaloneMergeUtils.java
deleted file mode 100644
index bcf7ca4686b..00000000000
--- a/sandbox/org.eclipse.papyrus.uml.compare.merge/src/org/eclipse/papyrus/uml/compare/merge/standalone/StandaloneMergeUtils.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.eclipse.papyrus.uml.compare.merge.standalone;
-
-import java.util.HashMap;
-import java.util.Map;
-
-
-public class StandaloneMergeUtils {
-
- public static final Map<String, Object> getMergeOptions(){
- final Map<String, Object> options = new HashMap<String, Object>();
- return options;
- }
-}

Back to the top