Ticket #1376 (closed task: fixed)
Opened 2012-08-07T14:43:58-05:00
Last modified 2012-08-13T15:52:12-05:00
Convert Uploader annotation to a Plugin type
Reported by: | curtis | Owned by: | curtis |
---|---|---|---|
Priority: | minor | Milestone: |
|
Component: | Plugin Framework | Version: | |
Severity: | minor | Keywords: | |
Cc: | dscho | Blocked By: | |
Blocking: | #993, #1052 |
Description
As part of the effort to standardize discovered elements to use ImageJ's Plugin whenever possible, the Uploader SezPoz annotation could use the Plugin annotation instead, as a new type of IPlugin.
The main obstacle here is that Uploader adds a new API method protocol() but we can easily solve that the same way the new API of Platform was solved: add a getProtocol() to the IPlugin subinterface. The downside of this approach is that you must create an instance of the Uploader plugin to query its protocol, but given the very small number and complexity of Uploader plugins, this overhead is negligible.
Change History
comment:2 Changed 2012-08-10T17:24:18-05:00 by curtis
I completed initial work on this ticket on the uploader-plugins branch, with the most telling commit being 5bf08269. We'll merge to master soon, pending code review.