Changeset 36492 in osm for applications/editors/josm/plugins/surveyor/src/org/openstreetmap
- Timestamp:
- 2026-02-16T13:56:08+01:00 (6 months ago)
- Location:
- applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor
- Files:
-
- 12 edited
-
AutoSaveGpsLayerTimerTask.java (modified) (1 diff)
-
ButtonDescription.java (modified) (4 diffs)
-
MetaAction.java (modified) (1 diff)
-
SurveyorShowAction.java (modified) (2 diffs)
-
action/AbstractSurveyorAction.java (modified) (1 diff)
-
action/BeepAction.java (modified) (1 diff)
-
action/ConsolePrinterAction.java (modified) (1 diff)
-
action/SystemExecuteAction.java (modified) (1 diff)
-
action/TaggingPresetAction.java (modified) (1 diff)
-
action/gui/DialogClosingThread.java (modified) (1 diff)
-
action/gui/WaypointDialog.java (modified) (1 diff)
-
util/LayerUtil.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/AutoSaveGpsLayerTimerTask.java
r34591 r36492 36 36 * Constructor using the file to write to and the name of the layer. 37 37 * @param filename the file to write to. 38 * @param gpsLayername the name of the layer holding the gps data.38 * @param layerName the name of the layer holding the gps data. 39 39 */ 40 40 public AutoSaveGpsLayerTimerTask(String filename, String layerName) { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/ButtonDescription.java
r35262 r36492 48 48 49 49 /** 50 * @param actions a list of actions to be performed. 50 * @param label label of the button 51 * @param hotkey Hotkey for the button action 52 * @param iconName name of the icon to display 53 * @param buttonAction the actions to be performed. 51 54 * @param type if <code>null</code> {@link ButtonType#SINGLE} is used. 52 55 */ … … 56 59 57 60 /** 58 * @param actions a list of actions to be performed. 61 * @param label label of the button 62 * @param hotkey Hotkey for the button action 63 * @param iconName name of the icon to display 64 * @param actionDescription the action to be performed. 59 65 * @param type if <code>null</code> {@link ButtonType#SINGLE} is used. 60 66 */ … … 65 71 /** 66 72 * Helper method to create a list from one element. 67 * @param buttonActionClassNamethe action's class name.73 * @param actionDescription the action's class name. 68 74 * @return a list holding one ButtonActionDescription element. 69 75 */ … … 75 81 76 82 /** 83 * @param label label of the button 84 * @param hotkey Hotkey for the button action 85 * @param iconName name of the icon to display 77 86 * @param actions a list of actions to be performed. 78 87 * @param type if <code>null</code> {@link ButtonType#SINGLE} is used. -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/MetaAction.java
r34591 r36492 67 67 // toggle on/off 68 68 Boolean selected = (Boolean) getValue(ActionConstants.SELECTED_KEY); 69 if (selected == null || selected == Boolean.FALSE) {70 selected = Boolean.TRUE;69 if (selected == null || selected == false) { 70 selected = true; 71 71 } else { 72 selected = Boolean.FALSE;72 selected = false; 73 73 } 74 74 putValue(ActionConstants.SELECTED_KEY, selected); -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/SurveyorShowAction.java
r35583 r36492 33 33 34 34 /** 35 * Show Surveyor menu 35 36 * @author cdaller 36 *37 37 */ 38 38 public class SurveyorShowAction extends JosmAction { … … 77 77 public void actionPerformed(ActionEvent e) { 78 78 if (MainApplication.getMap() != null && MainApplication.getMap().mapView != null) { 79 MainApplication.getMap().mapView.zoomToFactor( 1/2);79 MainApplication.getMap().mapView.zoomToFactor(0.5); 80 80 } 81 81 } -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/AbstractSurveyorAction.java
r34591 r36492 7 7 8 8 /** 9 * Abstract base action 9 10 * @author cdaller 10 *11 11 */ 12 12 public abstract class AbstractSurveyorAction implements SurveyorAction { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/BeepAction.java
r34591 r36492 11 11 12 12 /** 13 * Action to issue a Beep 13 14 * @author cdaller 14 *15 15 */ 16 16 public class BeepAction implements SurveyorAction { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/ConsolePrinterAction.java
r34591 r36492 6 6 7 7 /** 8 * Action to print coordinates to standard output 8 9 * @author cdaller 9 *10 10 */ 11 11 public class ConsolePrinterAction extends AbstractSurveyorAction { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/SystemExecuteAction.java
r34591 r36492 12 12 13 13 /** 14 * Action class to execute GPS system command 14 15 * @author cdaller 15 *16 16 */ 17 17 public class SystemExecuteAction extends AbstractSurveyorAction { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/TaggingPresetAction.java
r34591 r36492 13 13 14 14 /** 15 * Tagging action 15 16 * @author cdaller 16 *17 17 */ 18 18 public class TaggingPresetAction implements SurveyorAction { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/gui/DialogClosingThread.java
r34591 r36492 15 15 16 16 /** 17 * Thread for dialog closing 17 18 * @author cdaller 18 *19 19 */ 20 20 public class DialogClosingThread extends Thread implements KeyListener, DocumentListener { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/gui/WaypointDialog.java
r35253 r36492 8 8 9 9 /** 10 * Dialog for waypoints 10 11 * @author cdaller 11 *12 12 */ 13 13 public class WaypointDialog { -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/util/LayerUtil.java
r34591 r36492 6 6 7 7 /** 8 * Utility class for layer handling 8 9 * @author cdaller 9 *10 10 */ 11 11 public final class LayerUtil {
Note:
See TracChangeset
for help on using the changeset viewer.
