EMF Compare Editor: How to add text compare tab? [message #509499] |
Fri, 22 January 2010 16:01 |
Eclipse User |
|
|
|
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 |
|
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 |
|
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--
|
|
|
Powered by
FUDForum. Page generated in 0.03122 seconds