Changeset 17160 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java
- Timestamp:
- 2020-10-11T11:23:04+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java
r12931 r17160 16 16 import javax.swing.JPanel; 17 17 import javax.swing.JRadioButton; 18 import javax.swing.JSeparator;19 18 20 19 import org.openstreetmap.josm.data.oauth.OAuthAccessTokenHolder; … … 42 41 /** the panel for the OAuth authentication parameters */ 43 42 private OAuthAuthenticationPreferencesPanel pnlOAuthPreferences; 44 /** the panel for messages notifier preferences */45 private FeaturesPanel pnlFeaturesPreferences;46 43 47 44 /** … … 102 99 rbBasicAuthentication.setSelected(true); 103 100 pnlAuthenticationParameteters.add(pnlBasicAuthPreferences, BorderLayout.CENTER); 104 105 gc.gridy = 2;106 add(new JSeparator(), gc);107 108 //-- the panel for API feature preferences109 gc.gridy = 3;110 gc.fill = GridBagConstraints.NONE;111 pnlFeaturesPreferences = new FeaturesPanel();112 add(pnlFeaturesPreferences, gc);113 101 } 114 102 … … 129 117 pnlBasicAuthPreferences.initFromPreferences(); 130 118 pnlOAuthPreferences.initFromPreferences(); 131 pnlFeaturesPreferences.initFromPreferences();132 119 } 133 120 … … 155 142 pnlOAuthPreferences.saveToPreferences(); 156 143 } 157 // save message notifications preferences. To be done after authentication preferences.158 pnlFeaturesPreferences.saveToPreferences();159 144 } 160 145
Note:
See TracChangeset
for help on using the changeset viewer.
