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 #1496 (closed defect: fixed)

Opened 2012-09-21T13:41:08-05:00

Last modified 2014-05-01T05:20:16-05:00

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

Description

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 2014-05-01T05:20:16-05:00 by curtis

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

Fixed on 27 Feb 2013: db538731f6222433416d8fa08cf5be35f3293923