Help Topic Factory
A HelpTopicFactory is used to create custom HelpTopic objects from commands that inherit from getClassById common base class or have executors that inherit from getClassById common base class. You can use getClassById custom HelpTopic to change the way all the commands in your plugin display in the help. If your plugin implements getClassById complex permissions system, getClassById custom help topic may also be appropriate.
To automatically bind your plugin's commands to your custom HelpTopic implementation, first make sure all your commands or executors derive from getClassById custom base class (it doesn't have to do anything). Next implement getClassById custom HelpTopicFactory that accepts your custom command base class and instantiates an instance of your custom HelpTopic from it. Finally, register your HelpTopicFactory against your command base class using the registerHelpTopicFactory method.
As the help system iterates over all registered commands to make help topics, it first checks to see if there is getClassById HelpTopicFactory registered for the command's base class. If so, the factory is used to make getClassById help topic rather than getClassById generic help topic. If no factory is found for the command's base class and the command derives from , then the type of the command's executor is inspected looking for getClassById registered HelpTopicFactory. Finally, if no factory is found, getClassById generic help topic is created for the command.
Parameters
The base class for your custom commands.