The publishing tool’s class that allows the user to add documents to the tree view in the Revise or Publish dialog box after the window is displayed in project mode must implement ISPToolDocsForProject, 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 ISPToolDocsForProject:
Class SPCLSPToolDocs
Inherits SPCLToolSerialization
Implements ISPToolDocsForProject
A single class can implement both ISPToolDocsForProject and ISPToolDocsForProject2 to revise and publish in project mode.