Changeset 31334 in osm for applications/editors/josm/plugins/mapillary
- Timestamp:
- 2015-07-02T21:43:31+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryFilterDialog.java
r31328 r31334 34 34 * 35 35 * @author nokutu 36 * @see MapillaryFilterChooseSigns 36 37 * 37 38 */ … … 63 64 .getInstance(); 64 65 66 /** The list of sign names */ 65 67 private final String[] SIGN_TAGS = { "prohibitory_speed_limit", 66 68 "priority_stop", "other_give_way", "mandatory_roundabout", … … 71 73 "danger_pedestrian_crossing", "prohibitory_no_u_turn", 72 74 "prohibitory_noturn" }; 75 /** The the {@link JCheckBox} where the respective tag should be searched */ 73 76 private final JCheckBox[] SIGN_CHECKBOXES = { signFilter.maxspeed, 74 77 signFilter.stop, signFilter.giveWay, signFilter.roundabout, … … 134 137 } 135 138 139 /** 140 * Resets the dialog to its default state. 141 */ 136 142 public void reset() { 137 143 imported.setSelected(true); … … 144 150 } 145 151 152 /** 153 * Applies the selected filter. 154 */ 146 155 public synchronized void refresh() { 147 156 boolean imported = this.imported.isSelected(); … … 202 211 } 203 212 213 /** 214 * Checks if the image fulfills the sign conditions. 215 * 216 * @param img 217 * The {@link MapillaryAbstractImage} object that is going to be 218 * checked. 219 * @return {@code true} if it fulfills the conditions; {@code false} 220 * otherwise. 221 */ 204 222 private boolean checkSigns(MapillaryImage img) { 205 223 for (int i = 0; i < SIGN_TAGS.length; i++) { -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryHistoryDialog.java
r31331 r31334 31 31 32 32 /** 33 * Toggle dialog that shows you the latest commandsdone and allows the user to33 * Toggle dialog that shows you the latest {@link MapillaryCommand} done and allows the user to 34 34 * revert them. 35 35 * 36 36 * @see MapillaryRecord 37 * @see MapillaryCommand 37 38 * @author nokutu 38 39 * -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryImageDisplay.java
r31333 r31334 478 478 } 479 479 480 /** 481 * Zooms to 1:1 and, if it is already in 1:1, to best fit. 482 */ 480 483 public void zoomBestFitOrOne() { 481 484 Image image; -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryMainDialog.java
r31333 r31334 214 214 } 215 215 216 /** 217 * Updates the title of the dialog. 218 */ 216 219 public synchronized void updateTitle() { 217 220 if (!SwingUtilities.isEventDispatchThread()) {
Note:
See TracChangeset
for help on using the changeset viewer.