We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76acbea commit 8d9bfd4Copy full SHA for 8d9bfd4
org.knime.scijava.commands/src/org/knime/scijava/commands/settings/DefaultSettingsModelTypeService.java
@@ -56,14 +56,9 @@ public SettingsModelType getSettingsModelTypeFor(
56
57
@Override
58
public SettingsModelType getSettingsModelTypeFor(final ModuleItem<?> item) {
59
-
60
- // FIXME why do I need this check in case of scripts?... Why should you
61
- // not?
62
- if (item.getWidgetStyle() != null
63
- && item.getWidgetStyle().equals(StyleHook.COLUMNSELECTION)) {
+ if (StyleHook.COLUMNSELECTION.equals(item.getWidgetStyle())) {
64
return new SettingsModelColumnSelectionType();
65
} else {
66
67
// check cache
68
final SettingsModelType plugin = m_pluginsByValue
69
.get(item.getType());
0 commit comments