Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF COMPARE](DiffEngine priority)
[EMF COMPARE] [message #663304] Mon, 04 April 2011 11:11 Go to next message
No real name is currently offline No real name
Messages: 42
Registered: December 2010
Member
how can I set a Priority Value to MyDiffEngine to be chosen by EMF compare ?

thx Smile

[Updated on: Mon, 04 April 2011 11:13]

Report message to a moderator

Re: [EMF COMPARE] [message #665083 is a reply to message #663304] Wed, 13 April 2011 04:38 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1621
Registered: July 2009
Senior Member
The extension point that allows you to contribute your own diff engine allows you to specify a priority; though this priority will only be used if there are more than one engine available for the models you're trying to compare.

Alternately, you could go to Window > Preferences > EMF Compare and tick "comparison engine selection". This will make EMF Compare display a dialog when you compare the models so that you can select the diff engine yourself. If it does not appear on the dialog's list, then that particular engine is not available for these models; and you probably made an error in the plugin.xml when you filled in the extension point's description Smile.

Laurent Goubet
Obeo
Re: [EMF COMPARE] [message #666399 is a reply to message #665083] Wed, 20 April 2011 06:21 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 42
Registered: December 2010
Member
Hi,

What is the scope namespacePattern, what I write in the field namespacePattern?


Re: [EMF COMPARE] [message #666403 is a reply to message #666399] Wed, 20 April 2011 06:43 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 42
Registered: December 2010
Member
Hi,

two errors generated when I execute the plug-ins on runtime,
any explication, please ?




A java exception has been thrown.
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:960)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:995)
at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:970)
at org.eclipse.emf.compare.ui.internal.ModelComparator.doResourceSetCompare(ModelComparator.java:348)
at org.eclipse.emf.compare.ui.internal.ModelComparator.compare(ModelComparator.java:259)
at org.eclipse.emf.compare.ui.viewer.structure.ModelStructureContentProvider.inputChanged(ModelStructureContentProvider.java:176)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:270)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1664)


Unhandled event loop exception during blocked modal context.

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
Re: [EMF COMPARE] [message #666669 is a reply to message #666403] Thu, 21 April 2011 09:59 Go to previous message
No real name is currently offline No real name
Messages: 42
Registered: December 2010
Member
HI

I add the org.eclipse.emf.compare to the list of plugins required for the operation of this plug-in. and it's work .
but the dialog of selection the engine does not appear.
and the selection of engine is by the priority.


Previous Topic:Is EMF Compare adapted to implement a generic XML compare ?
Next Topic:MXF Creation Review results
Goto Forum:
  


Current Time: Fri Jul 25 07:19:55 EDT 2014

Powered by FUDForum. Page generated in 0.01732 seconds