Skip to content

Hybridise the legacy plugins#400

Merged
mdoube merged 11 commits into
masterfrom
399-use-parameters-not-gd
Jun 1, 2026
Merged

Hybridise the legacy plugins#400
mdoube merged 11 commits into
masterfrom
399-use-parameters-not-gd

Conversation

@mdoube

@mdoube mdoube commented May 15, 2026

Copy link
Copy Markdown
Member

Allow the legacy plugins to expose a modern API (@parameters, ImgLib scijava ImageJ2) to be friendlier to Python callers, while maintaining the legacy behaviour. Essentially, use Dataset for input and output and ImagePlus under the hood.

@mdoube mdoube linked an issue May 15, 2026 that may be closed by this pull request
mdoube added 8 commits May 16, 2026 15:33
This means Connectivity can be called from Python on a Dataset
and IJ Macro with an open image, and IJ GUI. The under the hood
behaviour is all legacy IJ1.
ImagePlus based.
Put Hybrid Connectivity in the menu with no submenu.
This means that Purify can be called headless from Python using
scijava Datasets as input and output.
This is now a hybrid plugin with both IJ1 run(String arg) and IJ2 run()
methods.
Uses Dataset for image IO and the modern results table.
mdoube added 2 commits May 29, 2026 18:41
The logic is all still the same, just with scijava handling IO
and options, and ImagePlus being used under the hood.
Also remove AWT dialog listeners.
The legacy dialogs were essentially unreachable and more or less
pointless to include. Main benefit was marginally better UX in the GUI.
@mdoube mdoube merged commit 2ac05dd into master Jun 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use @Parameters rather than GenericDialog for all plugins

1 participant