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 #535 (closed task: fixed)

Opened 2011-05-20T15:53:56-05:00

Last modified 2011-05-20T15:57:34-05:00

Add dirty bit tracking to Dataset

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: May-09 to May-20
Component: Data Model Version:
Severity: serious Keywords:
Cc: Blocked By:


Create a dirty bit facility for Dataset. Update flag when data changes take place for Datasets and their associated ImgPluses and Imgs.

Change History

comment:1 Changed 2011-05-20T15:57:34-05:00 by bdezonia

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

Added in 40be2ad269d824182a2ef35b8ff8881dbadb25b4. Tracking in Dataset class. Users of the DatasetEvents mechanism do not need to do anything. Anyone can call dataset.setDirty(true/false) and dataset.isDirty() as needed. This dirty flag tracks whether internal data is different than original source data.