Changeset 12581 in josm for trunk/src/org
- Timestamp:
- 2017-08-08T15:13:27+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CloseChangesetAction.java
r10938 r12581 30 30 import org.xml.sax.SAXException; 31 31 32 /** 33 * User action to close open changesets. 34 * 35 * The list of open changesets will be downloaded from the server and presented 36 * to the user. 37 */ 32 38 public class CloseChangesetAction extends JosmAction { 33 39 -
trunk/src/org/openstreetmap/josm/actions/CopyCoordinatesAction.java
r12314 r12581 15 15 import org.openstreetmap.josm.tools.Shortcut; 16 16 17 /** 18 * User action to copy the coordinates of one or several node(s) to the clipboard. 19 */ 17 20 public class CopyCoordinatesAction extends JosmAction { 18 21 -
trunk/src/org/openstreetmap/josm/actions/PreferenceToggleAction.java
r10874 r12581 9 9 import org.openstreetmap.josm.data.preferences.BooleanProperty; 10 10 11 /** 12 * User action to toggle a custom boolean preference value. 13 * 14 * A user action will just change a preference value. To take any real action, 15 * register another {@link PreferenceChangedListener} for the given preference key. 16 */ 11 17 public class PreferenceToggleAction extends JosmAction implements PreferenceChangedListener { 12 18 … … 14 20 private final BooleanProperty pref; 15 21 22 /** 23 * Create a new PreferenceToggleAction. 24 * @param name the (translated) title 25 * @param tooltip tooltip text 26 * @param prefKey the preference key to toggle 27 * @param prefDefault default value for the preference entry 28 */ 16 29 public PreferenceToggleAction(String name, String tooltip, String prefKey, boolean prefDefault) { 17 30 super(name, null, tooltip, null, false); -
trunk/src/org/openstreetmap/josm/actions/SelectAllAction.java
r10711 r12581 12 12 import org.openstreetmap.josm.tools.Shortcut; 13 13 14 /** 15 * User action to select all primitives in the current dataset. 16 */ 14 17 public class SelectAllAction extends JosmAction { 15 18 -
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r12279 r12581 44 44 45 45 /** 46 * Opens a dialog with useful status information like version numbers for Java, JOSM and plugins 47 * Also includes preferences with stripped username and password. 48 * 46 49 * @author xeen 47 *48 * Opens a dialog with useful status information like version numbers for Java, JOSM and plugins49 * Also includes preferences with stripped username and password50 50 */ 51 51 public final class ShowStatusReportAction extends JosmAction { -
trunk/src/org/openstreetmap/josm/actions/UnselectAllAction.java
r10382 r12581 10 10 import org.openstreetmap.josm.tools.Shortcut; 11 11 12 /** 13 * User action to clear the current selection. 14 */ 12 15 public class UnselectAllAction extends JosmAction { 13 16 -
trunk/src/org/openstreetmap/josm/actions/UpdateDataAction.java
r11627 r12581 20 20 import org.openstreetmap.josm.tools.Shortcut; 21 21 22 /** 23 * This action synchronizes the dataset with the current state on the server. 24 * 25 * It does so by re-downloading all areas and thereby merging all compatible 26 * changes from the current server version. 27 */ 22 28 public class UpdateDataAction extends JosmAction { 23 29 -
trunk/src/org/openstreetmap/josm/actions/ZoomToAction.java
r12366 r12581 26 26 27 27 /** 28 * An action that zooms to the selected OSM primitive in a table of primitives 28 * An action that zooms to the selected OSM primitive in a table of primitives. 29 29 */ 30 30 public class ZoomToAction extends AbstractAction implements LayerChangeListener, ActiveLayerChangeListener, ListSelectionListener { -
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawSnapHelper.java
r12131 r12581 32 32 import org.openstreetmap.josm.tools.Utils; 33 33 34 /** 35 * Class that enables the user to draw way segments in angles of exactly 30, 45, 36 * 60, 90 degrees. 37 * 38 * With enabled snapping, the new way node will be projected onto the helper line 39 * that indicates a certain fixed angle relative to the previous segment. 40 */ 34 41 class DrawSnapHelper { 35 42 -
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r12517 r12581 52 52 53 53 /** 54 * A special map mode that is optimized for improving way geometry. 55 * (by efficiently moving, adding and deleting way-nodes) 56 * 54 57 * @author Alexander Kachkaev <alexander@kachkaev.ru>, 2011 55 58 */ -
trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
r12517 r12581 53 53 import org.openstreetmap.josm.tools.Shortcut; 54 54 55 //// TODO: (list below) 56 /* == Functionality == 55 /** 56 * MapMode for making parallel ways. 57 * 58 * All calculations are done in projected coordinates. 59 * 60 * TODO: 61 * == Functionality == 57 62 * 58 63 * 1. Use selected nodes as split points for the selected ways. … … 81 86 * Current code doesn't not take into account that ways might been highlighted 82 87 * by other than us. Don't think that situation should ever happen though. 83 */84 85 /**86 * MapMode for making parallel ways.87 *88 * All calculations are done in projected coordinates.89 88 * 90 89 * @author Ole Jørgen Brønner (olejorgenb) -
trunk/src/org/openstreetmap/josm/actions/upload/ApiPreconditionCheckerHook.java
r10463 r12581 20 20 import org.openstreetmap.josm.io.OsmTransferCanceledException; 21 21 22 /** 23 * Checks certain basic conditions, that are listed in the OSM API 24 * {@link org.openstreetmap.josm.io.Capabilities}. 25 */ 22 26 public class ApiPreconditionCheckerHook implements UploadHook { 23 27 -
trunk/src/org/openstreetmap/josm/actions/upload/UploadHook.java
r10600 r12581 4 4 import org.openstreetmap.josm.data.APIDataSet; 5 5 6 /** 7 * A check right before the upload. The UploadHook may modify the uploaded data 8 * silently, it may display a warning message to the user or prevent the upload 9 * altogether. 10 */ 6 11 @FunctionalInterface 7 12 public interface UploadHook { -
trunk/src/org/openstreetmap/josm/command/ScaleCommand.java
r10663 r12581 11 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 12 12 13 /** 14 * Command, to scale a given set of primitives. 15 * The relative distance of the nodes will be increased/decreased. 16 */ 13 17 public class ScaleCommand extends TransformNodesCommand { 14 18 /**
Note:
See TracChangeset
for help on using the changeset viewer.