NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #111 (closed defect: moved)

Opened 2007-04-12T14:05:40-05:00

Last modified 2014-01-09T13:13:10-06:00

Better data transform changed events

Reported by: sorber Owned by: curtis
Priority: major Milestone: visbio3.50
Component: visbio Severity: serious
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by curtis)

Mouse events cause unnecessary updates to parts of the VisBio GUI—the DatasetPane flickers, and the 'Please wait' message appears in the display window. Currently, the following is the only call in all mouse methods of OverlayTool subclasses that has the effect of updating the display:

overlay.notifyListeners(new TransformEvent(overlay));

Investigate this method!

Change History

comment:1 Changed 2007-04-19T16:34:24-05:00 by sorber

notifyListeners(TransformEvent e) is a method of DataTransform. It passes the event e to transformChanged of all TransformListeners, which include the OverlayTransform, OverlayWidget, TransformLink, and others. The transform event may have one of three id values: DATA_CHANGED, FONT_CHANGED, DATA_REMOVED. Whether a transform listener responds to an event depends on the events id. To solve this problem, may need to:

  • set the id differently in OverlayTool subclasses,
  • use a new, different value for id
  • check the event source as well as the id in the transformChanged method.

comment:2 Changed 2007-06-26T17:59:08-05:00 by sorber

  • Owner changed from sorber to curtis

In addition, it would be nice to have a separate event type for zoom events (or possibly other changes to the projection matrix.) Administrator may wish to update title of this ticket to reflect the more general need for additional event types.

comment:3 Changed 2007-08-01T15:41:42-05:00 by curtis

  • Summary changed from Mouse events trigger unnecessary updates to GUI to Better data transform changed events
  • Description modified
  • Milestone set to visbio3.5

comment:4 Changed 2014-01-09T13:13:10-06:00 by curtis

  • Status changed from new to closed
  • Resolution set to moved
  • Description modified
  • Severity set to serious