Changeset 11090 in josm for trunk/src/org/openstreetmap/josm/gui/preferences
- Timestamp:
- 2016-10-07T19:57:30+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/display/DrawingPreference.java
r10611 r11090 43 43 private final JCheckBox onewayArrow = new JCheckBox(tr("Draw oneway arrows.")); 44 44 private final JCheckBox segmentOrderNumber = new JCheckBox(tr("Draw segment order numbers")); 45 private final JCheckBox segmentOrderNumberOnSelectedWay = new JCheckBox(tr("Draw segment order numbers on selected way")); 45 46 private final JCheckBox sourceBounds = new JCheckBox(tr("Draw boundaries of downloaded data")); 46 47 private final JCheckBox virtualNodes = new JCheckBox(tr("Draw virtual nodes in select mode")); … … 92 93 segmentOrderNumber.setToolTipText(tr("Draw the order numbers of all segments within their way.")); 93 94 segmentOrderNumber.setSelected(Main.pref.getBoolean("draw.segment.order_number", false)); 95 segmentOrderNumberOnSelectedWay.setToolTipText(tr("Draw the order numbers of all segments within their way.")); 96 segmentOrderNumberOnSelectedWay.setSelected(Main.pref.getBoolean("draw.segment.order_number.on_selected", false)); 94 97 95 98 // downloaded area … … 136 139 panel.add(onewayArrow, GBC.eop().insets(20, 0, 0, 0)); 137 140 panel.add(segmentOrderNumber, GBC.eop().insets(20, 0, 0, 0)); 141 panel.add(segmentOrderNumberOnSelectedWay, GBC.eop().insets(20, 0, 0, 0)); 138 142 139 143 panel.add(new JLabel(tr("Select and draw mode options")), … … 176 180 Main.pref.put("draw.oneway", onewayArrow.isSelected()); 177 181 Main.pref.put("draw.segment.order_number", segmentOrderNumber.isSelected()); 182 Main.pref.put("draw.segment.order_number.on_selected", segmentOrderNumberOnSelectedWay.isSelected()); 178 183 Main.pref.put("draw.data.downloaded_area", sourceBounds.isSelected()); 179 184 Main.pref.put("draw.data.inactive_color", inactive.isSelected());
Note:
See TracChangeset
for help on using the changeset viewer.