Ticket #1376 (closed task: fixed)

Opened 7 years ago

Last modified 7 years ago

Convert Uploader annotation to a Plugin type

Reported by: curtis Owned by: curtis
Priority: minor Milestone: imagej2-b4-plugins
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:1 Changed 7 years ago by curtis

  • Status changed from new to accepted

comment:2 Changed 7 years ago 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.

comment:3 Changed 7 years ago by curtis

  • Status changed from accepted to closed
  • Resolution set to fixed

Merged to master in ac215f73.

Note: See TracTickets for help on using tickets.