displayName to path (2)

This commit is contained in:
Kea Horvath committed 2023-04-07 16:04:20 +02:00
1 parent 64e784aecb
commit ffc9f315ff
3 files changed
+6 -6

No files matched your search

@@ -5,8 +5,8 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
public class AreaParameter extends Parameter { public class AreaParameter extends Parameter {
public AreaParameter(String name, String displayName) { public AreaParameter(String name, String path) {
super(name, displayName, "area"); super(name, path, "area");
} }
@Override @Override
@@ -8,8 +8,8 @@ public class DoubleParameter extends Parameter {
private final double max; private final double max;
private final double step; private final double step;
public DoubleParameter(String name, String displayName, double min, double max, double step) { public DoubleParameter(String name, String path, double min, double max, double step) {
super(name, displayName, "range"); super(name, path, "range");
this.max = max; this.max = max;
this.min = min; this.min = min;
this.step = step; this.step = step;
@@ -8,8 +8,8 @@ public class IntegerParameter extends Parameter {
private final int max; private final int max;
private final int step; private final int step;
public IntegerParameter(String name, String displayName, int min, int max, int step) { public IntegerParameter(String name, String path, int min, int max, int step) {
super(name, displayName, "range"); super(name, path, "range");
this.max = max; this.max = max;
this.min = min; this.min = min;
this.step = step; this.step = step;