Hello All,
I am here for some help. I'm using a 3rd party plugin in my RCP project. However, I am required to change the behaviour of one of the classes in the 3rd party plugin to match my requirement. Here's the scenario:
This is the third party plugin
Code:
Plugin "com.org.thirdparty.plugin"
Package "com.org.logging"
Class "FileLogger"
I have to change behaviour of this class and since I can not change the 3rd party plugin, I create a class with the same name in my plugin and implement my custom behaviour.
This is my plugin
Code:
Plugin "MyPlugin"
Package "com.org.logging"
Class "FileLogger"
However, on execution, my implementation of FileLogger never gets called. All calls still execute the FileLogger from the 3rd party plugin.
How can I override the 3rd party plugin's FileLogger completely with my FileLogger without making changes to the 3rd party plugin?
Is this possible?