Changeset 34135 in osm for applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java
- Timestamp:
- 2018-03-27T11:48:29+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java
r34013 r34135 113 113 // Shortcuts 114 114 SpaceShortcut = Shortcut.registerShortcut("mapmode:space", 115 tr("ConfirmObjectDrawing"), KeyEvent.VK_SPACE, Shortcut.DIRECT);115 "ConfirmObjectDrawing", KeyEvent.VK_SPACE, Shortcut.DIRECT); 116 116 this.SpaceAction = new SpaceAction(); 117 117 MainApplication.registerActionShortcut(SpaceAction, SpaceShortcut); 118 118 119 119 EnterShortcut = Shortcut.registerShortcut("mapmode:enter", 120 tr("ConfirmMultipolygonSelection"), KeyEvent.VK_ENTER, Shortcut.DIRECT);120 "ConfirmMultipolygonSelection", KeyEvent.VK_ENTER, Shortcut.DIRECT); 121 121 this.EnterAction = new EnterAction(); 122 122 MainApplication.registerActionShortcut(EnterAction, EnterShortcut); … … 167 167 168 168 /** 169 * The listener which provides the handling of the apply button.169 * The listener which provides the handling of the applyButton. 170 170 * Gets the texts which were written by the user and writes them to the OSM-data. 171 171 * After that it checks the tagged data with the built-in validator file. … … 258 258 259 259 /** 260 * The listener which is called when the help button got pushed.260 * The listener which is called when the helpButton got pushed. 261 261 * 262 262 * @author rebsc … … 266 266 @Override 267 267 public void actionPerformed(ActionEvent e) { 268 String topic = "Plugin/ indoorHelper";268 String topic = "Plugin/IndoorHelper"; 269 269 //Open HelpBrowser for short description about the plugin 270 270 HelpBrowser.setUrlForHelpTopic(Optional.ofNullable(topic).orElse("/")); … … 273 273 274 274 /** 275 * The listener which is called when the add levelbutton got pushed.275 * The listener which is called when the addLevelButton got pushed. 276 276 * 277 277 * @author rebsc … … 498 498 499 499 /** 500 * Shortcut for Spacebar500 * Shortcut for spacebar 501 501 * @author rebsc 502 502 */ … … 540 540 541 541 /** 542 * Shortcut for Enter542 * Shortcut for enter 543 543 * @author rebsc 544 544 */ … … 562 562 563 563 /** 564 * Function which unset the disabled state of currently hidden and/or disabled objects which have a 564 * Function which unsets the disabled state of currently hidden and/or disabled objects which have a 565 565 * specific tag (key). Just unsets the disabled state if object has a tag-value which is part of the 566 566 * current working level. 567 * Specific example: key: repeat_on ; value: 1-4; 568 * If current selected workinglevel is "3" all objects with the leveltag "level=3" are hidden but the 569 * objects with the key "repeat_on" and the value which includes "3" or is (minValue+1) - maxValue (4-...), 570 * because repeat_on tag starts on the current workinglevel+1. 567 * 571 568 * @author rebsc 572 569 * @param key sepcific key to unset hidden objects which contains it
Note:
See TracChangeset
for help on using the changeset viewer.