Ticket #1496 (closed defect: fixed)

Opened 8 years ago

Last modified 6 years ago

Deconflate JHotDrawAdapter from Tool

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej2-b9-rois
Component: Plugin Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1399


The JHotDrawAdapter is currently a special type of tool. Each of JHotDrawAdapter and Tool provide completely different methods for dealing with their portion of a JHotDraw-based ImageJ tool. However, not every JHotDrawAdapter should be a Tool. The SwingGeneralPathTool, for example, should only be a JHotDrawAdapter binding a GeneralPathOverlay to a SwingGeneralPathFigure.

The solution is to split these two logical halves into two separate types of plugins. JHotDrawAdapter should be its own type of ImageJPlugin independent of Tool. The Tool part of the logic should be implemented as a Tool. So each JHotDraw-based ImageJ tool would consist of two classes (a JHotDrawAdapter and a Tool).

Change History

comment:1 Changed 6 years ago by curtis

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

Fixed on 27 Feb 2013: db538731f6222433416d8fa08cf5be35f3293923

Note: See TracTickets for help on using tickets.