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 #913 (closed enhancement: fixed)

Opened 2011-12-14T16:20:02-06:00

Last modified 2011-12-21T09:46:59-06:00

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 2011-12-21T09:46:59-06:00 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.