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

Opened 2011-12-02T20:17:07-06:00

Last modified 2012-02-06T15:45:24-06:00

SLIM Plugin - fix display plugin concept

Reported by: aivar Owned by: aivar
Priority: major Milestone:
Component: Spectral Lifetime Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Find a better way to initiate SLIM Plugin.

The IJ2 display plugin concept would launch SLIM Plugin when loading files with lifetime dimensions. If many plugins want to deal with lifetime IJ2 should pop up a list to choose from.

(This has been broken for a while, so SLIM Plugin currently allows users to choose an input file with a very poor file dialog.)

Change History

comment:1 Changed 2011-12-02T20:17:22-06:00 by aivar

  • Status changed from new to accepted

comment:2 Changed 2011-12-05T12:34:34-06:00 by aivar

  • Component changed from other to slim

comment:3 Changed 2012-01-26T15:38:13-06:00 by curtis

Since SLIM Plugin is not coded with IJ2 APIs, it cannot use the "@Plugin(type = Display.class)" syntax. As it migrates, it should be able to do so, and therefore work as you describe.

In the meantime, while it is still IJ1-based, why not use ij.io.OpenDialog to prompt for the file? This is much nicer than SLIM Plugin's current method of a plain text field.

comment:4 Changed 2012-02-06T15:45:24-06:00 by aivar

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

Moved to LOCI Trac:  loci-software#671