Writing the plugin.xml file so that the reverse function works, the handler code was in the editors legacy project