- Timestamp:
- 2015-10-04T17:53:03+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r8812 r8821 249 249 JCheckBox allElements = new JCheckBox(tr("all objects"), initialValues.allElements); 250 250 allElements.setToolTipText(tr("Also include incomplete and deleted objects in search.")); 251 final JCheckBox regexSearch = new JCheckBox(tr("regular expression"), initialValues.regexSearch); 252 final JCheckBox mapCSSSearch = new JCheckBox(tr("MapCSS selector"), initialValues.mapCSSSearch); 251 final JRadioButton standardSearch = new JRadioButton(tr("standard"), !initialValues.regexSearch && !initialValues.mapCSSSearch); 252 final JRadioButton regexSearch = new JRadioButton(tr("regular expression"), initialValues.regexSearch); 253 final JRadioButton mapCSSSearch = new JRadioButton(tr("MapCSS selector"), initialValues.mapCSSSearch); 253 254 final JCheckBox addOnToolbar = new JCheckBox(tr("add toolbar button"), false); 254 255 final ButtonGroup bg2 = new ButtonGroup(); 256 bg2.add(standardSearch); 255 257 bg2.add(regexSearch); 256 258 bg2.add(mapCSSSearch); … … 267 269 if (Main.pref.getBoolean("expert", false)) { 268 270 left.add(allElements, GBC.eol()); 271 left.add(addOnToolbar, GBC.eop()); 272 left.add(standardSearch, GBC.eol()); 269 273 left.add(regexSearch, GBC.eol()); 270 274 left.add(mapCSSSearch, GBC.eol()); 271 left.add(addOnToolbar, GBC.eol());272 275 } 273 276
Note:
See TracChangeset
for help on using the changeset viewer.