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 #671 (closed feature: fixed)

Opened 2012-02-06T15:44:04-06:00

Last modified 2013-12-06T15:35:19-06:00

SLIM Plugin: fix display plugin concept

Reported by: aivar Owned by: aivar
Priority: minor Milestone: slimplugin2.0
Component: slim-plugin 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 2012-02-06T15:44:55-06:00 by aivar

(Comment "changed 11 days ago by curtis", moved from ImageJ Trac.)

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:2 Changed 2012-02-06T15:46:51-06:00 by aivar

Thanks for the suggestion, Curtis, I am now using OpenDialog.

comment:3 Changed 2012-03-05T09:53:51-06:00 by aivar

  • Milestone set to slimplugin1.1

comment:4 Changed 2012-04-16T13:13:21-05:00 by aivar

  • Milestone changed from slimplugin1.1 to slimplugin1.2

comment:5 Changed 2012-07-16T10:03:48-05:00 by aivar

  • Priority changed from major to minor
  • Type changed from defect to feature

comment:6 Changed 2013-12-06T15:35:19-06:00 by aivar

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