Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Call EMF Compare
Call EMF Compare [message #985907] Fri, 16 November 2012 16:02 Go to next message
Philippe Favrais is currently offline Philippe FavraisFriend
Messages: 23
Registered: April 2011
Junior Member
Hello,

I created a plugin based on EMF Compare which allow me to compare some specific XML files. So far, i call my plugin from CompareWith/EachOther.
Now, i would like to be able to call my plugin from a different menu where i let the user selecting the 2 xml files via a FileDialog. This let him the chance to select files which are not necessarily in the workspace. Could you help me in finding how to call the my plugin as it is done when it is call from CompareWith/EachOther

Best regards
Philippe
Re: Call EMF Compare [message #985929 is a reply to message #985907] Fri, 16 November 2012 17:35 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Import the projects with sources into your workspace and search for
"CompareWith/EachOther" spelled accurately, making sure you search all
*.java, *.properties and *.xml files.

Or set a breakpoint on FielDialog.

Or use Plugin Menu Spy (Alt-Shift F2).

Regards

Ed Willink


On 16/11/2012 16:02, Philippe Favrais wrote:
> Hello,
>
> I created a plugin based on EMF Compare which allow me to compare some
> specific XML files. So far, i call my plugin from CompareWith/EachOther.
> Now, i would like to be able to call my plugin from a different menu
> where i let the user selecting the 2 xml files via a FileDialog. This
> let him the chance to select files which are not necessarily in the
> workspace. Could you help me in finding how to call the my plugin as
> it is done when it is call from CompareWith/EachOther
>
> Best regards
> Philippe
Previous Topic:Texo - implementing an interface
Next Topic:File goes dirty when existing item selected
Goto Forum:
  


Current Time: Thu Apr 25 06:44:17 GMT 2024

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

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

Back to the top