-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
## Scripting the Java MoBIE Project Creator | ||
## Using the Java MoBIE Project Creator | ||
|
||
One can create MoBIE projects using Java / Groovy. | ||
One can create MoBIE projects using Java or Groovy. | ||
|
||
Please note that we also support [creating MoBIE projects in python](https://github.com/mobie/mobie-utils-python?tab=readme-ov-file#mobie-utils-python). | ||
|
||
Here are links to example Java / Groovy code: | ||
Groovy scripts can be executed in the Fiji script editor. | ||
In the Fiji menu bar select `File > New Script...`. The script editor will open. | ||
In the script editor menu bar select `Language > Groovy`. | ||
You can then copy and paste the below examples and modify and execute them via the `[ Run ]` button in the script editor. | ||
|
||
- [Create a simple MoBIE project in Java](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.java) | ||
- [Create a simple MoBIE project in Groovy](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.groovy) | ||
Here are links to examples: | ||
|
||
If you would like to see additional examples please [write on the forum](https://forum.image.sc/) and add the `mobie` tag on your post. | ||
- Create a simple MoBIE project in [Java](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.java) or [Groovy](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.groovy) | ||
|
||
If you would like to see additional examples please [write on the forum](https://forum.image.sc/) and add the `mobie` tag on your post, we will then answer asap. |