scijava-common
scijava-common copied to clipboard
A plugin framework and application container with built-in extensibility mechanism :electric_plug:
To get a map of all parameters for a command (in order to call it via `commandService.run()`), you can query its `CommandInfo` object, like in this Groovy script: ```groovy #@...
In Fiji, run the Widgets JavaScript script template with default values (all zeroes) prior to any persistence. It fails with: ``` java.lang.IllegalArgumentException: Value contains code point U+0000 at java.prefs/java.util.prefs.AbstractPreferences.put(AbstractPreferences.java:257) at...
When annotating an `@Plugin` with a plugin type it is expected that the class be of that type. But the annotation processor does not enforce or even warn when the...
To reproduce: * Start ImageJ (e.g. up-to-date Fiji, with `scijava-common-2.64.0`) * Open two images (e.g. the Blobs sample image twice: Shift+B, Shift+B) * Open the script editor ([) * Paste...
``` ImageJ 2.0.0-rc-61/1.51n; Java 1.8.0_112 [64-bit]; Mac OS X 10.12.6; 402MB of 3641MB (11%) java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NullPointerException at net.imagej.legacy.LegacyService.runLegacyCompatibleCommand(LegacyService.java:291) at net.imagej.legacy.DefaultLegacyHooks.interceptRunPlugIn(DefaultLegacyHooks.java:163) at ij.IJ.runPlugIn(IJ.java) at ij.Executer.runCommand(Executer.java:137) at ij.Executer.run(Executer.java:66) at java.lang.Thread.run(Thread.java:745) Caused...
During a conversation with @ctrueden we created the following plan for further improvements of the scijava-location API: ## Abstraction structure: 1. __Location:__ Contains the metadata, where a file is located,...
Currently, `DefaultConvertService` supports conversion from `File[]` to `String` and vice versa, but the result is wrong (i.e. a `String` representation of the `File[]` array, such as `[Ljava.io.File;@31c3cff5`). The following Groovy...
Adding simple callbacks for interdependent parameters should be possible from within scripts, e.g. in Python: ``` # @ImagePlus imp # @int (label="Width", callback="widthChanged") width # @int (label="Height", callback="heightChanged") height def...
The implicit input directive, of course, is an exception.
As discussed with @ctrueden, this would allow have AutoRun scripts outside the AutoRun folder. Scripts should autorun in priority order. ```groovy #@script(autorun=true, priority="very high") ``` (This requires https://github.com/scijava/scijava-common/issues/294 to be...