Changeset 4969 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-02-17T22:30:34+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/preferences
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java
r4880 r4969 43 43 import org.openstreetmap.josm.data.Preferences.StringSetting; 44 44 import org.openstreetmap.josm.gui.ExtendedDialog; 45 import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting; 45 46 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 46 47 import org.openstreetmap.josm.gui.preferences.PreferenceSettingFactory; … … 50 51 import org.openstreetmap.josm.tools.Utils; 51 52 52 public class AdvancedPreference implementsPreferenceSetting {53 public class AdvancedPreference extends DefaultTabPreferenceSetting { 53 54 54 55 public static class Factory implements PreferenceSettingFactory { … … 56 57 return new AdvancedPreference(); 57 58 } 59 } 60 61 private AdvancedPreference() { 62 super("advanced", tr("Advanced Preferences"), tr("Setting Preference entries directly. Use with caution!")); 63 } 64 65 @Override 66 public boolean isExpert() { 67 return true; 58 68 } 59 69 … … 118 128 119 129 public void addGui(final PreferenceTabbedPane gui) { 120 JPanel p = gui.createPreferenceTab("advanced", tr("Advanced Preferences"), 121 tr("Setting Preference entries directly. Use with caution!"), false, true); 130 JPanel p = gui.createPreferenceTab(this); 122 131 123 132 txtFilter = new JTextField();
Note:
See TracChangeset
for help on using the changeset viewer.