Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Jython for Icy
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bioimage Analysis
Jython for Icy
Compare revisions
1d9ea2c8511b2fbede7c6ba93c9bf2e2d5de5a0d to 14c6d5b04dcd940a620f23f3d852325dfe8b3966
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
bia/jython-for-icy
Select target project
No results found
14c6d5b04dcd940a620f23f3d852325dfe8b3966
Select Git revision
Branches
master
update-pom-parent
Swap
Target
bia/jython-for-icy
Select target project
bia/jython-for-icy
1 result
1d9ea2c8511b2fbede7c6ba93c9bf2e2d5de5a0d
Select Git revision
Branches
master
update-pom-parent
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Implement the new PluginScriptFactory interface
· ff6017d5
Stéphane DALLONGEVILLE
authored
2 years ago
ff6017d5
Updated to use new parent pom and updated kernel dependency to 2.4.3 for the new interface.
· 14c6d5b0
Stéphane DALLONGEVILLE
authored
2 years ago
14c6d5b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pom.xml
+9
-3
9 additions, 3 deletions
pom.xml
src/main/java/plugins/tlecomte/jythonForIcy/JythonForIcy.java
+11
-1
11 additions, 1 deletion
...main/java/plugins/tlecomte/jythonForIcy/JythonForIcy.java
with
20 additions
and
4 deletions
pom.xml
View file @
14c6d5b0
...
...
@@ -6,12 +6,12 @@
<parent>
<groupId>
org.bioimageanalysis.icy
</groupId>
<artifactId>
p
arent-pom-plugin
</artifactId>
<version>
1.0.3
</version>
<artifactId>
p
om-icy
</artifactId>
<version>
2.1.2
</version>
</parent>
<artifactId>
jython
</artifactId>
<version>
2.8.
0
</version>
<version>
2.8.
1
</version>
<packaging>
jar
</packaging>
...
...
@@ -21,6 +21,12 @@
</description>
<dependencies>
<dependency>
<groupId>
org.bioimageanalysis.icy
</groupId>
<artifactId>
icy-kernel
</artifactId>
<version>
2.4.3
</version>
</dependency>
<dependency>
<groupId>
org.bioimageanalysis.icy
</groupId>
<artifactId>
ezplug
</artifactId>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/plugins/tlecomte/jythonForIcy/JythonForIcy.java
View file @
14c6d5b0
...
...
@@ -6,18 +6,22 @@ import java.util.concurrent.ExecutorService;
import
java.util.concurrent.Executors
;
import
java.util.concurrent.Future
;
import
javax.script.ScriptEngineFactory
;
import
org.python.core.Py
;
import
org.python.core.PySystemState
;
import
org.python.jsr223.PyScriptEngineFactory
;
import
icy.file.xml.XMLPersistentHelper
;
import
icy.plugin.abstract_.Plugin
;
import
icy.plugin.interface_.PluginDaemon
;
import
icy.plugin.interface_.PluginLibrary
;
import
icy.plugin.interface_.PluginScriptFactory
;
import
icy.util.ClassUtil
;
import
icy.util.XMLUtil
;
@PythonLibraries
public
class
JythonForIcy
extends
Plugin
implements
PluginDaemon
,
PluginLibrary
public
class
JythonForIcy
extends
Plugin
implements
PluginDaemon
,
PluginLibrary
,
PluginScriptFactory
{
final
String
TIMESTAMPS_FILENAME
=
"ExtractDescriptor"
;
...
...
@@ -104,4 +108,10 @@ public class JythonForIcy extends Plugin implements PluginDaemon, PluginLibrary
// ignore
}
}
@Override
public
ScriptEngineFactory
getScriptEngineFactory
()
{
return
new
PyScriptEngineFactory
();
}
}
This diff is collapsed.
Click to expand it.