Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
ROI Pool
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
Icy
Extensions
ROI Pool
Commits
2eb23dcf
Commit
2eb23dcf
authored
2 weeks ago
by
Thomas MUSSET
Browse files
Options
Downloads
Patches
Plain Diff
updated to v2.0.0-a.3, downgraded to java 21
parent
8d436003
Branches
icy-3.0.0
Tags
v2.0.0-a.3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pom.xml
+2
-2
2 additions, 2 deletions
pom.xml
src/main/java/plugins/fab/ROIPool/ROIPool.java
+4
-4
4 additions, 4 deletions
src/main/java/plugins/fab/ROIPool/ROIPool.java
with
6 additions
and
6 deletions
pom.xml
+
2
−
2
View file @
2eb23dcf
...
...
@@ -7,11 +7,11 @@
<parent>
<groupId>
org.bioimageanalysis.icy
</groupId>
<artifactId>
pom-icy
</artifactId>
<version>
3.0.0-a.
3
</version>
<version>
3.0.0-a.
4
</version>
</parent>
<artifactId>
roi-pool
</artifactId>
<version>
2.0.0-a.
2
</version>
<version>
2.0.0-a.
3
</version>
<name>
ROI Pool
</name>
<description>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/plugins/fab/ROIPool/ROIPool.java
+
4
−
4
View file @
2eb23dcf
...
...
@@ -195,7 +195,7 @@ public class ROIPool extends PluginActionable implements ActionListener {
final
JButton
roiButton
=
new
JButton
(
name
);
roiButton
.
addActionListener
(
_
->
{
roiButton
.
addActionListener
(
e
->
{
final
ROI
roi
=
ROI
.
createFromXML
(
roiElement
);
final
Sequence
sequence
=
Icy
.
getMainInterface
().
getActiveSequence
();
if
(
sequence
!=
null
)
{
...
...
@@ -206,7 +206,7 @@ public class ROIPool extends PluginActionable implements ActionListener {
final
JButton
removeButton
=
new
JButton
(
"x"
);
removeButton
.
setToolTipText
(
"Remove this ROI from this list."
);
removeButton
.
addActionListener
(
_
->
{
removeButton
.
addActionListener
(
e
->
{
XMLUtil
.
removeAllChildren
(
roiElement
);
XMLUtil
.
removeNode
(
roiElement
.
getParentNode
(),
roiElement
);
XMLUtil
.
saveDocument
(
document
,
XMLFile
);
...
...
@@ -215,7 +215,7 @@ public class ROIPool extends PluginActionable implements ActionListener {
final
JButton
renameButton
=
new
JButton
(
"r"
);
renameButton
.
setToolTipText
(
"Rename ROI"
);
renameButton
.
addActionListener
(
_
->
{
renameButton
.
addActionListener
(
e
->
{
final
Element
nameElement1
=
XMLUtil
.
getElement
(
roiElement
,
"name"
);
final
String
name1
=
XMLUtil
.
getValue
(
nameElement1
,
"roi default name"
);
...
...
@@ -249,7 +249,7 @@ public class ROIPool extends PluginActionable implements ActionListener {
final
Color
color
=
new
Color
(
Integer
.
parseInt
(
XMLUtil
.
getValue
(
colorElement
,
"0"
)));
colorChooserButton
.
setColor
(
color
);
colorChooserButton
.
addColorChangeListener
(
_
->
{
colorChooserButton
.
addColorChangeListener
(
e
->
{
final
Element
colorElement1
=
XMLUtil
.
getElement
(
roiElement
,
ROI
.
ID_COLOR
);
XMLUtil
.
setValue
(
colorElement1
,
""
+
colorChooserButton
.
getColor
().
getRGB
());
XMLUtil
.
saveDocument
(
document
,
XMLFile
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment