Changeset 29500 in osm for applications/editors/josm
- Timestamp:
- 2013-04-14T19:00:55+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ColumbusCSV/src/org/openstreetmap/josm/plugins/columbusCSV/ColumbusCSVPreferences.java
r28041 r29500 20 20 21 21 import org.openstreetmap.josm.Main; 22 import org.openstreetmap.josm.gui.preferences.PreferenceDialog; 23 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 22 import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting; 24 23 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 25 24 … … 28 27 * @author Oliver Wieland <oliver.wieland@online.de> 29 28 */ 30 public class ColumbusCSVPreferences implementsPreferenceSetting {29 public class ColumbusCSVPreferences extends DefaultTabPreferenceSetting { 31 30 public static final String PREFIX = "columbuscsv."; 32 31 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPlugin.java
r28624 r29500 64 64 @Override 65 65 public PreferenceSetting getPreferenceSetting() { 66 // TODO Auto-generated method stub67 66 return getPreferences(); 68 67 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPreferences.java
r27872 r29500 14 14 package org.openstreetmap.josm.plugins.fixAddresses; 15 15 16 import static org.openstreetmap.josm.tools.I18n.tr; 17 16 18 import javax.swing.ButtonGroup; 17 19 import javax.swing.JCheckBox; 18 20 19 21 import org.openstreetmap.josm.Main; 22 import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting; 20 23 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 21 24 import org.openstreetmap.josm.gui.preferences.PreferenceSettingFactory; 22 25 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 23 import static org.openstreetmap.josm.tools.I18n.tr;24 26 25 public class FixAddressesPreferences implementsPreferenceSetting {27 public class FixAddressesPreferences extends DefaultTabPreferenceSetting { 26 28 private static final String FIX_ADDRESSES_IGNORE_POST_CODE_KEY = "fixAddresses.ignorePostCode"; 27 29 private static final String FIX_ADDRESSES_SELECT_GUESSED_OBJECTS_KEY = "fixAddresses.selectGuessedObjects"; … … 51 53 */ 52 54 private void loadFromPrefs() { 53 @SuppressWarnings("unused")54 boolean test = Main.pref.getBoolean(FIX_ADDRESSES_IGNORE_POST_CODE_KEY, false);55 55 setSelectGuessedObjects(Main.pref.getBoolean(FIX_ADDRESSES_SELECT_GUESSED_OBJECTS_KEY, false)); 56 56 setIgnorePostCode(Main.pref.getBoolean(FIX_ADDRESSES_IGNORE_POST_CODE_KEY, false)); … … 82 82 public boolean ok() { 83 83 saveToPrefs(); 84 return true; 84 loadFromPrefs(); 85 return false; 85 86 } 86 87 … … 117 118 cbIgnorePostCode.setSelected(ignorePostCode); 118 119 } 119 120 @Override121 public boolean isExpert() {122 return false;123 }124 125 126 120 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixUnresolvedStreetsAction.java
r27852 r29500 4 4 5 5 import java.awt.event.ActionEvent; 6 import java.awt.event.InputEvent;7 6 import java.awt.event.KeyEvent; 8 7 import java.util.Collection; -
applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/XmlBoundsPreferenceSetting.java
r27863 r29500 18 18 import javax.swing.JButton; 19 19 20 import org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference; 21 import org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.ImageryProvidersPanel; 20 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 22 21 import org.openstreetmap.josm.gui.preferences.SubPreferenceSetting; 23 22 import org.openstreetmap.josm.gui.preferences.TabPreferenceSetting; 24 import org.openstreetmap.josm.gui.preferences. PreferenceTabbedPane;23 import org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.ImageryProvidersPanel; 25 24 import org.openstreetmap.josm.plugins.imageryxmlbounds.actions.EditEntriesAction; 26 25
Note:
See TracChangeset
for help on using the changeset viewer.