Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Sequence Blocks
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
Container Registry
Model registry
Operate
Environments
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
Sequence Blocks
Commits
29fe0b43
Commit
29fe0b43
authored
4 years ago
by
Daniel Felipe GONZALEZ OBANDO
Browse files
Options
Downloads
Patches
Plain Diff
Fixed: Get file name without extension does not remove extension
parent
f691988a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/tprovoost/sequenceblocks/infos/GetFileName.java
+1
-1
1 addition, 1 deletion
src/plugins/tprovoost/sequenceblocks/infos/GetFileName.java
src/plugins/tprovoost/sequenceblocks/infos/VarColormap.java
+1
-1
1 addition, 1 deletion
src/plugins/tprovoost/sequenceblocks/infos/VarColormap.java
with
2 additions
and
2 deletions
src/plugins/tprovoost/sequenceblocks/infos/GetFileName.java
+
1
−
1
View file @
29fe0b43
...
@@ -42,7 +42,7 @@ public class GetFileName extends Plugin implements SequenceBlock, PluginBundled
...
@@ -42,7 +42,7 @@ public class GetFileName extends Plugin implements SequenceBlock, PluginBundled
result
=
FileUtil
.
getFileName
(
result
);
result
=
FileUtil
.
getFileName
(
result
);
// remove extension ?
// remove extension ?
if
(!
withExtension
.
getValue
().
booleanValue
())
if
(!
withExtension
.
getValue
().
booleanValue
())
FileUtil
.
setExtension
(
result
,
""
);
result
=
FileUtil
.
setExtension
(
result
,
""
);
filename
.
setValue
(
result
);
filename
.
setValue
(
result
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/plugins/tprovoost/sequenceblocks/infos/VarColormap.java
+
1
−
1
View file @
29fe0b43
...
@@ -50,7 +50,7 @@ public class VarColormap extends Var<IcyColorMap>
...
@@ -50,7 +50,7 @@ public class VarColormap extends Var<IcyColorMap>
// create the var editor (combo box type here)
// create the var editor (combo box type here)
final
ComboBox
<
IcyColorMap
>
result
=
new
ComboBox
<
IcyColorMap
>(
this
);
final
ComboBox
<
IcyColorMap
>
result
=
new
ComboBox
<
IcyColorMap
>(
this
);
// get the editor component
// get the editor component
final
JComboBox
combo
=
result
.
getEditorComponent
();
final
JComboBox
<?>
combo
=
result
.
getEditorComponent
();
// and set a specific renderer
// and set a specific renderer
combo
.
setRenderer
(
new
ColormapComboBoxRenderer
(
combo
));
combo
.
setRenderer
(
new
ColormapComboBoxRenderer
(
combo
));
...
...
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