Changeset 13106 in josm
- Timestamp:
- 2017-11-10T01:11:04+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
r12641 r13106 87 87 } 88 88 89 /** 90 * Converts this {@code PolarCoor} to an {@link EastNorth} instance. 91 * @return a new {@code EastNorth} instance 92 */ 89 93 public EastNorth toEastNorth() { 90 94 return new EastNorth(radius * Math.cos(angle - azimuth) + origin.east(), radius * Math.sin(angle - azimuth) -
trunk/src/org/openstreetmap/josm/actions/CopyCoordinatesAction.java
r12581 r13106 20 20 public class CopyCoordinatesAction extends JosmAction { 21 21 22 /** 23 * Constructs a new {@code CopyCoordinatesAction}. 24 */ 22 25 public CopyCoordinatesAction() { 23 26 super(tr("Copy Coordinates"), null, -
trunk/src/org/openstreetmap/josm/actions/DownloadPrimitiveAction.java
r12636 r13106 23 23 public class DownloadPrimitiveAction extends JosmAction { 24 24 25 /** 26 * Action shortcut (ctrl-shift-O by default), made public in order to be used from {@code GettingStarted} page. 27 */ 25 28 public static final Shortcut SHORTCUT = Shortcut.registerShortcut("system:download_primitive", tr("File: {0}", tr("Download object...")), 26 29 KeyEvent.VK_O, Shortcut.CTRL_SHIFT); … … 37 40 @Override 38 41 public void actionPerformed(ActionEvent e) { 39 40 42 DownloadObjectDialog dialog = new DownloadObjectDialog(); 41 43 if (dialog.showDialog().getValue() != dialog.getContinueButtonIndex()) return; … … 45 47 46 48 /** 49 * Submits the download task for the given primitive ids. 47 50 * @param newLayer if the data should be downloaded into a new layer 48 51 * @param ids List of primitive id to download -
trunk/src/org/openstreetmap/josm/actions/ExpertToggleAction.java
r12637 r13106 43 43 44 44 /** 45 * Register a expert mode change listener 45 * Register a expert mode change listener. 46 46 * 47 47 * @param listener the listener. Ignored if null. … … 51 51 } 52 52 53 /** 54 * Register a expert mode change listener, and optionnally fires it. 55 * @param listener the listener. Ignored if null. 56 * @param fireWhenAdding if true, the listener will be fired immediately after added 57 */ 53 58 public static synchronized void addExpertModeChangeListener(ExpertModeChangeListener listener, boolean fireWhenAdding) { 54 59 if (listener == null) return; -
trunk/src/org/openstreetmap/josm/gui/dialogs/MenuItemSearchDialog.java
r12643 r13106 120 120 121 121 // CHECKSTYLE.OFF: LineLength 122 /** Action shortcut (ctrl / space by default */ 122 /** Action shortcut (ctrl / space by default), made public in order to be used from {@code GettingStarted} page. */ 123 123 public static final Shortcut SHORTCUT = Shortcut.registerShortcut("help:search-items", "Search menu items", KeyEvent.VK_SPACE, Shortcut.CTRL); 124 124 // CHECKSTYLE.ON: LineLength
Note:
See TracChangeset
for help on using the changeset viewer.