Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-team-dev] Re: Trouble with org.eclipse.compare.contentViewers extension point

Hello,

I am using Eclipse 3.2.

I am trying to create a new plug in for comparing
files. The intention is to compare two files without
the need to merge them. Based on the research I did my
plug-in had to use the
org.eclipse.compare.contentViewers extension point.

I wrote my plug-in and it is being loaded however the
creator method is not being invoked. Also compare
class which I wrote is not being accessed at all.
Eclipse keeps using its built-in compare/mergeeditor.

What I need to know is whether I was suppose to
register my comparison class with a class/registry
other than the plug in registry?

Below is a copy of my plugin.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
   <extension point="org.eclipse.ui.startup">
    <startup class="RTFCompareActivator" />
   </extension>
   <extension
        point="org.eclipse.compare.contentViewers">
    <viewer id="RTFCompare"
        class="RTFCompareCreator"
         extensions="rtf"
        />
   </extension>
</plugin>


Thanks in advance.



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/


Back to the top