Ticket #899 (closed defect: fixed)

Opened 6 months ago

Last modified 3 months ago

SLIM Plugin - fix display plugin concept

Reported by: aivar Owned by: aivar
Priority: major Milestone:
Component: slim 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 6 months ago by aivar

  • Status changed from new to accepted

comment:2 Changed 6 months ago by aivar

  • Component changed from other to slim

comment:3 Changed 4 months ago 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 3 months ago by aivar

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.