Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
add doc comments to separate shortcut detection
Browse files Browse the repository at this point in the history
  • Loading branch information
stoecker committed Apr 28, 2023
1 parent 9abf324 commit 6f54b6a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,28 @@
*/
public class ImageNavigationDialog extends ToggleDialog
implements LayerManager.LayerChangeListener, IGeoImageLayer.ImageChangeListener {
/* Shortcut for image navigation: forward */
private static final Shortcut FORWARD = Shortcut.registerShortcut("mapillary:image_navigation:forward",
tr("Mapillary: Image Navigation: Forward"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
/* Shortcut for image navigation: left */
private static final Shortcut LEFT = Shortcut.registerShortcut("mapillary:image_navigation:left",
tr("Mapillary: Image Navigation: Left"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
/* Shortcut for image navigation: right */
private static final Shortcut RIGHT = Shortcut.registerShortcut("mapillary:image_navigation:right",
tr("Mapillary: Image Navigation: Right"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
/* Shortcut for image navigation: turn left */
private static final Shortcut TURN_LEFT = Shortcut.registerShortcut("mapillary:image_navigation:turn_left",
tr("Mapillary: Image Navigation: Turn Left"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
/* Shortcut for image navigation: turn right */
private static final Shortcut TURN_RIGHT = Shortcut.registerShortcut("mapillary:image_navigation:turn_right",
tr("Mapillary: Image Navigation: Turn Right"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
/* Shortcut for image navigation: reverse */
private static final Shortcut U_TURN = Shortcut.registerShortcut("mapillary:image_navigation:reverse",
tr("Mapillary: Image Navigation: Reverse"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
/* Shortcut for image navigation: back */
private static final Shortcut BACK = Shortcut.registerShortcut("mapillary:image_navigation:back",
tr("Mapillary: Image Navigation: Back"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
/* Shortcut for image navigation: 360deg panoramic */
private static final Shortcut PANO = Shortcut.registerShortcut("mapillary:image_navigation:pano",
tr("Mapillary: Image Navigation: 360 panoramic"), Shortcut.NONE, KeyEvent.CHAR_UNDEFINED);
private ImageNavigation imageNavigation;
Expand Down

0 comments on commit 6f54b6a

Please sign in to comment.