Ticket #913 (closed enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

Roll Tools into Plugin annotation

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej2-b3-headless
Component: Plugin Framework Version:
Severity: non-issue Keywords:
Cc: Blocked By:
Blocking:

Description

Rather than having ITool/Tool as a separate SezPoz annotation, why not have Tool be another type of Plugin? There is nearly complete overlap between the annotation parameters. Tool only has two extra flags, alwaysActive and activeInAppFrame, which we could model using subclasses of the Tool interface instead, to mark these different kinds of tools. Then we could get rid of the confusing IndexItemInfo class, and have PluginInfo encompass it all—much simpler!

Change History

comment:1 Changed 8 years ago by curtis

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

(In [4653]) Reduce complexity of tool framework

Rather than having their own annotations, a tool is now a type of
plugin. This eliminates the need for IndexItemInfo, ToolInfo, and the
Tool annotation.

Closes #913.

Note: See TracTickets for help on using tickets.