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: |
|
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:2 Changed 2012-02-06T15:46:51-06:00 by aivar
Thanks for the suggestion, Curtis, I am now using OpenDialog.
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
Moved to github: https://github.com/uw-loci/slim-plugin/issues/20
(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.