scijava-common
scijava-common copied to clipboard
A plugin framework and application container with built-in extensibility mechanism :electric_plug:
This adds support for widget groups by adding ItemVisibility.GROUP and Parameter annotations group and expanded as well as all related implementations to interfaces and default classes. Intended use is for...
This commit fixes an issue caused by calling the Location version of the method supportsOpen() in all cases when many IOPlugin do not yet implement that Location version of that...
The method `DefaultModuleService#getSingleItem` is used for both inputs and outputs, but this line only checks the input: https://github.com/scijava/scijava-common/blob/beb6de2d8a31d3e783123a25eefc8b7e9dbef855/src/main/java/org/scijava/module/DefaultModuleService.java#L498 See also https://github.com/scijava/scijava-common/pull/423#discussion_r633126331.
This allows to define a way to derive names from objects of third party libraries, e.g. for use in `ObjectService`, where objects are registered with a name and can be...
As discussed in https://github.com/imagej/imagej-common/issues/71, it would be nice to have a *Load from file...* option whenever we show a choice dropdown for arbitrary objects (including, but not limited to, images)...
Currently, [`FileListPreprocessor`](https://github.com/scijava/scijava-common/blob/46ca0d04c5c86eeb51f9daa9f130b0d7c8decd65/src/main/java/org/scijava/ui/FileListPreprocessor.java) implements its own logic to get a suitable `File[]` input (and it doesn't respect `autofill=false` annotations): https://github.com/scijava/scijava-common/blob/46ca0d04c5c86eeb51f9daa9f130b0d7c8decd65/src/main/java/org/scijava/ui/FileListPreprocessor.java#L84-L87 Let's instead extend [`AbstractSingleInputPreprocessor`](https://github.com/scijava/scijava-common/blob/46ca0d04c5/src/main/java/org/scijava/module/process/AbstractSingleInputPreprocessor.java) to harmonize the logic.
With version 2.85.0 it is no longer possible to successfully open tif images. Larger images put the CPU at 100% for minutes, usually takes a second or so. Smaller images...
Human-friendly names can be registered at runtime by calling `ObjectService#addHumanFriendlyName(Class, String)`. Closes #412. I am not sure about the best naming, maybe we can find a better name than `{add|get}HumanFriendlyName`.
This makes it easier to retrieve a `ScriptInfo` object from a script string (without going via `File`). Closes #389.
I love the implicit irony of this (almost) duplicated paragraph, but it is indeed redundant. So let's remove it to be more concise.