NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

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: imagej2-b4-plugins
Component: Plugin Framework Version:
Severity: minor Keywords:
Cc: dscho Blocked By:
Blocking: #993, #1052


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 2012-08-09T17:13:13-05:00 by curtis

  • Status changed from new to accepted

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.

comment:3 Changed 2012-08-13T15:52:12-05:00 by curtis

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

Merged to master in ac215f73.