Class SeedPointEditDialog

java.lang.Object
sc.fiji.snt.seed.SeedPointEditDialog

public class SeedPointEditDialog extends Object
Modal seed editor with two modes:
  • Single: One seed, all nine fields (X, Y, Z, confidence, radius, channel, frame, type, source) are shown and editable; Save rebuilds an immutable SeedPoint and applies it via SeedOverlay.replaceAt(int, SeedPoint); Delete removes the seed.
  • Bulk: Rwo or more seeds (or "all" when no selection): coordinate fields (X, Y, Z) are hidden. Remaining fields are pre-filled from the first seed but only those the user actually edits are applied to every seed in the batch (others are preserved per seed). Delete removes all seeds in the batch after a confirmation.

Entry points: editAt(Component, SeedOverlay, int) for single mode, editBulk(Component, SeedOverlay, List) for bulk mode. Both defensively re-resolve each seed by reference (via SeedOverlay.indexOf(SeedPoint)) before mutation, in case the list has shifted while the modal was open.

Author:
Tiago Ferreira
See Also: