First you will also need to add a dependency for the SideKick plugin in your plugin's property file:
plugin.MyPlugin.depend.n=plugin sidekick.SideKickPlugin 0.1
Note that you must replace n with the
appropriate number, as dependency properties must have consecutive numbers.
All SideKick plugin classes are in the sidekick package; you will need to add import statements where appropriate.
Parser instances must be registered using the services.xml file. With this, you define a service which returns a derived instance of SideKickParser
<?xml version="1.0"?>
<!DOCTYPE SERVICES SYSTEM "services.dtd">
<SERVICES>
<SERVICE CLASS="sidekick.SideKickParser" NAME="xml">
new xml.parser.SAXParserImpl();
</SERVICE>
</SERVICES>