| Forum: Compare |
|---|
| Topic: [EMF Compare] Exchange ScopeProvider in UI plugin |
|---|
| [EMF Compare] Exchange ScopeProvider in UI plugin [message #1060789] |
Tue, 28 May 2013 08:41 |
Goood Guy Messages: 97 Registered: September 2011 |
Member |
|
|
Hi,
I am implementing a customized MatchEngine for uml models that bases on EMF compare 1.3. The engine should ignore Packages, but should compare all Classes within all Packages. In the models I want to compare there are no nested Packages. So the engine should compare the models as if all Classes would be on the root level.
After reading the dev doc, I came up with the idea to override the scopeprovider, but I can't see how I could exchange it without copying nearly all of the code from the GenericMatchEngine.
My idea is to set the MatchOptions.OPTION_MATCH_SCOPE_PROVIDER in the optionsMap, but I cannot override the private field org.eclipse.emf.compare.match.engine.GenericMatchEngine.structuredOptions. Even the updateSetting()-method cannot be used.
What is the intended way to exchange the scopeprovider?
|
|
|
Powered by
FUDForum. Page generated in 0.02577 seconds