Yes, that's the only way.
A File Type plugin like the ACSM plugin (to add import support for the *.acsm file format) cannot have any menu buttons or context menu entries or stuff like that, the only places it can "do something" (gets executed) is A) when importing an ACSM file or B) when clicking the "Customize Plugin" button.
I believe it's theoretically possible to bundle two different plugins in one plugin ZIP file, with the 2nd plugin's only purpose being to add a button that triggers the 1st plugin's "show loaned books" dialog, but I haven't added that yet as it complicates the plugin code quite a bit and I don't really think it's worth the effort.
|