CompareConfiguration in v3.0 RC1 [message #1384091] |
Wed, 28 May 2014 05:50 |
Anja Hansen Messages: 10 Registered: March 2014 |
Junior Member |
|
|
Hi, yesterday I tried taking in v3.0 RC1, and noticed that the required parameter to the ComparisonEditorInput constructor has changed from CompareConfiguration to EMFCompareConfiguration.
Is this the correct way to make the input in the new version?
EMFCompareConfiguration configuration = new EMFCompareConfiguration(new CompareConfiguration());
ICompareEditingDomain editingDomain = EMFCompareEditingDomain.create(modelsToCompare.getChangedModel(), modelsToCompare.getReferenceModel(), null);
ComposedAdapterFactory adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
CompareEditorInput compareEditorInput = new ComparisonEditorInput(configuration, result, editingDomain, adapterFactory);
[Updated on: Wed, 28 May 2014 05:51] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03776 seconds