Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMF Compare Editor: How to add text compare tab?
EMF Compare Editor: How to add text compare tab? [message #509499] Fri, 22 January 2010 16:01 Go to next message
Eclipse UserFriend
Originally posted by: d.hofmann.seeburger.de

Hi!

I wonder if it is possible to add a tab to the EMF Compare Editor to
enable viewing the differences both in the graphical and in a textual
comparison.

I already tried extending MessageContentMergeViewer, but found out that
tabs can not be added by simply subclassing and overwriting methods.

Can you give me any hints to extend the editor re-using the text compare
function of eclipse? Possibly this function is interesting for other
users, so it could be integrated in the EMF Compare plugin?

Thanks in advance,
David
Re: EMF Compare Editor: How to add text compare tab? [message #510353 is a reply to message #509499] Wed, 27 January 2010 10:43 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000002060708020500090507
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

David,

We've never implemented "textual" tabs for the compare editor as new
versions of the platform (from Eclipse 3.5 onward) allow users to switch
from EMF Compare to text comparisons and vice versa directly from the
compare editor.

If you wish to implement this feature for EMF Compare in earlier
versions of Eclipse, you'll have to take a look at the
ModelContentMergeTabFolder, ModelContentMergeDiffTab,
ModelContentMergePropertyTab and the remainder of the EMF Compare UI code.

Laurent Goubet
Obeo

David Hofmann wrote:
> Hi!
>
> I wonder if it is possible to add a tab to the EMF Compare Editor to
> enable viewing the differences both in the graphical and in a textual
> comparison.
>
> I already tried extending MessageContentMergeViewer, but found out that
> tabs can not be added by simply subclassing and overwriting methods.
>
> Can you give me any hints to extend the editor re-using the text compare
> function of eclipse? Possibly this function is interesting for other
> users, so it could be integrated in the EMF Compare plugin?
>
> Thanks in advance,
> David


--------------000002060708020500090507
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard


--------------000002060708020500090507--
Re: EMF Compare Editor: How to add text compare tab? [message #622051 is a reply to message #509499] Wed, 27 January 2010 10:43 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000002060708020500090507
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

David,

We've never implemented "textual" tabs for the compare editor as new
versions of the platform (from Eclipse 3.5 onward) allow users to switch
from EMF Compare to text comparisons and vice versa directly from the
compare editor.

If you wish to implement this feature for EMF Compare in earlier
versions of Eclipse, you'll have to take a look at the
ModelContentMergeTabFolder, ModelContentMergeDiffTab,
ModelContentMergePropertyTab and the remainder of the EMF Compare UI code.

Laurent Goubet
Obeo

David Hofmann wrote:
> Hi!
>
> I wonder if it is possible to add a tab to the EMF Compare Editor to
> enable viewing the differences both in the graphical and in a textual
> comparison.
>
> I already tried extending MessageContentMergeViewer, but found out that
> tabs can not be added by simply subclassing and overwriting methods.
>
> Can you give me any hints to extend the editor re-using the text compare
> function of eclipse? Possibly this function is interesting for other
> users, so it could be integrated in the EMF Compare plugin?
>
> Thanks in advance,
> David


--------------000002060708020500090507
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard


--------------000002060708020500090507--
Previous Topic:[EMF Compare] Comparing Strings
Next Topic:clause "implements" for a EMF generated class
Goto Forum:
  


Current Time: Tue Apr 16 07:29:02 GMT 2024

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

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

Back to the top