Changeset 34011 in osm for applications/editors/josm/plugins
- Timestamp:
- 2018-01-15T10:39:46+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java
r34007 r34011 113 113 // Shortcuts 114 114 SpaceShortcut = Shortcut.registerShortcut("mapmode:space", 115 "", KeyEvent.VK_SPACE, Shortcut.DIRECT);115 tr("ConfirmObjectDrawing"), KeyEvent.VK_SPACE, Shortcut.DIRECT); 116 116 this.SpaceAction = new SpaceAction(); 117 117 MainApplication.registerActionShortcut(SpaceAction, SpaceShortcut); 118 118 119 EnterShortcut = Shortcut.registerShortcut("mapmode: ALT",120 "", KeyEvent.VK_ENTER, Shortcut.DIRECT);119 EnterShortcut = Shortcut.registerShortcut("mapmode:enter", 120 tr("ConfirmMultipolygonSelection"), KeyEvent.VK_ENTER, Shortcut.DIRECT); 121 121 this.EnterAction = new EnterAction(); 122 122 MainApplication.registerActionShortcut(EnterAction, EnterShortcut); … … 264 264 static class ToolHelpButtonListener implements ActionListener { 265 265 266 267 268 String topic = "indoorHelper";269 270 271 266 @Override 267 public void actionPerformed(ActionEvent e) { 268 String topic = "Plugin/indoorHelper"; 269 //Open HelpBrowser for short description about the plugin 270 HelpBrowser.setUrlForHelpTopic(Optional.ofNullable(topic).orElse("/")); 271 } 272 272 } 273 273
Note:
See TracChangeset
for help on using the changeset viewer.