The publishing tool’s class that allows the user to support single document selection in project mode must implement ISPToolDocsForProject2, which is defined in SmartPlantInterfaces.dll. SmartPlant Client.Net instantiates this implementation class and executes the class’s methods.
The implementation class must inherit SPCLToolSerialization.
Below is a VB.NET example of the beginning of an implementation class for ISPToolDocsForProject2:
Class SPCLSPToolDocs
Inherits SPCLToolSerialization
Implements ISPToolDocsForProject2
A single class can implement both ISPToolDocsForProject and ISPToolDocsForProject2.