Changeset 11978 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-04-22T21:14:24+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/MoveAction.java
r10409 r11978 28 28 public class MoveAction extends JosmAction { 29 29 30 public enum Direction { UP, LEFT, RIGHT, DOWN } 30 /** 31 * Move direction. 32 */ 33 public enum Direction { 34 /** Move up */ 35 UP, 36 /** Move left */ 37 LEFT, 38 /** Move right */ 39 RIGHT, 40 /** Move down */ 41 DOWN 42 } 31 43 32 44 private final Direction myDirection; -
trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
r11921 r11978 495 495 } 496 496 497 privateenum Direction {497 enum Direction { 498 498 RIGHT, UP, LEFT, DOWN; 499 499 public Direction changeBy(int directionChange) { -
trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
r11713 r11978 60 60 private boolean drawTargetHighlight; 61 61 62 privateenum DeleteMode {62 enum DeleteMode { 63 63 none(/* ICON(cursor/modifier/) */ "delete"), 64 64 segment(/* ICON(cursor/modifier/) */ "delete_segment"), … … 75 75 } 76 76 77 /** 78 * Returns the mode cursor. 79 * @return the mode cursor 80 */ 77 81 public Cursor cursor() { 78 82 return c; -
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r11913 r11978 59 59 private static final String CROSSHAIR = "crosshair"; 60 60 61 privateenum State {61 enum State { 62 62 SELECTING, IMPROVING 63 63 } -
trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
r11713 r11978 120 120 // @formatter:on 121 121 122 privateenum Mode {122 enum Mode { 123 123 DRAGGING, NORMAL 124 124 } … … 615 615 } 616 616 617 privateenum Modifier {617 enum Modifier { 618 618 CTRL('c'), 619 619 ALT('a'), -
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r11913 r11978 86 86 87 87 // contains all possible cases the cursor can be in the SelectAction 88 privateenum SelectActionCursor {88 enum SelectActionCursor { 89 89 90 90 rect(NORMAL, "selection"), … … 114 114 } 115 115 116 /** 117 * Returns the action cursor. 118 * @return the cursor 119 */ 116 120 public Cursor cursor() { 117 121 return c; -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r11464 r11978 67 67 private static final String SEARCH_EXPRESSION = "searchExpression"; 68 68 69 /** 70 * Search mode. 71 */ 69 72 public enum SearchMode { 70 73 /** replace selection */ -
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r11613 r11978 746 746 public static class ExactKeyValue extends TaggedMatch { 747 747 748 privateenum Mode {748 enum Mode { 749 749 ANY, ANY_KEY, ANY_VALUE, EXACT, NONE, MISSING_KEY, 750 750 ANY_KEY_REGEXP, ANY_VALUE_REGEXP, EXACT_REGEXP, MISSING_KEY_REGEXP; … … 757 757 private final Mode mode; 758 758 759 /** 760 * Constructs a new {@code ExactKeyValue}. 761 * @param regexp regular expression 762 * @param key key 763 * @param value value 764 * @throws ParseError if a parse error occurs 765 */ 759 766 public ExactKeyValue(boolean regexp, String key, String value) throws ParseError { 760 767 if ("".equals(key))
Note:
See TracChangeset
for help on using the changeset viewer.