Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Add a new external compare tool in the preference page

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

0 votes



One answer

Permanent link

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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936

Question asked: Apr 24 '15, 12:36 a.m.

Question was seen: 2,456 times

Last updated: Apr 24 '15, 11:30 a.m.

Confirmation Cancel Confirm