The publishing tool’s class that allows the user to add documents to the Revise or Publish window’s tree view after the window is displayed must implement ISPToolDocs, which is defined in SmartPlantInterfaces.dll. SmartPlant Client instantiates this implementation class and executes the class’s methods.
The implementation class must inherit SPCLToolSerialization.
Here is a VB.NET example of the beginning of an implementation class for ISPToolDocs:
Class SPCLSPToolDocs
Inherits SPCLToolSerialization
Implements ISPToolDocs
A single class may implement both ISPToolDocs and ISPToolDocs2.