Ticket #671 (new defect)

Opened 3 months ago

Last modified 4 weeks ago

SLIM Plugin: fix display plugin concept

Reported by: aivar Owned by: aivar
Priority: major Milestone: slimplugin1.2
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 3 months ago 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 3 months ago by aivar

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

comment:3 Changed 2 months ago by aivar

  • Milestone set to slimplugin1.1

comment:4 Changed 4 weeks ago by aivar

  • Milestone changed from slimplugin1.1 to slimplugin1.2
Note: See TracTickets for help on using tickets.