Changeset 6889 in josm for trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java
- Timestamp:
- 2014-02-27T01:41:49+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java
r6885 r6889 43 43 public class CredentialDialog extends JDialog { 44 44 45 static public CredentialDialog getOsmApiCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) {45 public static CredentialDialog getOsmApiCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) { 46 46 CredentialDialog dialog = new CredentialDialog(saveUsernameAndPasswordCheckboxText); 47 47 if (Utils.equal(OsmApi.getOsmApi().getHost(), host)) { … … 54 54 } 55 55 56 static public CredentialDialog getHttpProxyCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) {56 public static CredentialDialog getHttpProxyCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) { 57 57 CredentialDialog dialog = new CredentialDialog(saveUsernameAndPasswordCheckboxText); 58 58 dialog.prepareForProxyCredentials(username, password); … … 320 320 } 321 321 322 static privateclass SelectAllOnFocusHandler extends FocusAdapter {322 private static class SelectAllOnFocusHandler extends FocusAdapter { 323 323 @Override 324 324 public void focusGained(FocusEvent e) { … … 337 337 * If both text fields contain characters, submits the form by calling owner's {@link OKAction}. 338 338 */ 339 static privateclass TFKeyListener implements KeyListener{339 private static class TFKeyListener implements KeyListener{ 340 340 protected CredentialDialog owner; // owner Dependency Injection to call OKAction 341 341 protected JTextField currentTF;
Note:
See TracChangeset
for help on using the changeset viewer.