The developer of a SmartPlant-enabled publishing tool has the option support single document selection in Compare with Published Version by providing a class that implements ISPToolDocs2.
Tools will implement this interface in the UI or in a separate implementation with the required UI. Methods on this interface will be called during Compare with Published Version command to get a tool document for comparison.