Changeset 27863 in osm for applications/editors/josm/plugins/lakewalker/src/org
- Timestamp:
- 2012-02-18T18:03:10+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerPreferences.java
r19624 r27863 11 11 12 12 import org.openstreetmap.josm.Main; 13 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 13 import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting; 14 14 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 15 15 import org.openstreetmap.josm.tools.GBC; 16 16 import org.openstreetmap.josm.tools.I18n; 17 17 18 public class LakewalkerPreferences implementsPreferenceSetting {18 public class LakewalkerPreferences extends DefaultTabPreferenceSetting { 19 19 public static final String[] DIRECTIONS = new String[] 20 20 {marktr("east"), marktr("northeast"), marktr("north"), marktr("northwest"), … … 68 68 protected JLabel sourceLabel = new JLabel(tr("Source text")); 69 69 70 public LakewalkerPreferences() { 71 super("lakewalker.png", I18n.tr("Lakewalker Plugin Preferences"), tr("A plugin to trace water bodies on Landsat imagery.")); 72 } 73 70 74 public void addGui(PreferenceTabbedPane gui) { 71 75 maxSegsConfig.setToolTipText(tr("Maximum number of segments allowed in each generated way. Default 250.")); … … 85 89 86 90 String description = tr("A plugin to trace water bodies on Landsat imagery."); 87 JPanel prefPanel = gui.createPreferenceTab( "lakewalker.png", I18n.tr("Lakewalker Plugin Preferences"), description);91 JPanel prefPanel = gui.createPreferenceTab(this); 88 92 buildPreferences(prefPanel); 89 93
Note:
See TracChangeset
for help on using the changeset viewer.