Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » CompareConfiguration in v3.0 RC1
CompareConfiguration in v3.0 RC1 [message #1384091] Wed, 28 May 2014 05:50 Go to next message
Anja Hansen is currently offline Anja HansenFriend
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

Re: CompareConfiguration in v3.0 RC1 [message #1384116 is a reply to message #1384091] Wed, 28 May 2014 07:11 Go to previous message
Mikael Barbero is currently offline Mikael BarberoFriend
Messages: 55
Registered: July 2009
Member
Hi Anja,

Yes it is the proper new way to make the input.

Best.
Mikael
Previous Topic:[EMFCompare] Compare two models and compute the intersection of them
Next Topic:Plugin vs. standalone configuration of EMF Compare
Goto Forum:
  


Current Time: Sat Jun 23 05:06:54 GMT 2018

Powered by FUDForum. Page generated in 0.02912 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top