]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.maps.elevation.server.ui/src/org/simantics/maps/elevation/server/ui/MapsElevationServerPreferencePage.java
Add profile to show bounding boxes for elevation server
[simantics/district.git] / org.simantics.maps.elevation.server.ui / src / org / simantics / maps / elevation / server / ui / MapsElevationServerPreferencePage.java
index 43200ce98a74cd07a26c87ed1625e2ce7d8eba67..a014c315aa02c094d4139f650233ea807d4fa443 100644 (file)
@@ -39,6 +39,7 @@ public class MapsElevationServerPreferencePage extends FieldEditorPreferencePage
         addField(automatically);
 
         IntegerFieldEditor pipeDepth = new IntegerFieldEditor(MapsElevationServerPreferences.P_PIPE_DEPTH_UNDER_GROUND, "Pipe depth under ground", serverGroup);
+        pipeDepth.setValidRange(Integer.MIN_VALUE, Integer.MAX_VALUE);
         addField(pipeDepth);
         
         GridLayoutFactory.fillDefaults().numColumns(2).equalWidth(false).extendedMargins(12, 12, 12, 12).spacing(5, 4).applyTo(serverGroup);