It's all about the answers!

Ask a question

Add a new external compare tool in the preference page


Rajagopal Subhash (1226) | asked Apr 24 '15, 12:36 a.m.
Hello All,
         I want to add a new compare tool in External Compare tools preference page in eclipse RCP. I want to do this programmatically.
         I am extending  com.ibm.team.filesystem.rcp.core.externalCompareTool extension point.
      <extension point="com.ibm.team.filesystem.rcp.core.externalCompareTool">
                   <externalCompareTool  class="test.CustomCompareTool"></externalCompareTool>
      </extension>
        In the documentation , it is said that the class CustomCompareTool should extend the below class. com.ibm.team.filesystem.rcp.core.compare.AbstractExternalCompareTool 
       
I getting Access Restriction Error whenever I try to extend AbstractExternalCompareTool class.
        I am getting access error only for some classes.
Note: I have added all the required dependencies in my plugin.xml.
        Please tell me how to proceed?

Regards,
Rajagopal

One answer



permanent link
Glenn Bardwell (58621527) | answered Apr 24 '15, 11:30 a.m.
JAZZ DEVELOPER

See http://www.eclipsezone.com/eclipse/forums/t97259.html to understand the meaning of the error.

See http://stackoverflow.com/questions/1089904/access-restriction-on-class-due-to-restriction-on-required-library for a couple of possible fixes, depending on what class you're trying to use.

If these don't seem relevant, let me know the specifics of what you aren't able to access.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.