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
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
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.