displayName to path (2)
This commit is contained in:
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 AreaParameter(String name, String displayName) {
|
||||
super(name, displayName, "area");
|
||||
public AreaParameter(String name, String path) {
|
||||
super(name, path, "area");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -8,8 +8,8 @@ public class DoubleParameter extends Parameter {
|
||||
private final double max;
|
||||
private final double step;
|
||||
|
||||
public DoubleParameter(String name, String displayName, double min, double max, double step) {
|
||||
super(name, displayName, "range");
|
||||
public DoubleParameter(String name, String path, double min, double max, double step) {
|
||||
super(name, path, "range");
|
||||
this.max = max;
|
||||
this.min = min;
|
||||
this.step = step;
|
||||
|
||||
@@ -8,8 +8,8 @@ public class IntegerParameter extends Parameter {
|
||||
private final int max;
|
||||
private final int step;
|
||||
|
||||
public IntegerParameter(String name, String displayName, int min, int max, int step) {
|
||||
super(name, displayName, "range");
|
||||
public IntegerParameter(String name, String path, int min, int max, int step) {
|
||||
super(name, path, "range");
|
||||
this.max = max;
|
||||
this.min = min;
|
||||
this.step = step;
|
||||
|
||||
Reference in new issue
Block a user