Changeset 3385 in josm for trunk/src/org/openstreetmap/josm/gui/oauth
- Timestamp:
- 2010-07-25T16:00:01+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r3121 r3385 52 52 * This wizard walks the user to the necessary steps to retrieve an OAuth Access Token which 53 53 * allows JOSM to access the OSM API on the users behalf. 54 * 54 * 55 55 */ 56 56 public class OAuthAuthorizationWizard extends JDialog { … … 70 70 /** 71 71 * Builds the row with the action buttons 72 * 72 * 73 73 * @return 74 74 */ … … 90 90 /** 91 91 * Builds the panel with general information in the header 92 * 92 * 93 93 * @return 94 94 */ … … 207 207 /** 208 208 * Creates the wizard. 209 * 209 * 210 210 * @param apiUrl the API URL. Must not be null. 211 211 * @throws IllegalArgumentException thrown if apiUrl is null … … 220 220 /** 221 221 * Creates the wizard. 222 * 222 * 223 223 * @param parent the component relative to which the dialog is displayed 224 224 * @param apiUrl the API URL. Must not be null. … … 235 235 * Sets the API URL for the API for which this wizard is generating 236 236 * an Access Token. 237 * 237 * 238 238 * @param apiUrl the API URL. Must not be null. 239 239 * @throws IllegalArgumentException thrown if apiUrl is null … … 256 256 /** 257 257 * Replies true if the dialog was cancelled 258 * 258 * 259 259 * @return true if the dialog was cancelled 260 260 */ … … 274 274 /** 275 275 * Replies the Access Token entered using the wizard 276 * 276 * 277 277 * @return the access token. May be null if the wizard was canceled. 278 278 */ … … 283 283 /** 284 284 * Replies the current OAuth parameters. 285 * 285 * 286 286 * @return the current OAuth parameters. 287 287 */ … … 293 293 * Replies true if the currently selected Access Token shall be saved to 294 294 * the preferences. 295 * 295 * 296 296 * @return true if the currently selected Access Token shall be saved to 297 297 * the preferences … … 303 303 /** 304 304 * Initializes the dialog with values from the preferences 305 * 305 * 306 306 */ 307 307 public void initFromPreferences() { … … 389 389 } 390 390 391 class ExternalBrowserLauncher implements HyperlinkListener {391 static class ExternalBrowserLauncher implements HyperlinkListener { 392 392 public void hyperlinkUpdate(HyperlinkEvent e) { 393 393 if (e.getEventType().equals(HyperlinkEvent.EventType.ACTIVATED)) {
Note:
See TracChangeset
for help on using the changeset viewer.