Changeset 32575 in osm for applications/editors
- Timestamp:
- 2016-07-05T14:48:50+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/MapillaryUtils.java
r32383 r32575 286 286 } else if (MapillaryLayer.getInstance().getData().size() > 0) { 287 287 ret.append(tr("Total Mapillary images: {0}", MapillaryLayer.getInstance().getData().size())); 288 } else if (PluginState.isSubmittingChangeset()) { 289 ret.append(tr("Submitting Mapillary Changeset")); 288 290 } else { 289 291 ret.append(tr("No images found")); -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/PluginState.java
r32378 r32575 16 16 */ 17 17 public final class PluginState { 18 19 private static boolean submittingChangeset; 18 20 19 21 private static int runningDownloads; … … 54 56 55 57 /** 58 * Checks if there is a changeset being submitted. 59 * 60 * @return true if the plugin is submitting a changeset false otherwise. 61 */ 62 public static boolean isSubmittingChangeset() { 63 return submittingChangeset; 64 } 65 /** 56 66 * Checks if there is any running upload. 57 67 * … … 109 119 } 110 120 } 121 public static void notLoggedInToMapillaryDialog() { 122 if (Main.main == null) { 123 return; 124 } 125 JOptionPane.showMessageDialog( 126 Main.parent, 127 tr("You are not logged in, please log in to Mapillary in the preferences"), 128 tr("Not Logged in to Mapillary"), 129 JOptionPane.WARNING_MESSAGE 130 ); 131 } 132 133 111 134 112 135 /** … … 118 141 return tr("Uploading: {0}", "(" + imagesUploaded + "/" + imagesToUpload + ")"); 119 142 } 143 144 public static void setSubmittingChangeset(boolean isSubmitting) { 145 submittingChangeset = isSubmitting; 146 } 120 147 }
Note:
See TracChangeset
for help on using the changeset viewer.